【发布时间】:2014-09-20 17:41:41
【问题描述】:
我在 Windows 7 上使用 Eclipse Luna 工作,并尝试通过本地 Maven 存储库导入通用 Tween 引擎。
我遇到了与此问题中列出的相同的错误:
Update Gradle references to include maven local jars (libGDX & Tween Engine)
我的理由是,我在同一个沟里,因为图像反映了我基于用户共享的设置。
但是,答案和建议并没有解决问题。
当失败时,我决定尝试https://github.com/libgdx/libgdx/wiki/Universal-Tween-Engine 中列出的其他选项,特别是 FileTree Dependency 方法,但也无济于事(以及查看此响应 why dont i have universal tween engine when setting up LibGDX)。
运行gradlew --refresh-dependencies 工作正常,构建成功。
运行gradlew eclipse cmd 会返回此输出:
Configuration on demand is an incubating feature.
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':android'.
> Could not resolve all dependencies for configuration ':android:_debugCompile'.
> Could not find aurelienribon:tweenengine:6.3.3.
Required by:
game:android:1.0 > game:core:1.0
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
想法?如果您需要更多信息,我可以提供。我只是不确定可能需要什么。
【问题讨论】:
标签: eclipse maven import gradle libgdx