Time to time I open a building project at Android Studio to run and debug a custom plugin. Implicitly, from time to time I receive Gradle errors because of version inconsistency. I began to understand that they use different gradles of different versions. Help me to run the build android project from Android Studio.
Now I am receiving such a message:
Unsupported method: TaskExecutionResult.getExecutionReasons().
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.
Android Studio shows that it uses the gradle configuration from the generated Gradle-wrapper.properties. It shows distributionUrl=https://services.gradle.org/distributions/gradle-4.10.3-all.zip
Ionic has installed at the project directory .gradle/6.1.1
It highlights that different versions are utilized.