java.lang.RuntimeException主要由Android 4.4 devies提供

时间:2017-09-15 15:48:02

标签: android crash

偶尔(很少),会报告以下崩溃:

java.lang.RuntimeException: 
  at android.app.LoadedApk.makeApplication (LoadedApk.java:507)
  at android.app.ActivityThread.handleBindApplication (ActivityThread.java:4334)
  at android.app.ActivityThread.access$1500 (ActivityThread.java:138)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1259)
  at android.os.Handler.dispatchMessage (Handler.java:102)
  at android.os.Looper.loop (Looper.java:136)
  at android.app.ActivityThread.main (ActivityThread.java:5034)
  at java.lang.reflect.Method.invokeNative (Native Method)
  at java.lang.reflect.Method.invoke (Method.java:515)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:795)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:611)
  at dalvik.system.NativeStart.main (Native Method)
Caused by: java.lang.IllegalStateException: 
  at android.app.LoadedApk.initializeJavaContextClassLoader (LoadedApk.java:368)
  at android.app.LoadedApk.getClassLoader (LoadedApk.java:321)
  at android.app.LoadedApk.makeApplication (LoadedApk.java:500)

其中约90%来自Android 4.4设备。有人可以提供一个如何防止这种情况的提示吗?

0 个答案:

没有答案