UnsupportedMethodException
Unsupported method: AndroidProject.getPluginGeneration().
The version of Gradle you connect to does not support that method.
Toresolvetheproblemyoucanchange/upgradethetargetversionofGradleyouconnectto.
Alternatively, youcanignorethisexceptionandreadotherinformationfromthemodel.
最近在进行Android开发的过程中,发现自己在debug自己的项目的时候,出现了如下的错误:UnsupportedMethodExceptionUnsupported method: AndroidProject.getPluginGeneration().The version of Gradle you connect to does not support that method.