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

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

问题描述

目前使用 和 Spring 工具套件
我不知道它们是如何工作的以及如何安装它们.
请告诉我如何安装这些插件.
如果有在 Eclipse IDE(ADT Bundle)中开发 libGDX 项目的分步指南,那就太好了.
谢谢

解决方案

您正在寻找的是 Eclipse Gradle 集成工具,您可以将其作为模块添加到 Eclipse.

为此,您必须转到帮助 -> 安装新软件 -> 添加 -> 指定名称,例如Gradle",并添加以下位置:http://dist.springsource.com/release/TOOLS/gradle

这会将 Gradle 集成模块安装到您的 ADT 中,您将能够导入项目.

顺便说一句,我喜欢 LibGDX 的一个教程如下:http://www.gamefromscratch.com/page/LibGDX-Tutorial-series.aspx

新的 ADT 23.0.2 不允许直接安装,您需要转到帮助 -> 安装新软件 -> 使用 -> Juno -> 通用工具 ->Marketplace Client,然后搜索 Gradle 并添加 Gradle 集成工具(不是 4.4 的工具).

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)

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:

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

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

解决方案

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

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

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

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

EDIT: 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 Bundle)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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