您的位置:首页 > 移动开发

Error running app: This version of Android Studio is incompatible with the Gradle Plugin used. Try d

2016-09-06 16:39 603 查看
在开发中从代码仓库导入项目时,突然遇到个问题, 就是cline 和 Rebuile 都没有问题 ,但是一运行就报

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)

这个错误, 是说当前Android Studio 的Grade版本与工程目录中的 Grade 不兼容,可以尝试禁用即时运行,或更新IDE,或更新Gradle为最新版本

参考:

http://stackoverflow.com/questions/35202541/this-version-of-android-studio-is-incompatible-with-the-gradle-version-used-try

解决方案如下:

1.将Android Studio 中的相关插件版本等更新值最新,



File - Settings - Preferneces - Build, Execution, Deployment option - Instant Run 中,所有的选项取消掉 , 禁用 Instant Run(即时运行)



3.将当前Android Studio 的Grade版本更新至最新



4.clean工程项目,重新编译程序
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐