AS: Unsupported method: AndroidProject.getPluginGeneration().

Posted Could_Deng

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了AS: Unsupported method: AndroidProject.getPluginGeneration().相关的知识,希望对你有一定的参考价值。

报错内容 

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

 

 

技术分享

以上是关于AS: Unsupported method: AndroidProject.getPluginGeneration().的主要内容,如果未能解决你的问题,请参考以下文章

As 启动项目出现unsupported modules detected

为啥解压时 sfx Sevenzipsharp '7-zip : unsupported method'?

AndroidStudio运行项目出现Unsupported method: AndroidProject.getPluginGeneration()错误解决办法

Android Studio报错:Unsupported method: AndroidProject.getPluginGeneration()的一种解决方法

ERROR Review:Unsupported major.minor version 52.0

Delegate, Method as Parameter.