Instrumentation.newApplication时ClassNotFoundException

时间:2017-09-27 06:11:23

标签: android

此问题由GooglePlay控制台报告 它无法在我的测试设备上重现。 (我有超过20种具有各种Android版本的设备) 超过100个用户可能会发生一次。

java.lang.RuntimeException: 
  at android.app.LoadedApk.makeApplication (LoadedApk.java:628)
  at android.app.ActivityThread.handleBindApplication (ActivityThread.java:4964)
  at android.app.ActivityThread.access$1600 (ActivityThread.java:177)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:1491)
  at android.os.Handler.dispatchMessage (Handler.java:102)
  at android.os.Looper.loop (Looper.java:135)
  at android.app.ActivityThread.main (ActivityThread.java:5910)
  at java.lang.reflect.Method.invoke (Native Method)
  at java.lang.reflect.Method.invoke (Method.java:372)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1405)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1200)
Caused by: java.lang.ClassNotFoundException: 
  at dalvik.system.BaseDexClassLoader.findClass (BaseDexClassLoader.java:56)
  at java.lang.ClassLoader.loadClass (ClassLoader.java:511)
  at java.lang.ClassLoader.loadClass (ClassLoader.java:469)
  at android.app.Instrumentation.newApplication (Instrumentation.java:987)
  at android.app.LoadedApk.makeApplication (LoadedApk.java:623)

enter image description here

0 个答案:

没有答案