Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android8.0打开闪退 #13

Closed
YsielX opened this issue Sep 2, 2022 · 4 comments
Closed

Android8.0打开闪退 #13

YsielX opened this issue Sep 2, 2022 · 4 comments

Comments

@YsielX
Copy link

YsielX commented Sep 2, 2022

使用avd虚拟机和Android8真机都会闪退,报错如下

Process: com.example.testchouqu, PID: 1668
java.lang.RuntimeException: Unable to instantiate application com.luoyesiqiu.shell.ProxyApplication: java.lang.ClassNotFoundException: Didn't find class "com.luoyesiqiu.shell.ProxyApplication" on path: DexPathList[[zip file "/data/app/com.example.testchouqu-anuw1TT7ruMqFk3nnLJhbg==/base.apk"],nativeLibraryDirectories=[/data/app/com.example.testchouqu-anuw1TT7ruMqFk3nnLJhbg==/lib/arm64, /data/app/com.example.testchouqu-anuw1TT7ruMqFk3nnLJhbg==/base.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64, /product/lib64, /preas/lib64]]
	at android.app.LoadedApk.makeApplication(LoadedApk.java:1059)
	at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6590)
	at android.app.ActivityThread.-wrap2(Unknown Source:0)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2066)
	at android.os.Handler.dispatchMessage(Handler.java:108)
	at android.os.Looper.loop(Looper.java:166)
	at android.app.ActivityThread.main(ActivityThread.java:7529)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:245)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:921)
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.luoyesiqiu.shell.ProxyApplication" on path: DexPathList[[zip file "/data/app/com.example.testchouqu-anuw1TT7ruMqFk3nnLJhbg==/base.apk"],nativeLibraryDirectories=[/data/app/com.example.testchouqu-anuw1TT7ruMqFk3nnLJhbg==/lib/arm64, /data/app/com.example.testchouqu-anuw1TT7ruMqFk3nnLJhbg==/base.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64, /product/lib64, /preas/lib64]]
	at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:93)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
	at android.app.Instrumentation.newApplication(Instrumentation.java:1089)
	at android.app.LoadedApk.makeApplication(LoadedApk.java:1053)
	... 9 more
	Suppressed: java.io.IOException: Failed to open dex files from /data/app/com.example.testchouqu-anuw1TT7ruMqFk3nnLJhbg==/base.apk because: Unrecognized version number in /data/app/com.example.testchouqu-anuw1TT7ruMqFk3nnLJhbg==/base.apk: 0 3 9 
		at dalvik.system.DexFile.openDexFileNative(Native Method)
		at dalvik.system.DexFile.openDexFile(DexFile.java:353)
		at dalvik.system.DexFile.<init>(DexFile.java:100)
		at dalvik.system.DexFile.<init>(DexFile.java:74)
		at dalvik.system.DexPathList.loadDexFile(DexPathList.java:374)
		at dalvik.system.DexPathList.makeDexElements(DexPathList.java:337)
		at dalvik.system.DexPathList.<init>(DexPathList.java:157)
		at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:65)
		at dalvik.system.PathClassLoader.<init>(PathClassLoader.java:64)
		at com.android.internal.os.PathClassLoaderFactory.createClassLoader(PathClassLoaderFactory.java:43)
		at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:75)
		at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:38)
		at android.app.LoadedApk.createOrUpdateClassLoaderLocked(LoadedApk.java:719)
		at android.app.LoadedApk.getClassLoader(LoadedApk.java:752)
		at android.app.LoadedApk.getResources(LoadedApk.java:1005)
		at android.app.ContextImpl.createAppContext(ContextImpl.java:2505)
		at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6497)
		... 8 more
Force finishing activity com.example.testchouqu/com.example.nothingcode.MainActivity

还望作者解决或者指点一下!

@luoyesiqiu
Copy link
Owner

是不是二次加固了

@YsielX
Copy link
Author

YsielX commented Sep 3, 2022

并不是,我直接使用该工具加固了一次,放入Android8手机就会闪退

@luoyesiqiu
Copy link
Owner

apk方便发吗

@YsielX
Copy link
Author

YsielX commented Sep 3, 2022

executable.zip
加壳前和加壳后

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants