AndroidStudio运行项目出现Unsupported method: AndroidProject.getPluginGeneration()错误解决办法
2017-09-22 09:57
656 查看
早上打开项目一运行就报以下错误:
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.
解决办法:
第一次遇见这个错误,就上网查找,找到解决的方法:
在设置界面,根据图中指示,将箭头所指方向的选择框去掉选择,重新运行项目就解决了,如果这个方法无法解决你的问题,那你只能在去寻找其他的解决方法。
本人亲测好使。
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.
解决办法:
第一次遇见这个错误,就上网查找,找到解决的方法:
在设置界面,根据图中指示,将箭头所指方向的选择框去掉选择,重新运行项目就解决了,如果这个方法无法解决你的问题,那你只能在去寻找其他的解决方法。
本人亲测好使。
相关文章推荐
- AndroidStudio运行项目出现Unsupported method: AndroidProject.getPluginGeneration()错误解决办法
- Android开发中遇到的问题(五)——Eclipse导入Android项目出现"Invalid project description overlaps the location of another project"错误的解决办法
- Androidstudio运行出现Unsupported method: AndroidProject.getPluginGeneration() while running project
- Android项目运行junit测试类时出现错误Internal Error (classFileParser.cpp:3494)的解决办法
- Android项目运行junit测试类时出现错误Internal Error (classFileParser.cpp:3494)的解决办法
- android studio运行android项目时出现错误return code 1 for dex解决办法
- Android项目运行junit测试类时出现错误Internal Error (classFileParser.cpp:3494)的解决办法
- Android项目运行junit测试类时出现错误Internal Error (classFileParser.cpp:3494)的解决办法
- Android项目运行junit测试类时出现错误Internal Error (classFileParser.cpp:3494)的解决办法
- Androidstudio运行出现Unsupported method: AndroidProject.getPluginGeneration() while running project
- Android项目运行junit测试类时出现错误Internal Error (classFileParser.cpp:3494)的解决办法
- Android开发中遇到的问题(五)——Eclipse导入Android项目出现"Invalid project description overlaps the location of another project"错误的解决办法
- Android项目导入Eclipse出现错误解决办法
- 我的Android进阶之旅------>Android项目运行报java.lang.NoClassDefFoundError错误的解决办法
- 解决导入的Android项目中出现的The project was not built since和 Unable to resolve target 'android-19'错误
- android apk文件在模拟器上运行正常,在真机中出现解析包错误解决办法集锦
- Android开发异常篇:运行工程出现:Connection with adb was interrupted错误提示以及解决办法
- Eclipse导入android项目,报invalid project description错误的解决办法
- Android 升级 ADT 运行项目出现java.lang.NoClassDefFoundError 完美解决办法
- Android+Eclipse,创建项目总是出现 invalid project description. overlaps the workspace location的解决办法