Category "android-r8"

What does 'minifyEnabled=true' do when all configuration options are disabled?

I have a complicated build setup for an android app which basically consists of a normal android app fused together with a Xamarin/Mono project in order to incl

How to keep class' members untouched if it contains a field with an annotation in proguard

How do I configure proguard/R8 to keep all the fields and methods of a class if the class contains an annotated field? I have a class public class MyDocument {

Is "@Keep support annotation" rule in proguard-android-optimize.txt still applicable when using AndroidX?

It is common to apply proguard-android-optimize.txt as proguard file. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-project.

Gradle : DSL element 'useProguard' is obsolete and will be removed soon

Since the 3.5 update of Android Studio, I have this warning when building my app : DSL element 'useProguard' is obsolete and will be removed soon. Use 'an

Failed to compile unsupported use of invokespecial

I'm trying to rebuild my project which I've written in JAVA but it has constantly failed with the error [CIRCULAR REFERENCE:com.android.tools.r8.errors.a: Faile

Data class metadata is removed with proguard / R8 for Kotlin 1.6.0

I have a package with some data classes and I'm trying to access the constructor at runtime using Kotlin reflection clazz.primaryConstructor, Everything is work

Gradle ignores testProguardFile when running Android instrumentation

I'm trying to run instrumentation tests on a release build type. My setup is as follows: Android Studio - 3.4.1 Android Gradle Plugin - 3.4.1 Gragle - 5.4.1 R8

Gradle ignores testProguardFile when running Android instrumentation

I'm trying to run instrumentation tests on a release build type. My setup is as follows: Android Studio - 3.4.1 Android Gradle Plugin - 3.4.1 Gragle - 5.4.1 R8

Gradle ignores testProguardFile when running Android instrumentation

I'm trying to run instrumentation tests on a release build type. My setup is as follows: Android Studio - 3.4.1 Android Gradle Plugin - 3.4.1 Gragle - 5.4.1 R8

Gradle ignores testProguardFile when running Android instrumentation

I'm trying to run instrumentation tests on a release build type. My setup is as follows: Android Studio - 3.4.1 Android Gradle Plugin - 3.4.1 Gragle - 5.4.1 R8