UnsupportedMethodException-不支持的方法:AndroidProject.getPluginGeneration()

时间:2018-11-29 05:26:51

标签: android gradle android-studio-2.2 android-gradle-2.2

系统/ api配置

Android studio version : 2.2.3
Gradle version : 2.2.1
Java version : 1.8
classpath 'com.android.tools.build:gradle:1.3.1'

例外

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.

当我尝试运行应用程序时,出现了此问题,任何人都可以知道我为解决此问题所做的事情。

0 个答案:

没有答案