我在我的应用程序中随机出现这个异常,而且我只看到各种三星设备(Galaxy Note 2、Galaxy S2)上的崩溃。我的应用程序依赖于几个不同的库项目,并且我已经验证我没有两次包含 jars,等等。我完全不知道为什么会发生这种情况,因为我的 5 个中的任何一个都没有收到它+ 测试设备并收到很少的崩溃报告,但是一些幸运的人无法在没有崩溃的情况下使用该应用程序。
这是几个堆栈跟踪:
java.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation
at com.tvshowfavs.services.api.ServerDataStoreService.onHandleIntent(ServerDataStoreService.java:93)
at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.os.HandlerThread.run(HandlerThread.java:60)
和:
java.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation
at com.tvshowfavs.widget.AppWidgetPreferences.getTabs(AppWidgetPreferences.java:105)
at com.tvshowfavs.widget.AppWidgetConfigurationActivity.onTabsChanged(AppWidgetConfigurationActivity.java:337)
at com.tvshowfavs.widget.AppWidgetConfigurationActivity.onCreate(AppWidgetConfigurationActivity.java:133)
at android.app.Activity.performCreate(Activity.java:4470)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1052)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1931)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1992)
at android.app.ActivityThread.access$600(ActivityThread.java:127)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1158)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4511)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:980)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:747)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:93)
at dalvik.system.NativeStart.main(Native Method)
有人对这些随机崩溃有任何见解吗?