Open zsweigart opened 4 years ago
When building a release version of an aar using proguard we see the following error for all of our enums:
Function invocation 'name()' expected
This error only occurs with the latest versions:
com.android.tools.build:gradle:4.0.0 com.kezong:fat-aar:1.2.15
If we revert back to
com.android.tools.build:gradle:3.6.3 com.kezong:fat-aar:1.2.12
The issue is resolved.
Our proguard contains the line:
-keepclassmembers enum * { public *; }
To keep our enums.
Keep AGP version, Try upgrade plugin to 1.3.1
When building a release version of an aar using proguard we see the following error for all of our enums:
This error only occurs with the latest versions:
If we revert back to
The issue is resolved.
Our proguard contains the line:
To keep our enums.