JingMatrix / LSPatch

LSPatch: A non-root Xposed framework extending from LSPosed
GNU General Public License v3.0
256 stars 27 forks source link

[Bug] error with launch Apk #5

Closed Alcatcut closed 3 months ago

Alcatcut commented 3 months ago

Steps to reproduce/复现步骤

  1. Launch patch , Processing /data/user/0/org.lsposed.lspatch/cache/apk/base-398-lspatched.apk -> /data/user/0/org.lsposed.lspatch/cache/apk/base-398-lspatched-398-lspatched.apk , apk path: /data/user/0/org.lsposed.lspatch/cache/apk/base-398-lspatched.apk , Parsing original apk... , Failed to read zip file '/data/user/0/org.lsposed.lspatch/cache/apk/base-398-lspatched.apk'. , java.io.IOException: Failed to read zip file '/data/user/0/org.lsposed.lspatch/cache/apk/base-398-lspatched.apk'. at y4.y.(Unknown Source:223) at y4.t.(Unknown Source:6) at a9.a.a(Unknown Source:325) at h8.b.g(Unknown Source:23) at k7.a.u(Unknown Source:5) at z7.e0.run(Unknown Source:109) at kotlinx.coroutines.internal.e.run(Unknown Source:11) at kotlinx.coroutines.scheduling.i.run(Unknown Source:2) at kotlinx.coroutines.scheduling.a.run(Unknown Source:76) Caused by: java.io.IOException: Cannot read entry 'assets/lspatch/origin.apk' (offset: 1723, size: 127393582) because it overlaps with 'META-INF/androidx.dynamicanimation_dynamicanimation.version' (offset: 11786, size: 96) at y4.y.P(Unknown Source:868) at y4.y.(Unknown Source:155) ... 8 more

Expected behaviour/预期行为

Launch patch , Processing /data/user/0/org.lsposed.lspatch/cache/apk/base-398-lspatched.apk -> /data/user/0/org.lsposed.lspatch/cache/apk/base-398-lspatched-398-lspatched.apk , apk path: /data/user/0/org.lsposed.lspatch/cache/apk/base-398-lspatched.apk , Parsing original apk... , Failed to read zip file '/data/user/0/org.lsposed.lspatch/cache/apk/base-398-lspatched.apk'. , java.io.IOException: Failed to read zip file '/data/user/0/org.lsposed.lspatch/cache/apk/base-398-lspatched.apk'. at y4.y.(Unknown Source:223) at y4.t.(Unknown Source:6) at a9.a.a(Unknown Source:325) at h8.b.g(Unknown Source:23) at k7.a.u(Unknown Source:5) at z7.e0.run(Unknown Source:109) at kotlinx.coroutines.internal.e.run(Unknown Source:11) at kotlinx.coroutines.scheduling.i.run(Unknown Source:2) at kotlinx.coroutines.scheduling.a.run(Unknown Source:76) Caused by: java.io.IOException: Cannot read entry 'assets/lspatch/origin.apk' (offset: 1723, size: 127393582) because it overlaps with 'META-INF/androidx.dynamicanimation_dynamicanimation.version' (offset: 11786, size: 96) at y4.y.P(Unknown Source:868) at y4.y.(Unknown Source:155) ... 8 more

Actual behaviour/实际行为

Errors.. Not working

Xposed Module List/Xposed 模块列表

As in website

LSPatch version/LSPatch 版本

Last version

Android version/Android 版本

Xiaomi hyberOS

Shizuku version/Shizuku 版本

Last version

Version requirement/版本要求

Apk file/Apk 文件

Apk

Logs/日志

```. J # Replace this line with the log / 将此行用日志替换 ```
JingMatrix commented 3 months ago

Don't use LSPatch for APK files that are already patched. Please always patch untouched APKs.