Unable to instantiate application? ClassNotFoundException
博彩导航网站排行榜
博彩导航网站排行榜
当前位置 : 博彩导航网站排行榜 > 网上赌博新址

Unable to instantiate application? ClassNotFoundException

bug收集工具收集到的bug:

01-01 01:47:46.674 30500 30500 D Proxy   : setHttpRequestCheckHandler
01-01 01:47:46.722 30500 30500 D AndroidRuntime: Shutting down VM
01-01 01:47:46.743 30500 30500 E AndroidRuntime: FATAL EXCEPTION: main
01-01 01:47:46.743 30500 30500 E AndroidRuntime: Process: com.xxxxxx.framework, PID: 30500
01-01 01:47:46.743 30500 30500 E AndroidRuntime: java.lang.RuntimeException: Unable to instantiate application com.xxxxxx.framework.app.MyApplication: java.lang.ClassNotFoundException: Didnt find class "com.xxxxxx.framework.app.MyApplication" on path: DexPathList[[zip file "/system/app/xxxxxxFrameWork/xxxxxxFrameWork.apk"],nativeLibraryDirectories=[/system/app/xxxxxxFrameWork/lib/arm, /vendor/lib, /system/lib]]
01-01 01:47:46.743 30500 30500 E AndroidRuntime:     at android.app.LoadedApk.makeApplicationLoadedApk.java:569
01-01 01:47:46.743 30500 30500 E AndroidRuntime:     at android.app.ActivityThread.handleBindApplicationActivityThread.java:4787
01-01 01:47:46.743 30500 30500 E AndroidRuntime:     at android.app.ActivityThread.access$1500ActivityThread.java:180
01-01 01:47:46.743 30500 30500 E AndroidRuntime:     at android.app.ActivityThread$H.handleMessageActivityThread.java:1533
01-01 01:47:46.743 30500 30500 E AndroidRuntime:     at android.os.Handler.dispatchMessageHandler.java:111
01-01 01:47:46.743 30500 30500 E AndroidRuntime:     at android.os.Looper.loopLooper.java:194
01-01 01:47:46.743 30500 30500 E AndroidRuntime:     at android.app.ActivityThread.mainActivityThread.java:5592
01-01 01:47:46.743 30500 30500 E AndroidRuntime:     at java.lang.reflect.Method.invokeNative Method
01-01 01:47:46.743 30500 30500 E AndroidRuntime:     at java.lang.reflect.Method.invokeMethod.java:372
01-01 01:47:46.743 30500 30500 E AndroidRuntime:     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.runZygoteInit.java:959
01-01 01:47:46.743 30500 30500 E AndroidRuntime:     at com.android.internal.os.ZygoteInit.mainZygoteInit.java:754
01-01 01:47:46.743 30500 30500 E AndroidRuntime: Caused by: java.lang.ClassNotFoundException: Didnt find class "com.xxxxxx.framework.app.MyApplication" on path: DexPathList[[zip file "/system/app/xxxxxxFrameWork/xxxxxxFrameWork.apk"],nativeLibraryDirectories=[/system/app/xxxxxxFrameWork/lib/arm, /vendor/lib, /system/lib]]
01-01 01:47:46.743 30500 30500 E AndroidRuntime:     at dalvik.system.BaseDexClassLoader.findClassBaseDexClassLoader.java:56
01-01 01:47:46.743 30500 30500 E AndroidRuntime:     at java.lang.ClassLoader.loadClassClassLoader.java:511
01-01 01:47:46.743 30500 30500 E AndroidRuntime:     at java.lang.ClassLoader.loadClassClassLoader.java:469
01-01 01:47:46.743 30500 30500 E AndroidRuntime:     at android.app.Instrumentation.newApplicationInstrumentation.java:985
01-01 01:47:46.743 30500 30500 E AndroidRuntime:     at android.app.LoadedApk.makeApplicationLoadedApk.java:564
01-01 01:47:46.743 30500 30500 E AndroidRuntime:     ... 10 more
01-01 01:47:46.743 30500 30500 E AndroidRuntime:     Suppressed: java.io.IOException: Failed to open oat file from dex location /system/app/xxxxxxFrameWork/xxxxxxFrameWork.apk
01-01 01:47:46.743 30500 30500 E AndroidRuntime:         at dalvik.system.DexFile.openDexFileNativeNative Method
01-01 01:47:46.743 30500 30500 E AndroidRuntime:         at dalvik.system.DexFile.openDexFileDexFile.java:295
01-01 01:47:46.743 30500 30500 E AndroidRuntime:         at dalvik.system.DexFile.<init>DexFile.java:80
01-01 01:47:46.743 30500 30500 E AndroidRuntime:         at dalvik.system.DexFile.<init>DexFile.java:59
01-01 01:47:46.743 30500 30500 E AndroidRuntime:         at dalvik.system.DexPathList.loadDexFileDexPathList.java:262
01-01 01:47:46.743 30500 30500 E AndroidRuntime:         at dalvik.system.DexPathList.makeDexElementsDexPathList.java:231
01-01 01:47:46.743 30500 30500 E AndroidRuntime:         at dalvik.system.DexPathList.<init>DexPathList.java:109
01-01 01:47:46.743 30500 30500 E AndroidRuntime:         at dalvik.system.BaseDexClassLoader.<init>BaseDexClassLoader.java:48
01-01 01:47:46.743 30500 30500 E AndroidRuntime:         at dalvik.system.PathClassLoader.<init>PathClassLoader.java:65
01-01 01:47:46.743 30500 30500 E AndroidRuntime:         at android.app.ApplicationLoaders.getClassLoaderApplicationLoaders.java:57
01-01 01:47:46.743 30500 30500 E AndroidRuntime:         at android.app.LoadedApk.getClassLoaderLoadedApk.java:366
01-01 01:47:46.743 30500 30500 E AndroidRuntime:         at android.app.LoadedApk.makeApplicationLoadedApk.java:559
01-01 01:47:46.743 30500 30500 E AndroidRuntime:         ... 10 more
01-01 01:47:46.743 30500 30500 E AndroidRuntime:     Caused by: java.io.IOException: Failed to open oat file from /system/app/xxxxxxFrameWork/arm/xxxxxxFrameWork.odex error Failed to open oat filename for reading: No such file or directory no dalvik_cache availible and relocation failed.
01-01 01:47:46.743 30500 30500 E AndroidRuntime:         ... 22 more
01-01 01:47:46.743 30500 30500 E AndroidRuntime:     Caused by: java.io.IOException: 
01-01 01:47:46.743 30500 30500 E AndroidRuntime:         ... 22 more
01-01 01:47:46.743 30500 30500 E AndroidRuntime:     Caused by: java.io.IOException: Failed to remove obsolete file from /data/dalvik-cache/arm/system@app@xxxxxxFrameWork@xxxxxxFrameWork.apk@classes.dex when searching for dex file /system/app/xxxxxxFrameWork/xxxxxxFrameWork.apk: Permission denied
01-01 01:47:46.743 30500 30500 E AndroidRuntime:         ... 22 more
01-01 01:47:46.743 30500 30500 E AndroidRuntime:     Suppressed: java.lang.ClassNotFoundException: com.xxxxxx.framework.app.MyApplication
01-01 01:47:46.743 30500 30500 E AndroidRuntime:         at java.lang.Class.classForNameNative Method
01-01 01:47:46.743 30500 30500 E AndroidRuntime:         at java.lang.BootClassLoader.findClassClassLoader.java:781
01-01 01:47:46.743 30500 30500 E AndroidRuntime:         at java.lang.BootClassLoader.loadClassClassLoader.java:841
01-01 01:47:46.743 30500 30500 E AndroidRuntime:         at java.lang.ClassLoader.loadClassClassLoader.java:504
01-01 01:47:46.743 30500 30500 E AndroidRuntime:         ... 13 more
01-01 01:47:46.743 30500 30500 E AndroidRuntime:     Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available
01-01 01:47:46.816 30500 30500 I Process : Sending signal. PID: 30500 SIG: 9

我也遇到了相同的问题,关闭odex优化就可以了,但是为什么会这样呀,有谁知道吗?

栏目列表

广告位

博彩导航网站排行榜