I am following the Libgdx tutorial here and I am having a strange problem. Due to the limitations of my working environment, I cannot download OpenGL drivers to my desktop, so I cannot test my application on the desktop. I have to check it on my Android device. It launches some build options for Android 2.3.4, which is API level 10.
The problem is that whenever I make changes to my code and run the Android application, the changes are not reflected. It just starts the assembly that was installed the first time my code was run. I uninstalled the application on my Android and restarted it, having encountered the same problem. I made a completely fresh Libgdx project and copied my new code and it worked fine until I made more changes to the new version and then ran into the same problem. Therefore, I know that the code I'm modifying affects how it should look, it just doesn't reflect. Is something missing?
My steps to clarify:
- Set up your libgdx project with gdx-setup-ui.jar
- Import the newly created project into Eclipse using the default import settings.
- Code for some time, creating some version of my application (for example, in this tutorial, I code until I
ShapeRenderer debug ShapeRenderer and make sure my application looks right) - Launch the Libgdx Android app to test it on your phone.
- Code again, changing things, adding things, anything (even changing images in my assets)
- Launch the Libgdx Android app to test it on your phone
- The application that is displayed is the same as when you first started it in step 4
source share