Apktool
Apktool copied to clipboard
[BUG] Couldn't Find Library, crash after recompiling without modify
Information
-
Apktool Version (
apktool -version
) - 2.9.3 - Operating System (Mac, Linux, Windows) - Windows
- APK From? (Playstore, ROM, Other) - Playstore extracted apk
-
Java Version (
java --version
) - java 21 2023-09-19 LTS
Stacktrace/Logcat
0001/01/01 00:00:00.000 -1 -1 Info --------- beginning of crash
2024/05/13 10:14:40.285 4850 4850 Error AndroidRuntime FATAL EXCEPTION: main
2024/05/13 10:14:40.285 4850 4850 Error AndroidRuntime Process: com.somecompany, PID: 4850
2024/05/13 10:14:40.285 4850 4850 Error AndroidRuntime java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.somecompany-1/base.apk"],nativeLibraryDirectories=[/data/app/com.somecompany-1/lib/x86, /system/lib, /vendor/lib]]] couldn't find "libpairipcore.so"
2024/05/13 10:14:40.285 4850 4850 Error AndroidRuntime at java.lang.Runtime.loadLibrary0(Runtime.java:984)
2024/05/13 10:14:40.285 4850 4850 Error AndroidRuntime at java.lang.System.loadLibrary(System.java:1562)
2024/05/13 10:14:40.285 4850 4850 Error AndroidRuntime at com.pairip.VMRunner.<clinit>(VMRunner.java:30)
2024/05/13 10:14:40.285 4850 4850 Error AndroidRuntime at com.pairip.VMRunner.invoke(VMRunner.java:49)
2024/05/13 10:14:40.285 4850 4850 Error AndroidRuntime at com.pairip.StartupLauncher.launch(StartupLauncher.java:14)
2024/05/13 10:14:40.285 4850 4850 Error AndroidRuntime at li.l.<clinit>(Hilt_MyApplication.java)
2024/05/13 10:14:40.285 4850 4850 Error AndroidRuntime at java.lang.Class.newInstance(Native Method)
2024/05/13 10:14:40.285 4850 4850 Error AndroidRuntime at android.app.Instrumentation.newApplication(Instrumentation.java:1007)
2024/05/13 10:14:40.285 4850 4850 Error AndroidRuntime at android.app.Instrumentation.newApplication(Instrumentation.java:992)
2024/05/13 10:14:40.285 4850 4850 Error AndroidRuntime at android.app.Instrumentation.newApplication(Native Method)
2024/05/13 10:14:40.285 4850 4850 Error AndroidRuntime at android.app.LoadedApk.makeApplication(LoadedApk.java:796)
2024/05/13 10:14:40.285 4850 4850 Error AndroidRuntime at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5434)
2024/05/13 10:14:40.285 4850 4850 Error AndroidRuntime at android.app.ActivityThread.-wrap2(ActivityThread.java)
2024/05/13 10:14:40.285 4850 4850 Error AndroidRuntime at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1548)
2024/05/13 10:14:40.285 4850 4850 Error AndroidRuntime at android.os.Handler.dispatchMessage(Handler.java:102)
2024/05/13 10:14:40.285 4850 4850 Error AndroidRuntime at android.os.Looper.loop(Looper.java:154)
2024/05/13 10:14:40.285 4850 4850 Error AndroidRuntime at android.app.ActivityThread.main(ActivityThread.java:6176)
2024/05/13 10:14:40.285 4850 4850 Error AndroidRuntime at java.lang.reflect.Method.invoke(Native Method)
2024/05/13 10:14:40.285 4850 4850 Error AndroidRuntime at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:893)
2024/05/13 10:14:40.285 4850 4850 Error AndroidRuntime at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:783)
Steps to Reproduce
- Decompile -r
- Recompile i didn't modify anything, i tried both using APKLab and manual if i decompile without -r ,after recompiled to apk, the apk can't be installed, but if i put -r the apk can be installed but crash immidiately the error as above
APK
https://drive.google.com/file/d/1kzU6LnZDR5eEryeyOQbq1tb3QMPIqRr7/view?usp=sharing
Questions to ask before submission
- Have you tried
apktool d
,apktool b
without changing anything? yes - If you are trying to install a modified apk, did you resign it? yes
- Are you using the latest apktool version? yes