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

后端 未结 12 1368
南旧
南旧 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
    慢半拍i (楼主)
    2020-11-29 15:47

    gradle/wrapper/gradle-wrapper.properties

    Update the gradle version

    distributionUrl=https\://services.gradle.org/distributions/gradle-4.9-all.zip
    

    Build > Rebuild Project

    Good Luck

    Source

提交回复
热议问题