alibaba / AndFix

AndFix is a library that offer hot-fix for Android App.
Other
6.97k stars 1.6k forks source link

andfix exception : #348

Open s-tree opened 7 years ago

s-tree commented 7 years ago

java.lang.IllegalAccessError: Method 'void xxx.ui.MainActivity_CF.willJump(xxx.bean.MainTypeBean)' is inaccessible to class 'xxx.ui.MainActivity_CF' (declaration of 'xxx.MainActivity_CF' appears in /data/user/0/xxx/files/apatch/padfix-1_2_0_586-3.apatch) at xxx.ui.MainActivity_CF.onClick(MainActivity.java:429) at android.view.View.performClick(View.java:5204) at android.view.View$PerformClick.run(View.java:21170) at android.os.Handler.handleCallback(Handler.java:743) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:148) at android.app.ActivityThread.main(ActivityThread.java:5417) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:772) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:662)

image

修复代码1

image

修复代码2

image

image

wyouxiong commented 7 years ago

兄弟,这个问题你解决了吗?怎么解决的呢?

s-tree commented 7 years ago

并没有解决,我后来用 Sophix 了。

wyouxiong commented 7 years ago

谢谢

HuskarHuang commented 5 years ago

我也遇到同样问题, image