解决UnsupportedMethodException: Unsupported method: AndroidProject.getPluginGeneration().
来源:互联网 发布:贪吃枫淘宝店 编辑:程序博客网 时间:2024/05/17 05:52
问题:Unsupported method: AndroidProject.getPluginGeneration().
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.
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.
原因:
显然是版本低了,网上说修改Settings的Instant Run做法建议不要尝试了。
解决办法:
把工程Project的gradle文件里面的gradle版本修改到正常可用的版本号,比如我的是:2.2.3
buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:2.2.3' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files }}
0 0
- 解决UnsupportedMethodException: Unsupported method: AndroidProject.getPluginGeneration().
- UnsupportedMethodException Unsupported method: AndroidProject.getPluginGeneration().
- Unsupported method: AndroidProject.getPluginGeneration()
- Unsupported method: AndroidProject.getPluginGeneration().
- Unsupported method: AndroidProject.getPluginGeneration()
- Unsupported method: AndroidProject.getPluginGeneration()
- AS: Unsupported method: AndroidProject.getPluginGeneration().
- AS: Unsupported method: AndroidProject.getPluginGeneration().
- AS: Unsupported method: AndroidProject.getPluginGeneration().
- AS: Unsupported method: AndroidProject.getPluginGeneration().
- AS: Unsupported method: AndroidProject.getPluginGeneration().
- Android Studio问题---Unsupported method: AndroidProject.getPluginGeneration().
- android studio: Unsupported method: AndroidProject.getPluginGeneration().
- Unsupported method: AndroidProject.getPluginGeneration() while running project
- Android Studio问题---Unsupported method: AndroidProject.getPluginGeneration().
- Unsupported method: AndroidProject.getPluginGeneration() while running project
- Androidstudio运行出现Unsupported method: AndroidProject.getPluginGeneration() while running project
- Android Studio 提示 Unsupported method: AndroidProject.getPluginGeneration()的解决方法
- RabbitMQ界面管理和命令管理
- 最近接触ZKoss的学习感受
- c++ const
- 聚类算法实践(一)——层次聚类、K-means聚类
- 蓝桥杯比赛javaB组练习《饮料换购》
- 解决UnsupportedMethodException: Unsupported method: AndroidProject.getPluginGeneration().
- IntelliJ IDEA 编辑窗口开多后自动关闭问题
- iOS基础——数据存储之沙盒机制、Plist、Perference、归档、反归档
- 基本数据结构——单向链表
- sql 中的join方式
- Eclipse禁用JS、jsp等文件的语法验证
- jQuery 基础 : 获取对象 根据属性、内容匹配, 还有表单元素匹配(转)
- java之使用getxxx( )和setxxx对类进行封装text2
- 集合运算