我不明白我收到的错误消息,或者如何解决它。当我尝试构建我的项目时,我看到以下错误:
FAILURE: Build failed with an exception. What went wrong: A problem occurred configuring root project 'android'. Could not resolve all dependencies for configuration ':classpath'. Could not resolve com.android.tools.build:gradle:1.0.0+. Required by: :android:unspecified Failed to list versions for com.android.tools.build:gradle. Unable to load Maven meta-data from https://repo1.maven.org/maven2/com/android/tools/build/gradle/maven-metadata.xml. Could not GET 'https://repo1.maven.org/maven2/com/android/tools/build/gradle/maven-metadata.xml'. The target server failed to respond Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
我将 Cordova 与 Ionic 框架结合使用。
最佳答案
关于java - 配置根项目 android 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29076690/