Afeef
Afeef

Reputation: 91

Android Studio only save changes by clicking "Run" twice

My android studio does not save changes after clicking "Run App". it does after running the app twice! Can Anyone help? Thank you

Upvotes: 1

Views: 150

Answers (1)

oemel09
oemel09

Reputation: 763

I'm having the same issue.
I fixed it by disabling the hot-swap agent for Groovy code.

You can do so by going to Settings -> Build, Execution, Deployment -> Debugger -> HotSwap and then remove the checkmark at Enable hot-swap agent for Groovy code

For sure not the best solution, but always running the app twice is also quite annoying...

Upvotes: 1

Related Questions