报错:Error running app: 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)

解决办法:
step1:
异常收集(1)
禁用Instant Run,在Settings/Preferneces > Build, Execution, Deployment option > Instant Run 中,取消所有的选中项

step2:
异常收集(1)
更新gradle services 的url:在project目录下的 gradle>wrapper>gradle-wrapper.properties中将
distributionUrl=https://services.gradle.org/distributions/gradle-2.10-all.zip
更新为:
distributionUrl=https://services.gradle.org/distributions/gradle-2.11-all.zip

step3:
异常收集(1)
删除project下的build文件夹

step4:
clean项目,重新编译跑程序

相关文章:

  • 2022-02-07
  • 2022-12-23
  • 2021-06-03
  • 2022-12-23
  • 2021-10-23
  • 2021-08-17
  • 2021-05-31
猜你喜欢
  • 2022-03-03
  • 2021-11-27
  • 2021-08-27
  • 2022-12-23
  • 2021-11-24
  • 2021-08-31
相关资源
相似解决方案