Reputation: 57
Both "Recompile Player.java" (a class that has an obviously visible line to change) and "Rebuilt Project" do not seem to rebuild things -- running my application after using either of those does not pick up the changes I made. Quitting IntelliJ and starting it up again does cause the changes to be picked up.
Interestingly, the changes do appear to take effect immediately when I build for desktop, but my primary target is android right now, so I would like to get it working.
It was working correctly a few days ago. At the time that the misbehavior started, I was running 2017.3.
The things I have tried: * upgrading to 2017.5 * updating system and rebooting * uninstalling IntelliJ (removing from the /opt directory), and reinstalling 2017.3 * removing the .idea and .gradle directories from my project directory and then importing the project folder again
I've honestly been having a hard time finding the right google terms for trying to resolve this, and I'm coming up short. I don't think this is due to libgdx since I had a similar problem on occasion (but not always) on Android Studio in the past.
Upvotes: 1
Views: 81
Reputation: 20140
Try to disable Instant Run in Android Studio
To disable Instant Run:
Upvotes: 1