Configuration on demand is not supported by the current version of the Android Gradle plugin

后端 未结 12 1370
南旧
南旧 2020-11-29 15:10

After upgrading to Android Studio 3.1.2 I am getting the following error:

Configuration on demand is not supported by the current version of the Andro

12条回答
  •  甜味超标
    2020-11-29 15:43

    From Android Studio uncheck the configure on demand:

    Follow below steps:

    1. For Mac go to the Preferences > Build, Execution, Deployment > Compiler and uncheck the configure on demand.

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

    Now sync your project

    Happy coding! :)

提交回复
热议问题