作者:CCTV知府影 | 来源:互联网 | 2023-09-04 05:56
Appcrashesonlaunch.
App crashes on launch.
1 2 3 4 5 6
| java.lang.IllegalAccessError: Illegal class access: 'okhttp3.internal.http.RequestLine' attempting to access 'io.fabric.sdk.android.services.common.ExecutorUtils$1' (declaration of 'okhttp3.internal.http.RequestLine' appears in /data/app/com.packageName-1/base.apk)
at okhttp3.internal.http.RequestLine.getNamedThreadFactory(streamModelLoader:68)
at com.crashlytics.android.core.CrashlyticsCore.(transition:42)
at com.crashlytics.android.core.CrashlyticsCore.(transition:200)
at com.crashlytics.android.Crashlytics.(treeUri:29)
|
Decompiling redexed apk does not have
1
| io.fabric.sdk.android.services.common.ExecutorUtils.class |
where as in default one has
Minimal project to try.
Redex.zip
decompiled-jars.zip
run
Find 2 apks in root dir.
- app-debug.apk
- app-redex-signed.apk
该提问来源于开源项目:facebook/redex
The --keep option is one workaround (and StaticRelo should support it), but there's another fundamental issue with StaticRelo in that it doesn't fix up visibility when it moves methods. I've patched this bug and 's test APK works with my patch. I'll land the fix as soon as it gets reviewed.