In android studio 2.2, how do I switch the device I am running my application on?
Before the update (to 2.2) a pop window will ask me which device I want to run my application on every time I hit run. Now it automatically runs it on the same device without asking.
On Run > Edit Configurations > app > Deployment Target Options, I have "Use same device for future launches" unchecked.
Currently I am unplugging the last run device in order for the device select pop-up to show.
Press the little [app] button (between the hammer and the play button in the toolbar) -> Edit configurations... -> In the "General" tab, in the "Deployment target Options" uncheck "Use same device for future launches".
You have to stop your app before, next you can run the app again now android studio will ask you again.
I had to disable Instant Run. Now the target device select show up every time I run the app. To disable Instant Run go to File>Settings>Build,Execution,Deployment>Instant Run, uncheck "Enable Instant Run ...."
Edit: A better answer is provided by David Gonzalez.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With