Eclipse libGDX cannot work as Android app

I have a libGDX project in Eclipse that of course uses Gradle. When I try to launch AndroidLauncher, I have no way to run it as an Android project. I get only two options: Gradle Buildand Gradle Build...(Same thing with "..."). The strange thing is that if I first right-click on AndroidLauncher.javasomething and click something and try to start the project, then it will work. It works until I change the class of the main code. Then it has only the same two options. How can I solve this problem and always run it as an Android project.

+4
source share
1 answer

Instead of starting, AndroidLauncher.javastarting the project folder resolved the problem. Now it always works as an Android project.

+4
source

Source: https://habr.com/ru/post/1548263/


All Articles