如何解决 Gradle 插件依赖?

How to resolve Gradle plugin dependency?(如何解决 Gradle 插件依赖?)
本文介绍了如何解决 Gradle 插件依赖?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

问题描述

我正在尝试从

http://dist.springsource.com/release/TOOLS/gradle

为了在 Eclipse 中创建 LibGdx 项目.

in order to create LibGdx project in Eclipse.

但是有一个依赖问题,我被困在其中并且无法理解错误.

But there is a dependency issue where I am stuck at and not able to understand the error.

以下是尝试安装 Gradle 插件时 eclipse 中的错误堆栈.

Below is the error stack in eclipse while trying to install the Gradle plugin.

正在安装的软件:Spring UAA 集成(可选)3.6.0.201407080544-RELEASE (org.springframework.ide.eclipse.uaa.feature.feature.group 3.6.0.201407080544-RELEASE)缺少要求:Spring UAA Integration 3.6.0.201407080544-RELEASE (org.springframework.ide.eclipse.uaa 3.6.0.201407080544-RELEASE) 需要 'package com.google.protobuf 0.0.0' 但找不到

Software being installed: Spring UAA Integration (optional) 3.6.0.201407080544-RELEASE (org.springframework.ide.eclipse.uaa.feature.feature.group 3.6.0.201407080544-RELEASE) Missing requirement: Spring UAA Integration 3.6.0.201407080544-RELEASE (org.springframework.ide.eclipse.uaa 3.6.0.201407080544-RELEASE) requires 'package com.google.protobuf 0.0.0' but it could not be found

更新:
http://dist.springsource.com/release/TOOLS/gradle(最新版本) 没用.
但是,
http://dist.springsource.com/milestone/TOOLS/gradle(最新里程碑构建)工作!

UPDATE:
http://dist.springsource.com/release/TOOLS/gradle (latest release) did not work.
But,
http://dist.springsource.com/milestone/TOOLS/gradle (latest milestone build) worked!

推荐答案

作者自己贴出答案,让这个问题很容易回答.所以我会猛扑过去,轻松拿分.

The author has made this question easy to answer by posting the answer himself. So I will swoop in and take the easy points.

使用:http://dist.springsource.com/milestone/TOOLS/gradle(最新的里程碑构建)

Use: http://dist.springsource.com/milestone/TOOLS/gradle (latest milestone build)

因为要求(Spring UAA 集成 3.6.0.201407080544-RELEASE)包含在上述附加组件中.

because the requirements (Spring UAA Integration 3.6.0.201407080544-RELEASE) are included in the aforementioned add-on.

http://dist.springsource.com/release/TOOLS/gradle (最新版本)不起作用.

http://dist.springsource.com/release/TOOLS/gradle (latest release) did not work.

因为要求(Spring UAA 集成 3.6.0.201407080544-RELEASE)未包含在上述附加组件中(我重复一遍!).

because the requirements (Spring UAA Integration 3.6.0.201407080544-RELEASE) are NOT (I repeat NOT!!) included in the aforementioned add-on.

这篇关于如何解决 Gradle 插件依赖?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

相关文档推荐

Libgdx Box2D pixel to meter conversion?(Libgdx Box2D 像素到米的转换?)
Failed to resolve: com.google.android.gms:play-services in IntelliJ Idea with gradle(无法解决:带有 gradle 的 IntelliJ Idea 中的 com.google.android.gms:play-services)
Android App is crashing when installing through Eclipse(通过 Eclipse 安装时,Android 应用程序崩溃)
How to diagnose eclipse crashes?(如何诊断日食崩溃?)
EditText.getText().toString() crashes(EditText.getText().toString() 崩溃)
libGDX animation for android(android 的 libGDX 动画)