Vote count:
0
Back, with yet another screwup of LibGDX. When I launched Eclipse today and tried to run my app, Gradle complained about something (I never got time to read it, the LogCat and Console were spewing things faster than light) and then decided to clean the android project. After spending some time trying to manually rebuild it, I thought I had it working. No errors, correct looking setup. But it wasn't recognized as an Android project.
I went in and changed the project file so the nature section looked like this:
<natures>
<nature>org.springsource.ide.eclipse.gradle.core.nature</nature>
<nature>com.android.ide.eclipse.adt.AndroidNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
Most things I found via Google only showed the Android and Java entry, not Gradle, but I'm assuming it will work. Didn't work without Gradle anyways. Now, trying to launch the project brings up the error mentioned in the title. Can't find any way of fixing it.
LibGDX - Project is not an Android Project. Aborting
Aucun commentaire:
Enregistrer un commentaire