Note that there are some explanatory texts on larger screens.

plurals
  1. POChanges in code aren't reflected when I run Libgdx project on Android
    primarykey
    data
    text
    <p>I've been following the Libgdx tutorial <a href="http://obviam.net/index.php/getting-started-in-android-game-development-with-libgdx-create-a-working-prototype-in-a-day-tutorial-part-1/" rel="nofollow" title="Getting Started in Android Game Development with libgdx – Create a Working Prototype in a Day – Tutorial Part 1">here</a> and I'm running into a strange problem. Due to the constraints of my work environment, I can't download OpenGL drivers on my desktop, so I can't test my application on the desktop. I have to test it on my Android device. It's running some variation of an Android 2.3.4 build, which is API level 10.</p> <p>The problem is, whenever I make changes to my code and run the Android application, the changes aren't reflected. It just starts the build it installed the first time I ran my code. I uninstalled the app on my Android and re-ran it, running into the same problem. I made an entirely fresh Libgdx project and copied my new code over to it, and it worked fine, until I made more changes to the new version, then I ran into the same problem. So I know for a fact that the code I'm changing is making a difference in how it should look, it just isn't being reflected. Is there something I'm missing?</p> <p>My steps, to clarify:</p> <ol> <li>Set up a Libgdx project with gdx-setup-ui.jar</li> <li>Import the newly created project to Eclipse using the default import settings</li> <li>Code for a while, creating some version of my application (for instance, in that tutorial, I code till I set up the debug <code>ShapeRenderer</code>, and test to make sure my app looks right)</li> <li>Run the Libgdx Android application to test it on my phone</li> <li>Code some more, changing things, adding things, whatever (even changing images in my assets)</li> <li>Re-run the Libgdx Android application to test it on my phone <ul> <li>The application that shows up is the same as it was when I ran it the first time in step 4</li> </ul></li> </ol>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload