I recently updated my gradle plugin, after that I was not allowed to use android.enableR8=false under my gradle.properties file. I want to disable the R8 in my app while keeping the latest gradle plugin version.
I'm facing the below error logs, which tells to remove android.enableR8=false from gradle.properties, after removing it my app works fine, however my release app have issues due to the R8 obfuscate, I want to disable the R8.
Caused by: com.android.builder.errors.EvalIssueException: The option 'android.enableR8' is deprecated.
It was removed in version 7.0 of the Android Gradle plugin.
Please remove it from `gradle.properties`.
Links I already tried:
https://developer.android.com/studio/build/shrink-code#configuration-files
https://developer.android.com/studio/build/shrink-code#troubleshoot
Initially it is false. So just delete that line. Hope it will run and wont give any error. Do not make false, delete the line from gradle.prepertis
and add these three line if not there.