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:

  1. Remove org.gradle.configureondemand from gradle.properties.

  2. In Android Studio,
    For Mac go to the Preferences > Build, Execution, Deployment > Compiler and uncheck the configure on demand.
    For Linux/Windows go to the File > Settings > Build, Execution, Deployment > Compiler and uncheck the configure on demand.

Note, there are 2 gradle.properties files

    1. In your project gradle.properties
    2. ${HOME}/.gradle/gradle.properties
posted @ 2018-09-20 17:03  飞晨信息  阅读(225)  评论(0编辑  收藏  举报