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

GitHub | neshkeev | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 18#244195190

    GitHub | 6 months ago | neshkeev
    java.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation

    Root Cause Analysis

    1. java.lang.IllegalAccessError

      Class ref in pre-verified class resolved to unexpected implementation

      at com.hanhuy.android.protify.agent.ProtifyApplication.attachBaseContext()
    2. com.hanhuy.android
      ProtifyApplication.attachBaseContext
      1. com.hanhuy.android.protify.agent.ProtifyApplication.attachBaseContext(ProtifyApplication.java:172)
      1 frame
    3. Android Platform
      ActivityThread.main
      1. android.app.Application.attach(Application.java:181)
      2. android.app.Instrumentation.newApplication(Instrumentation.java:991)
      3. android.app.Instrumentation.newApplication(Instrumentation.java:975)
      4. android.app.LoadedApk.makeApplication(LoadedApk.java:511)
      5. android.app.ActivityThread.handleBindApplication(ActivityThread.java:4514)
      6. android.app.ActivityThread.access$1500(ActivityThread.java:151)
      7. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1381)
      8. android.os.Handler.dispatchMessage(Handler.java:110)
      9. android.os.Looper.loop(Looper.java:193)
      10. android.app.ActivityThread.main(ActivityThread.java:5299)
      10 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:515)
      2 frames
    5. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:825)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:641)
      2 frames
    6. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame