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.
source
share