java.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by eritpchy
, 1 year ago
Class ref in pre-verified class resolved to unexpected implementation
java.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation
at cn.gov.hsxxxx.app.MyApplication.onCreate(MyApplication.java:45)
at com.antfortune.freeline.FreelineApplication.startRealApplication(FreelineApplication.java:44)
at com.antfortune.freeline.FreelineApplication.onCreate(FreelineApplication.java:31)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1024)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4372)
at android.app.ActivityThread.access$1500(ActivityThread.java:135)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5045)
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:779)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.