jasonross / Nuwa

Nuwa, pure java implementation, can hotfix your android application.
2.96k stars 574 forks source link

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

Closed nashxk closed 8 years ago

nashxk commented 8 years ago
dalvikvm: Class resolved by unexpected DEX: Lcom/nashxk/MyApplication;(0xa54393b0):0x979f1000 ref [Lcom/nashxk/umeng/Umeng;] Lcom/nashxk/umeng/Umeng;(0xa54393b0):0x97874000
dalvikvm: (Lcom/nashxk/MyApplication; had used a different Lcom/nashxk/umeng/Umeng; during pre-verification)
AndroidRuntime: Shutting down VM
dalvikvm: threadid=1: thread exiting with uncaught exception (group=0xa4b96648)
AndroidRuntime: FATAL EXCEPTION: main
java.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation
   at com.nashxk.MyApplication.onCreate(Unknown Source)
   at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1007)
   at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4444)
   at android.app.ActivityThread.access$1300(ActivityThread.java:141)
   at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1316)
   at android.os.Handler.dispatchMessage(Handler.java:99)
   at android.os.Looper.loop(Looper.java:137)
   at android.app.ActivityThread.main(ActivityThread.java:5103)
   at java.lang.reflect.Method.invokeNative(Native Method)
   at java.lang.reflect.Method.invoke(Method.java:525)
   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737)
   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
   at dalvik.system.NativeStart.main(Native Method)

打正式版的包有了mapping.txt文件,补丁是按照demo那样打的。但是再次进应用的时候出现了这样的问题。