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

来源:互联网 发布:java webservice部署 编辑:程序博客网 时间:2024/05/22 01:52


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 studio2.0后从GitHub导入项目时有时候会碰到这个错误,根据as提示,我把Instant Run禁用之后就可成功运行APP。

关于Instant Run的介绍,请参考郭大神的博文,

地址:http://blog.csdn.net/guolin_blog/article/details/51271369

禁用Instant Run的方法:打开preferences,找到build下的Instant Run,把enable前面的对勾关闭即可。


这是我根据as给的提示后修改的,在网上又找到了一些大神的解决方法,特把地址贴出来:http://stackoverflow.com/questions/35202541/this-version-of-android-studio-is-incompatible-with-the-gradle-version-used-try

还有一个大神翻译过来的:http://blog.csdn.net/qq_15807167/article/details/51984920

0 0
原创粉丝点击