LibGDX Eclipse Setup Issues

Hi all,

I’m in the process of moving over to LibGDX (based on several recommendations here) and I’m having some issues getting it setup in Eclipse.

I haven’t been able to get it to work yet for android and in the process of trying to figure that out I think I broke the desktop version too… ??? I have no idea how I did it, but I think I deleted the DesktopLauncher setting under “Run” --> “Run Configurations…” because now underneath of “Java Application” it says “New_configuration” instead of “DesktopLauncher”. I have tried creating a new LibGDX project with Gradle and I also deleted the entire Eclipse folder (since it doesn’t actually install) and unzipped it again…but that setting doesn’t come back. Is there anything else I can do to get it back?..I’m at a loss here.

The other problem that I’ve been trying to fix is Android has several errors in the AndroidLauncher:

  • android.os.Handler cannot be resolved.
  • com.tekker.guitest.GuiTest cannot be resolved
    …and a couple others.

From my understanding it’s some kind of issue with the Android SDK. But all of the “fixes” I found weren’t working…
Right-click android project --> properties --> Java build path --> Order and export…all of those check boxes were already checked
I also tried downloading the ADT Eclipse plugin, but that didn’t fix it either.

I do have the Android SDK installed and I pointed to it when creating the project with Gradle.
I also downloaded Samsung Kies for the USB driver, so I could plug my Galaxy S4 phone in and use it with Eclipse.

Any help in getting these issues resolved would be greatly appreciated. :slight_smile:

With the android errors, I got it working by exporting as an APK, then running that on an emulator or device.