Search code examples
javaandroidxmlrestart

Android Studio Apply Changes asks if I want to Restart App


"Apply Changes" button was working with another project, but now when I click it I get a popup that says:

"Restart App? The app is already running. Would you like to kill it and restart the session?"

What causes it to want to restart instead of just applying changes?


Solution

  • Here you can find a detailed description of instant run:

    https://developer.android.com/studio/run/index.html#instant-run