HotSwap not working on Android Studio?

591 views Asked by At

I'm making a simple Java project with Android Studio(NOT an android project). I run it with debugger, add a print message in loop's method body, click ctrl+F9 to build it and nothing happens. What can be wrong?

1

There are 1 answers

1
Matteus Magnusson On

The only found this answer: http://www.badlogicgames.com/forum/viewtopic.php?f=11&t=20859

  • Go to settings -> Plugin
  • Disable Android Support plugin

The problem is that Android Studio

... would create "android-gradle" facets instead of regular "gradle" facets for libgdx [my] modules

Hopefully they will fix this so you don't have to disable the 'Android' plugin in the future for hotswapping to work.