The problemERROR: Unsupported method: AndroidProject. GetVariantNames ().
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.
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.
Translation:
Error: doesn’t support method: AndroidProject GetVariantNames ().
The Gradle version connected to does not support this method.
To resolve this problem, you can change/upgrade the target version of the Gradle you connect to.
Alternatively, you can ignore the exception and read additional information from the model.
methods
-
- modify the build.gradle file in the project directory,
classpath "com.android.tools.build:gradle:3.3.2"
In engineering./ Gradle/Wrapper/Gradle-wrapper. Properties, take a look at the address link
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.1-all.zip
Gradle sync once;
reference
Relationship between Android Studio and Gradle
- https://developer.android.google.cn/studio/releases/gradle-plugin#updating-gradle
Read More:
- ERROR Unsupported method AndroidProject.getVariantNames().
- As Error:Could not determine the class-path for interface com.android.builder.model.AndroidProject.
- ImageIO.read () unsupported image type when reading picture_ exception Unsupported Image Type
- “Method does not override method from its superclass”
- Unsupported operation types unsupported operation data types
- Difference between isempty method and isblank method in stringutils
- The problem of mobile hybrid development RN Android deployment appears Unsupported class file major version xx
- firefox ssl_error_unsupported_version
- Solve the problem of docker error: Unsupported compose file version: 3.2
- Solve the problem that power view in Excel prompts activate method of oleobject class failed or activate method like oleobject is invalid
- org.apache.jasper.JasperException: Unsupported encoding:
- Java retainAll throws an unsupported operation exception record
- SSL appears in foxes_ error_ unsupported_ Version problem
- Error: Node Sass does not yet support your current environment: Linux 64-bit with Unsupported runtim
- Error 13 when grub starts: solving the problem of invalid or unsupported executable
- [Elasticsearch] es 7.12 Root mapping definition has unsupported parameters: _all
- TypeError: unsupported operand type(s) for *: ‘range‘ and ‘int‘
- Copy node causes NPM execution error: cannot find module ‘/ / lib / utils/ unsupported.js ‘
- Failed to parse mapping [_doc]: Root mapping definition has unsupported parameters:
- Video player plays flv with error flv: Unsupported audio codec IDX: 7