Configuration on demand is not supported by the current version of the Android Gradle plugin
No need to downgrade!
Disabling configure on demand requires two steps:
-
Remove
org.gradle.configureondemandfrom gradle.properties. -
In Android Studio,
For Mac go to thePreferences>Build, Execution, Deployment>Compilerand uncheck the configure on demand.
For Linux/Windows go to theFile>Settings>Build, Execution, Deployment>Compilerand uncheck the configure on demand.
Note, there are 2 gradle.properties files
- In your project
gradle.properties ${HOME}/.gradle/gradle.properties

浙公网安备 33010602011771号