在Eclipse开放LibGDX项目(ADT包) [英] Opening LibGDX project in Eclipse (ADT Bundle)

查看:180
本文介绍了在Eclipse开放LibGDX项目(ADT包)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

目前使用 ADT套件,用于开发Android应用程序。
它内置了Eclipse IDE中,并且是很简单的就可以使用。 (只是解压.zip,没有安装必需的)

Currently using ADT Bundle for Windows for developing Android applications.
It has built-in a Eclipse IDE, and is easy and ready to use. (Just extract the .zip, no installing required)

不过,我想使用Eclipse IDE开发一个 libGDX 的项目。
我已经成功地生成使用 GDX-setup.jar 一个libGDX项目。< BR> 导入此生成的项目到Eclipse,这libGDX维基说,在Eclipse中IDE我应该去

However, I want to develop a libGDX project using that Eclipse IDE.
I have successfully generated a libGDX project using gdx-setup.jar.
To import this generated project to Eclipse, this libGDX wiki says that in Eclipse IDE I should go to

文件 - >导入 - >摇篮 - >摇篮工程

File -> Import -> Gradle -> Gradle Project

但我不觉得任何摇篮导入窗口,这里的截图:

But I don't find any Gradle in the Import window, here's the screenshot:

我试图用现有的Andr​​oid code进入工作区导入它。但它有多个错误。

I tried importing it using Existing Android Code Into Workspace. But it has multiple errors.

我还发现了 Eclipse集成摇篮和的春季工具套件
我无法弄清楚他们如何工作,以及如何安装它们。
请告诉我怎样才能安装这些插件。
如果有一个一步一步的指导,开发的Eclipse IDE(ADT包)一个libGDX项目,这将是巨大的。照片 谢谢

I also found the Eclipse Integration Gradle and Spring Tool Suite
I can't figure out how they works and how to install them.
Please tell me how can I install those plugins.
If there's a step-by-step guide to develop a libGDX project in Eclipse IDE (ADT Bundle), that would be great.
Thanks

推荐答案

你要找的是Eclipse的摇篮集成工具,您可以添加到Eclipse作为一个模块。

what you're looking for is the Eclipse Gradle Integration Tool which you can add to Eclipse as a module.

要做到这一点,你必须去帮助 - >安装新软件 - >添加 - >指定的名称,如摇篮,并添加以下位置:的 http://dist.springsource.com/release/TOOLS/gradle

To do this, you must go to Help -> Install New Software -> Add -> specify name such as 'Gradle', and add the following location: http://dist.springsource.com/release/TOOLS/gradle

这将安装摇篮集成模块到您的ADT,你就可以导入项目。

This will install Gradle integration module into your ADT, and you'll be able to import the project.

这是我喜欢通过LibGDX的方式中教程如下: HTTP: //www.gamefromscratch.com/page/LibGDX-Tutorial-series.aspx

A tutorial that I liked by the way on LibGDX was the following: http://www.gamefromscratch.com/page/LibGDX-Tutorial-series.aspx

编辑:新的ADT 23.0.2不允许直接安装它,你需要去帮助 - >安装新软件 - >工作, - >朱诺 - >通用工具 - >市场客户端,然后搜索摇篮,并添加摇篮集成工具(而不是4.4的)。

The new ADT 23.0.2 does not allow installing it directly, you need to go to Help -> Install New Software -> Work With -> Juno -> General Purpose Tools -> Marketplace Client, and then search for Gradle and add the Gradle Integration tool (not the 4.4 one).

这篇关于在Eclipse开放LibGDX项目(ADT包)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆