不支持的方法:InstantRun.getRestartDexFile() – Android Studio

我有 Android Studio 2.0 Beta 6
而build.gradle中的Gradle版本是classpath’com.android.tools.build:gradle:2.1.0-beta1′
(我今天更新,早些时候我在毕业:2.0.0-alpha9).
现在,当我尝试运行我的应用程序,我不断得到这个消息.

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.
Alternatively,you can ignore this exception and read other @R_624_4045@ion from the model.

升级前一切正常运行(包括即时运行).
请帮忙.

解决方法

我发布这个作为一个答案,因为这解决了我的问题.
我将build.gradle中的类路径更改为

classpath ‘com.android.tools.build:gradle:2.1.0-alpha3

我没有改变任何其他/任何设置,也没有更新我的Android Studio.

Link to the page where I found it.
不得不搜索很多.

相关文章

Android性能优化——之控件的优化 前面讲了图像的优化,接下...
前言 上一篇已经讲了如何实现textView中粗字体效果,里面主要...
最近项目重构,涉及到了数据库和文件下载,发现GreenDao这个...
WebView加载页面的两种方式 一、加载网络页面 加载网络页面,...
给APP全局设置字体主要分为两个方面来介绍 一、给原生界面设...
前言 最近UI大牛出了一版新的效果图,按照IOS的效果做的,页...