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

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

问题描述

目前使用和 Spring Tool Suite

我不能弄清楚它们的工作原理以及如何安装它们。

请告诉我如何安装这些插件。

如果有一个分步指南来开发一个libGDX项目Eclipse IDE(ADT Bundle),这将是很棒的。

谢谢

解决方案

你在看什么为Eclipse Gradle Integration Tool可以添加到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 Integration工具(而不是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天全站免登陆