Android Dev Tip #2023-05-04#
#Android #Dev #Tip
For Android Gradle plugin versions 8.0 and later, by default, non-final fields will be generated for the R class.
Setting android.nonFinalResIds=true allows you to use non-final resource IDs, which can be used to speed up incremental compilation.
Configuration#
Modify gradle.properties
android.nonFinalResIds=true