4
回答
仅在Android5.0上运行报错
终于搞明白,存储TCO原来是这样算的>>>   

03-20 15:04:25.326: I/art(18948): Rejecting re-init on previously-failed class java.lang.Class<com.example.MyApplication>

03-20 15:04:25.327: D/AndroidRuntime(18948): Shutting down VM

03-20 15:04:25.329: E/AndroidRuntime(18948): FATAL EXCEPTION: main

03-20 15:04:25.329: E/AndroidRuntime(18948): Process: com.example, PID: 18948

03-20 15:04:25.329: E/AndroidRuntime(18948): java.lang.LinkageError: com.example.MyApplication

03-20 15:04:25.329: E/AndroidRuntime(18948): at dalvik.system.DexFile.defineClassNative(Native Method)

03-20 15:04:25.329: E/AndroidRuntime(18948): at dalvik.system.DexFile.defineClass(DexFile.java:226)

03-20 15:04:25.329: E/AndroidRuntime(18948): at dalvik.system.DexFile.loadClassBinaryName(DexFile.java:219)

03-20 15:04:25.329: E/AndroidRuntime(18948): at dalvik.system.DexPathList.findClass(DexPathList.java:321)

03-20 15:04:25.329: E/AndroidRuntime(18948): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:54)

03-20 15:04:25.329: E/AndroidRuntime(18948): at java.lang.ClassLoader.loadClass(ClassLoader.java:511)

03-20 15:04:25.329: E/AndroidRuntime(18948): at java.lang.ClassLoader.loadClass(ClassLoader.java:469)

03-20 15:04:25.329: E/AndroidRuntime(18948): at android.app.Instrumentation.newApplication(Instrumentation.java:1002)

03-20 15:04:25.329: E/AndroidRuntime(18948): at android.app.LoadedApk.makeApplication(LoadedApk.java:558)

03-20 15:04:25.329: E/AndroidRuntime(18948): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4578)

03-20 15:04:25.329: E/AndroidRuntime(18948): at android.app.ActivityThread.access$1500(ActivityThread.java:148)

03-20 15:04:25.329: E/AndroidRuntime(18948): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1353)

03-20 15:04:25.329: E/AndroidRuntime(18948): at android.os.Handler.dispatchMessage(Handler.java:102)

03-20 15:04:25.329: E/AndroidRuntime(18948): at android.os.Looper.loop(Looper.java:135)

03-20 15:04:25.329: E/AndroidRuntime(18948): at android.app.ActivityThread.main(ActivityThread.java:5312)

03-20 15:04:25.329: E/AndroidRuntime(18948): at java.lang.reflect.Method.invoke(Native Method)

03-20 15:04:25.329: E/AndroidRuntime(18948): at java.lang.reflect.Method.invoke(Method.java:372)

03-20 15:04:25.329: E/AndroidRuntime(18948): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:901)

03-20 15:04:25.329: E/AndroidRuntime(18948): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:696)

<无标签>
举报
tmxk01
发帖于3年前 4回/6K+阅
顶部