AS: Unsupported method: AndroidProject.getPluginGeneration().
来源:互联网 发布:js实现饼状图 编辑:程序博客网 时间:2024/05/17 03:15
报错内容
16:56:06 UnsupportedMethodException 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. Alternatively, you can ignore this exception and read other information from the model.
解决方法:关掉instant run
还有一个解决方法,下载LockHunter,然后再app的build.gradle中加上如下代码,确保清空build文件夹内容
task clean(type: Exec) { ext.lockhunter = '\"D:\\Program Files\\LockHunter\\LockHunter.exe\"' def buildDir = file(new File("build")) commandLine 'cmd', "$lockhunter", '/delete', '/silent', buildDir}
12 1
- 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().
- Unsupported method: AndroidProject.getPluginGeneration()
- Unsupported method: AndroidProject.getPluginGeneration().
- Unsupported method: AndroidProject.getPluginGeneration()
- Unsupported method: AndroidProject.getPluginGeneration()
- UnsupportedMethodException 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
- 解决UnsupportedMethodException: Unsupported method: AndroidProject.getPluginGeneration().
- Androidstudio运行出现Unsupported method: AndroidProject.getPluginGeneration() while running project
- Android Studio 提示 Unsupported method: AndroidProject.getPluginGeneration()的解决方法
- 在类中不添加注释。影响可读性。代码繁杂。
- 字符串转数字
- 模算术和求余
- Android中三种超实用的滑屏方式汇总(ViewPager、ViewFlipper、ViewFlow)
- LICEcap – 灵活好用,GIF 屏幕录制工具
- AS: Unsupported method: AndroidProject.getPluginGeneration().
- redis工具类
- 简单gson实例
- Webview 与h5的交互
- pdf转换成excel格式是如何操作的
- 【bzoj4557】【JLoi2016】【树规】侦察守卫
- 树状数组经典
- 【Linux】systemctl 命令
- 排序算法的稳定性