AndroidStudio UnsupportedMethodException Unsupported method: InstantRun.getRestartDexFile().
来源:互联网 发布:开根号的算法 编辑:程序博客网 时间:2024/06/08 04:39
AndroidSudio导入 项目发现
10:22:01 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.
如图
修改方式替换你的
classpath 'com.android.tools.build:gradle:2.1.0' 改为 你最近运行成功 的Gradle 版本
我的是改为classpath 'com.android.tools.build:gradle:2.0.0'
然后 Rebuild Project一下
我认为是开两个 AndroidStudio窗口 两个不同的项目 导致,新开的项目 用之前 运行成功的Gradle版本 就解决了
2 0
- AndroidStudio UnsupportedMethodException Unsupported method: InstantRun.getRestartDexFile().
- UnsupportedMethodException Unsupported method: AndroidProject.getPluginGeneration().
- 解决UnsupportedMethodException: Unsupported method: AndroidProject.getPluginGeneration().
- AndroidStudio逆天InstantRun
- 【AndroidStudio】设置instantRun
- AndroidStudio报错:UnsupportedMethodException
- Androidstudio运行出现Unsupported method: AndroidProject.getPluginGeneration() while running project
- Androidstudio运行出现Unsupported method: AndroidProject.getPluginGeneration() while running project
- AndroidStudio运行项目出现Unsupported method: AndroidProject.getPluginGeneration()错误解决办法
- UnsupportedMethodException
- Unsupported method: AndroidProject.getPluginGeneration()
- Unsupported method: AndroidProject.getPluginGeneration().
- Unsupported method: AndroidProject.getPluginGeneration()
- Unsupported method: AndroidProject.getPluginGeneration()
- Unsupported method: BaseConfig.getApplicationIdSuffix()
- Unsupported method: BaseConfig.getApplicationIdSuffix()
- Unsupported method: ResultSet.last 错误
- AS: Unsupported method: AndroidProject.getPluginGeneration().
- 深入分析JavaWeb 48 -- Struts2中OGNL表达式与ValueStack
- 大小端存储
- Android 关于setOnclickListener 对事件分发的影响
- 导入项目到Android Studio遇到的问题 解决
- Smarty学习1——安装和配置
- AndroidStudio UnsupportedMethodException Unsupported method: InstantRun.getRestartDexFile().
- kafka storm logback slf4j jar包冲突
- Java线程之由生产者/消费者问题看线程同步与通信
- 删除一个月前数据,释放表空间
- 剑指offer(10)-调整数组顺序使奇数位于偶数前面
- final关键字的应用
- Java 通过JDBC连接Mysql数据库的方法和实例【图文说明】
- NSJSONReadingOptions参数说明
- centos6 安装 php7