AndFix icon indicating copy to clipboard operation
AndFix copied to clipboard

java.lang.IllegalAccessError: Method 'void Android 5.0 不兼容?

Open javaliquan opened this issue 8 years ago • 6 comments

少部分5.0和5.1机型报错,4.x没有报错,是兼容问题 java.lang.IllegalAccessError: Method 'void com.dwl.uh.ui.activity.usercenter.OrderDetailActivity_CF.getOrderTrackInfo()' is inaccessible to class 'com.dwl.uh.ui.activity.usercenter.OrderDetailActivity_CF' (declaration of 'com.dwl.uh.ui.activity.usercenter.OrderDetailActivity_CF' appears in /data/data/com.dwl.uh/files/apatch/1.5_45_20160303_cancleorderTest_07.apatch) at com.dwl.uh.ui.activity.usercenter.OrderDetailActivity_CF.getOrderDetailSuccess(OrderDetailActivity.java:526) at com.dwl.uh.manager.presenter.OrderDetailPresenter$1.onSuccess(OrderDetailPresenter.java:46) at com.dwl.uh.manager.model.impl.OrderDetailModelImpl$1.onResponse(OrderDetailModelImpl.java:22) at com.dwl.uh.manager.model.impl.OrderDetailModelImpl$1.onResponse(OrderDetailModelImpl.java:1) at com.dwl.uh.net.GsonRequest.deliverResponse(GsonRequest.java:93) at com.android.volley.ExecutorDelivery$ResponseDeliveryRunnable.run(ExecutorDelivery.java:99) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5275) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:910) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:705)

javaliquan avatar Mar 10 '16 02:03 javaliquan

java.lang.IllegalAccessError问题解决了吗?4.4.4版本不崩溃 , 未替换成功 5.1.1版本崩溃

sx1923 avatar Mar 17 '16 06:03 sx1923

没有

javaliquan avatar Mar 22 '16 03:03 javaliquan

同样的问题啊。

Cheney2006 avatar Apr 22 '16 12:04 Cheney2006

6.0替换成功,退出后再进来走一遍流程就会报 method inaccessible ,杀掉进程再进来是好的

jianghao1123 avatar May 06 '16 11:05 jianghao1123

现在有人解决了吗

supermanmwg avatar Jul 29 '16 07:07 supermanmwg

看看这篇文章 http://www.jianshu.com/p/58fc4c2cb65a

miluotao avatar Nov 25 '16 00:11 miluotao