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)
- setting-->Instant Run,取消所有的勾选
- project目录下,gradle-->wrapper-->gradle-wrapper.properties中,将
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip
将版本号改成最新的。 - 删除project目录下的build文件夹删除
- clean项目,重新编译跑程序