Skip to content Skip to sidebar Skip to footer

Programs Run Fine With LibGDX -desktop But Not LibGDX - Android?

So I have just set up Eclipse to work with LibGDX using Gradle. After I installed I noticed there was a problem with the Android package, there was a red cross next to the package.

Solution 1:

There was no Android Version selected by default, so go: Project -> Properties -> Android -> Project Build Target and select your preferred version


Solution 2:

I have no idea why this works but it does for me. I installed the ADT plugin, refreshed the android section and the red cross disappeared.

Refer to the section under "Download the ADT Plugin" to install the ADT plugin. http://developer.android.com/sdk/installing/installing-adt.html

After that, go to Eclipse > Package Explorer > Left click on Project-android > Select Refresh.


Post a Comment for "Programs Run Fine With LibGDX -desktop But Not LibGDX - Android?"