设置新的libGDX项目时出错(渐变问题)

时间:2019-06-21 05:58:16

标签: android android-studio libgdx

我只是在libGDX项目生成器中生成一个新的libGDX项目。  它显示了此错误:

..............................................................................
Generating app in C:\Users\DeLL\Desktop\demo
Executing 'C:\Users\DeLL\Desktop\demo/gradlew.bat clean --no-daemon'
Downloading https://services.gradle.org/distributions/gradle-4.6-bin.zip

..............................................................................................................................................................................
Unzipping C:\Users\DeLL\.gradle\wrapper\dists\gradle-4.6-bin\4jp4stjndanmxuerzfseyb6wo\gradle-4.6-bin.zip to C:\Users\DeLL\.gradle\wrapper\dists\gradle-4.6-bin\4jp4stjndanmxuerzfseyb6wo
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/4.6/userguide/gradle_daemon.html.
Daemon will be stopped at the end of the build stopping after processing
Download https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.2.0/gradle-3.2.0.pom
Download https://dl.google.com/dl/android/maven2/com/android/tools/analytics-library/crash/26.2.0/crash-26.2.0.pom


FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'demo'.
> Could not resolve all artifacts for configuration ':classpath'.
   > Could not resolve org.jetbrains.kotlin:kotlin-stdlib-jre8:1.2.0.
     Required by:
         project : > com.android.tools.build:gradle:3.2.0
         project : > com.android.tools.build:gradle:3.2.0 > com.android.tools.build:builder:3.2.0
         project : > com.android.tools.build:gradle:3.2.0 > com.android.tools.lint:lint-gradle-api:26.2.0
         project : > com.android.tools.build:gradle:3.2.0 > com.android.tools.build:gradle-api:3.2.0
        .
               > Remote host closed connection during handshake
      > Could not resolve org.jetbrains:annotations:13.0.
      > Could not HEAD 'https://plugins.gradle.org/m2/com/google/jimfs/jimfs/1.1/jimfs-1.1.pom'.......


* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
See https://docs.gradle.org/4.6/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 5m 17s
Done!
To import in Eclipse: File -> Import -> Gradle -> Gradle Project
To import to Intellij IDEA: File -> Open -> build.gradle
To import to NetBeans: File -> Open Project...

我什至没有为html工作:我仅为android工作。 我将使用Android Studio ...但前提是构建成功; 这是我的第一步,我不知道该如何解决...请帮助

0 个答案:

没有答案