小编Cod*_*ain的帖子

使用eclipse设置LibGDX时出现Gradle错误

我正在尝试使用本教程 使用eclipse设置libGdx,
但是当我尝试构建项目时,我遇到了这个错误

Configuration on demand is an incubating feature.

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'TestGame'.
> Could not resolve all dependencies for configuration ':classpath'.
   > Could not resolve de.richsource.gradle.plugins:gwt-gradle-plugin:0.5.
     Required by:
         :TestGame:unspecified
      > Could not GET 'https://repo1.maven.org/maven2/de/richsource/gradle/plugins/gwt-gradle-plugin
/0.5/gwt-gradle-plugin-0.5.pom'.
         > Connection to https://repo1.maven.org refused
      > Could not GET 'https://jcenter.bintray.com/de/richsource/gradle/plugins/gwt-gradle-plugin/0.
5/gwt-gradle-plugin-0.5.pom'.
         > Connection to https://jcenter.bintray.com refused
   > Could not resolve com.android.tools.build:gradle:0.13+.
     Required by:
         :TestGame:unspecified
      > Failed to list versions …
Run Code Online (Sandbox Code Playgroud)

java eclipse gradle libgdx

8
推荐指数
1
解决办法
2822
查看次数

标签 统计

eclipse ×1

gradle ×1

java ×1

libgdx ×1