This version of Android Studio is incompatible with the Gradle Plugin used. Try disabling Instant Ru
2016-11-18 23:51
543 查看
Android studio 2.1.2出现了下面这个错误:
This version of Android Studio is incompatible with the Gradle Plugin used. Try disabling Instant Run (or updating either the IDE or the Gradle plugin to the latest version)
说是需要更新Gradle好像,解决办法
1.升级Android Studio
因为现在Android Studio的稳定版本是2.2.2,而我用的是2.1.2,升级之后所有不适配的包Android Studio都会提示你更新2.更新gradle
把项目根目录下的build.gradle文件的gradle版本替换成下面版本classpath 'com.android.tools.build:gradle:2.2.2'
之后需要修改gradle源的版本,找到/gradle/wrapper/gradle-wrapper.properties
文件,把里面的gradle地址换成下面的
#Mon Dec 28 10:00:20 PST 2015 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip
相关文章推荐
- this version of Android Studio is incompatible with the Gradle Plugin used. try disabling Instant Ru
- This version of Android Studio is incompatible with the Gradle Plugin used. Try disabling Instant Ru
- This version of Android Studio is incompatible with the Gradle Plugin used. Try disabling Instant Ru
- This version of Android Studio is incompatible with the Gradle Plugin used. Try disabling Instant Ru
- This version of Android Studio is incompatible with the Gradle Plugin used. Try disabling Instant R
- This version of android studio is incompatible with the gradle version used.Try disabling the instant run解决办法
- This version of android studio is incompatible with the gradle version used.Try disabling the instant run
- Error running app: This version of Android Studio is incompatible with the Gradle Plugin used. Try d
- Error running app: This version of Android Studio is incompatible with the Gradle Plugin used. Try d
- Error running app: This version of Android Studio is incompatible with the Gradle Plugin used. Try d
- Error running app: This version of Android Studio is incompatible with the Gradle Plugin used. Try d
- Error running app: This version of Android Studio is incompatible with the Gradle Plugin used. Try d
- Error running app: This version of Android Studio is incompatible with the Gradle Plugin used. Try
- Error running app: This version of Android Studio is incompatible with the Gradle Plugin used. Try d
- Error running app: This version of Android Studio is incompatible with the Gradle Plugin used. Try
- Error running app: This version of Android Studio is incompatible with the Gradle Plugin used. Try d
- Error running app: This version of Android Studio is incompatible with the Gradle Plugin used. Try d
- Error running app: This version of Android Studio is incompatible with the Gradle Plugin used. Try
- This version of android studio is incompatible with the gradle version used.Try disabling the instan
- Studio运行出现:This version of Android Studio is incompatible with the Gradle Plugin used. Try disablin