topher
topher

Reputation: 1397

Opening LibGDX project in Eclipse (ADT Bundle)

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:

There's no "Gradle"

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

Upvotes: 2

Views: 3027

Answers (1)

EpicPandaForce
EpicPandaForce

Reputation: 81588

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).

Upvotes: 4

Related Questions