This version of android studio is incompatible with the gradle version used.Try disabling the instant run

第一步:禁用Instant Run,在Settings/Preferneces > Build, Execution, Deployment option > Instant Run 中,取消所有的选中项;

This version of android studio is incompatible with the gradle version used.Try disabling the instant run_第1张图片
20160714114617664.png

第二步:更新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

第三步: 删除project下的build文件夹里的文件

第四步:clean项目,重新编译跑程序

你可能感兴趣的:(This version of android studio is incompatible with the gradle version used.Try disabling the instant run)