android-r8 Questions
4
Solved
I recently extracted some code from my Android application project into separate kotlin modules (the build.gradle files declare the "java-library" and "kotlin" plugins).
Now, th...
Thekla asked 24/2, 2021 at 3:5
2
exact error is
ERROR: /Users/REDACT/.gradle/caches/transforms-4/8d2b49e30523efece47d2329e1531ac9/transformed/classes.jar: R8: Type a.a is defined multiple times: /Users/mgh01/.gradle/caches/transfo...
Beanpole asked 26/6 at 8:51
6
I have some error, after updated kotlin version (ext.kotlin_version) to 1.6.10:
com.android.tools.r8.internal.E00: Unexpected type in conversion to primitive: OBJECT
Execution failed for task ':ap...
Retraction asked 15/3, 2022 at 15:14
3
Solved
I recently upgraded the Android Gradle Plugin in my Android app project from version 7.4.2 to 8.0.2. However, I'm now encountering an error during the release build when the minifyReleaseWithR8 tas...
Spinoza asked 13/6, 2023 at 7:5
3
Solved
Crashes in Firebase Crashlytics appear with a note how to fix a problem:
Fatal Exception: java.lang.IllegalStateException: TypeToken must be created with a type argument: new TypeToken<...>()...
Boiardo asked 11/5, 2023 at 7:7
2
I installed the new version of Android Studio and did update of my project (without changing dependencies) and i had this issue:
Missing class com.google.protobuf.java_com_google_android_gmscore_sd...
Agentival asked 20/4, 2023 at 11:8
1
Solved
I have a multi module project setup like this:
app module
presentation module (Android module)
domain module (Kotlin module)
data module (Android module)
The dependency graph
presentation -&g...
Creep asked 21/7 at 6:51
1
I am running a Flutter release build and am getting warnings Proguard configuration rule does not match anything. See below for a full list.
Should this be raised to Flutter GitHub issues or am I d...
Knighterrantry asked 22/10, 2023 at 21:59
9
Solved
I am facing a weird issue in the release build of the app.
Here's my exception
Fatal Exception: java.lang.NullPointerException`
throw with null exception
in.hopq.hopq.authentication.models.AppUpda...
Isoelectronic asked 15/5, 2019 at 5:13
2
Solved
with R8 enabled (isMinifyEnabled = true) and using "com.pusher.pusher-java-client:2.4.4" library I get the following error for release build:
AGPBI: {"kind":"error",&...
Overweary asked 28/4, 2023 at 10:34
3
I have updated all of my project dependencies and I'm getting different Errors of R8.
AGPBI: {"kind":"error","text":"java.lang.NullPointerException","so...
Gyrostatic asked 28/9, 2022 at 11:15
4
I have this code:
val profile: UserProfile = userApi.profile()
@GET("users/profile")
suspend fun profile(): UserProfile
When i run userApi.profile() i get this error:
java.lang.Clas...
Unobtrusive asked 22/6, 2023 at 14:29
1
Solved
I recently upgraded the Android Gradle Plugin in my Android app project from version 7.4.2 to 8.2.2. However, I'm now encountering an error during the release build when the minifyReleaseWithR8 tas...
Included asked 20/2 at 11:0
1
I am getting below error on building the release apk with R8 enabled:
Task :app:minifyReleaseWithR8
AGPBI: {"kind":"warning","text":"Missing classes detected whil...
Hie asked 19/9, 2021 at 9:57
2
Solved
I am having issues with Githubs action runners while trying to compile the release version of my app. My app has 8 different flavors that we build and provide on the play store, and a few months ag...
Cly asked 23/3, 2022 at 16:36
3
Solved
I use Android Studio 3.3 Canary 5, Gradle 4.9, gradle plugin 3.3.0-alpha05
minifyEnabled true
useProguard false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
...
Perfunctory asked 15/8, 2018 at 14:38
3
I enabled R8 plugging for obfuscation
I got an exception when I am trying to generate the signed apk
"Library class android.content.res.XmlResourceParser implements program class org.xmlpull.v...
Acetanilide asked 22/10, 2021 at 7:19
1
Solved
After updating to Android Gradle Plugin 8.0, I get the following build-time errors during the minifyReleaseAndroidTestWithR8 step:
Missing classes detected while running R8. Please add the missing...
Mycetozoan asked 25/4, 2023 at 20:24
3
Getting these warning while using r8
Missing class org.bouncycastle.jsse.BCSSLParameters (referenced from: void okhttp3.internal.platform.BouncyCastlePlatform.configureTlsExtensions(javax.net.ssl.S...
Gemstone asked 16/9, 2022 at 18:25
1
When I want to release my app get this error: com.android.tools.r8.internal.jb: Sealed classes are not supported as program classes when generating class files
Android Studio: Flamingo 2022.2.1 (a...
Moist asked 19/4, 2023 at 13:59
5
Solved
I'm switching an Android application from using Proguard's desugaring to the new R8 desugaring available in Android Gradle Build Plugin 4.0.0.
I've followed the steps as detailed in the official do...
Gilkey asked 1/9, 2020 at 13:26
2
Solved
I have two problems. I am unable to build a release apk either way. When I disable R8 (preferring proguard), the build just goes on forever (sometimes crashing, citing 'out of memory: java heap spa...
Pituitary asked 4/9, 2019 at 9:32
2
I am getting this error message, which seems to be in relation with R8 minifying. It works with the debug build with minify enabled, which is weird. But I am getting it definitely in the release bu...
Technicolor asked 30/3, 2021 at 13:6
0
I'm looking at my production builds and 50% of the build time is in the task minifyProductionReleaseWithR8. Looking at Google's guides for optimizing build speed there is nothing mentioned about R8...
Diplomate asked 10/10, 2022 at 23:14
3
I update my Android Studio version from 4.1 to 4.2 and the project is not compiling because the Proguard version was very old (4.7) and it was not compatible with Java 10, however I decided to migr...
Naphtha asked 17/5, 2021 at 17:18
1 Next >
© 2022 - 2024 — McMap. All rights reserved.