-
Notifications
You must be signed in to change notification settings - Fork 352
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Errors on API 27 #76
Comments
I compare the code of both 8.0 and 8.1: http://androidxref.com/8.0.0_r4/xref/art/runtime/mirror/dex_cache.cc#210 It seems that the cached method array is no longer initialized with the helper trampoline. Moreover, the cached method array is of type http://androidxref.com/8.1.0_r33/xref/art/runtime/art_method.h#743 I believe that the change in array type leads to the crash. |
Here's a workaround which might work: if(backupMethod) {// do method backup
if(SDKVersion < ANDROID_O2) { I've tried on x86 emulator and it works. But not yet for x86_64 and ARM devices which I don't have either. |
Thanks! |
This commit 632342d resolves the issue finally. |
As we talked on #74, the unit test fail on API 27.
I've confirmed it on x86 and x86_64 emulators, but I didn't test on any arm/arm64 device.
The text was updated successfully, but these errors were encountered: