$ cordova build android --debugANDROID_SDK_ROOT=undefinedGradle features were used in this build, making it incompatible with Gradle 5.0.See https://docs.gradle.org/4.10.3/userguide/command_line_
我在构建cordova时遇到了这个错误: FAILURE: Build failed with an exception.> Could not find com.android.tools.build:gradle:3.0.1./3.0.1/gradle-3.0.1.pom
https://maven.google.com/com/android/tools
但在3.0版本中,它无法刷新,并出现以下错误:
Error:Unsupported method: NativeArtifact.getRuntimeFiles().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.我使用的是Gradle 2.14.1 &
google() // <-- add this classpath 'com.android.tools.build:gradle当我试图启动一个桌面应用程序来测试它时,它不会启动,并且我得到了这个错误:
Error:Gradle: A problem occurred configuring root project> Could not find com.android.tools.buil