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

GitHub | jiangchunyu | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    运行报错 Class ref in pre-verified class resolved to unexpected implementation

    GitHub | 7 months ago | jiangchunyu
    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.jcy.smalltest.lib.net.NetUtils.getInfo()
    2. com.jcy.smalltest
      MainActivity.onResume
      1. com.jcy.smalltest.lib.net.NetUtils.getInfo(NetUtils.java:19)
      2. com.jcy.smalltest.app.secound.MainActivity.onResume(MainActivity.java:24)
      2 frames
    3. Android Platform
      ActivityThread.main
      1. android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1192)
      2. android.app.Activity.performResume(Activity.java:5211)
      3. android.app.ActivityThread.performResumeActivity(ActivityThread.java:2780)
      4. android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2819)
      5. android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2266)
      6. android.app.ActivityThread.access$600(ActivityThread.java:141)
      7. android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256)
      8. android.os.Handler.dispatchMessage(Handler.java:99)
      9. android.os.Looper.loop(Looper.java:137)
      10. android.app.ActivityThread.main(ActivityThread.java:5103)
      10 frames
    4. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invokeNative(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:525)
      2 frames
    5. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
      2 frames
    6. Android Platform
      NativeStart.main
      1. dalvik.system.NativeStart.main(Native Method)
      1 frame