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

Android Studio 一Run 'app' 就报以下的错误

2016-04-29 10:22 232 查看
 UnsupportedMethodException:

         Unsupported method: InstantRun.getRestartDexFile().

         The version of Gradle you connect to does not support that method.

         To resolve the problem you can change/upgrade the target version of Gradle you connect to.

         Alternatively, you can ignore this exception and read other information from the model.

以下是我的gradle的配置

当我切换为2.1.0-alpha3的时候,却有是以下的错误

Error:(1, 0) Plugin is too old, please update to a more recent version, or set ANDROID_DAILY_OVERRIDE environment variable to
"760618760c85f7d0b2f61e67bc8ff96cb65de783"

而且最变态的是我以前可以运行的,最近不知道动了什么地方,出了这个乱子

求大牛指条明路
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: