运行项目的时候出现:Error running app: This version ofAndroidStudio is incompatible with the Gradle Plugin used. Try disabling Instant Run (or updating either the IDE or the Gradle plugin to the latest version)
翻译一下:错误运行应用程序:这个版本的Android工作室与Gradle插件不兼容使用。尝试禁用即时运行(或更新IDE或Gradle插件的最新版本)
意思很明白了,就是Gradle不兼容,虽然看到这个,都知道是版本不兼容,当不知道哪里下手去做修改,今天我刚好遇到这个这个问题,跟大家一起分享怎么做处理:
第一步:如下图:

第二步:(如果没有此文件,可忽略此步)

第三步:clean项目之后,运行项目

然后运行完就ok了。祝大家好运
网友评论