Open zedazheng opened 5 years ago
安卓8.0和9.0上都出现了这个问题,5.1和8.2没此问题,同一个patch
项目compileSdkVersion是28
tinkerVersion是1.9.13、tinkerpatchSdkVersion是1.2.11
tinkerpatch使用的是什么版本呢?
On Mon, Jun 17, 2019 at 12:22 AM zedazheng notifications@github.com wrote:
8.0和9.0上都出现了这个问题,5.1和8.2没此问题,同一个patch
项目compileSdkVersion是28
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/TinkerPatch/tinkerpatch-sdk/issues/133?email_source=notifications&email_token=AADO6YR3OL5THDIQBMDIGYDP243R3A5CNFSM4HYS77R2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODX2ISLQ#issuecomment-502565166, or mute the thread https://github.com/notifications/unsubscribe-auth/AADO6YU5SMGUIRP5XOQU6T3P243R3ANCNFSM4HYS77RQ .
java.lang.IllegalAccessError: Method 'void com.b.c.d.c.c.()' is inaccessible to class 'com.b.c.d.c.h' (declaration of 'com.b.c.d.c.h' appears in /data/user/0/com.b.c/tinker/patch-0879c7e8/dex/tinker_classN.apk!classes3.dex)
com.b.c.d.c.h是com.b.c.d.c.c的父类,在com.b.c.d.c.c调用的super()
如果我把这个父类去掉,在其他地方又会报
java.lang.IllegalAccessError: Illegal class access: 'com.b.c.d.e.f.a' attempting to access 'com.b.c.d.e.f.a$12' (declaration of 'com.b.c.d.e.f.a' appears in /data/user/0/com.hongdou.mobile/tinker/patch-3708d44b/dex/tinker_classN.apk)
麻烦看看是什么问题?