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

后端 未结 12 1353
南旧
南旧 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条回答
  •  萌比男神i
    2020-11-29 15:31

    It is already known bug in Android studio even in the Documentation, They have mentioned about this Problem.

    The easiest way right now is to disable this feature by going

    1. Open the Preferences window by clicking File > Settings (on Mac, Android Studio > Preferences).
    2. In the left pane, click Build, Execution, Deployment > Compiler.
    3. Un check the Configure on demand checkbox.
    4. Click Apply or OK.

    Check this Image for warning they have provided for specific Gradle plugin versions.

提交回复
热议问题