[Bug] Get original signature failed
Steps to reproduce/复现步骤
- First, merge it using APKEditor.jar or other tools
- Transfer merged APK to Android
- Open LSPatch
- Click on "+" button
- Choose "Select apk(s) from storage"
- Leave everything default and click "Start Patch"
Expected behaviour/预期行为
I expect it to work like other APKs
Actual behaviour/实际行为
Failing to get original signature
Xposed Module List/Xposed 模块列表
None
LSPatch version/LSPatch 版本
0.7
Android version/Android 版本
Android 12
Shizuku version/Shizuku 版本
N/A
Version requirement/版本要求
- [x] I am using latest debug CI version of LSPatch and enable verbose log/我正在使用最新 CI 调试版本且启用详细日志
Apk file/Apk 文件
https://apkcombo.com/lost-sword/com.wemadeconnect.aos.lostdgl/
Logs/日志
Launch patch
, Processing /data/user/0/org.lsposed.lspatch/cache/apk/Lost Sword_1.402.1_apkcombo.com.apk -> /data/user/0/org.lsposed.lspatch/cache/apk/Lost Sword_1.402.1_apkcombo.com-434-lspatched.apk
, apk path: /data/user/0/org.lsposed.lspatch/cache/apk/Lost Sword_1.402.1_apkcombo.com.apk
, Parsing original apk...
, Register apk signer with default keystore...
, get original signature failed
, org.lsposed.patch.LSPatch$PatchError: get original signature failed
at org.lsposed.patch.LSPatch.patch(LSPatch.java:215)
at org.lsposed.patch.LSPatch.doCommandLine(LSPatch.java:169)
at org.lsposed.lspatch.Patcher$patch$2.invokeSuspend(Patcher.kt:46)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:104)
at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:111)
at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:99)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:811)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:715)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:702)
This error only happens after using APKEditor, right?
This error only happens after using
APKEditor, right?
Well I have to use APKEditor to merge XAPK to APK since LSPosed does not support XAPK. there is no standalone APK for this game
This error only happens after using
APKEditor, right?Well I have to use APKEditor to merge XAPK to APK since LSPosed does not support XAPK. there is no standalone APK for this game
其實 LSPatch 是支持 xapk 的 你在使用 APKEditor 之後app 的簽名就破壞了,自然無法正常獲取