Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to manually select target device in Android Studio 2.2?

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.

This is what the run config looks like

like image 807
edughofaili Avatar asked Sep 23 '16 22:09

edughofaili


3 Answers

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".

like image 129
plavozont Avatar answered Nov 16 '22 07:11

plavozont


enter image description here

You have to stop your app before, next you can run the app again now android studio will ask you again.

like image 43
David Gonzalez Avatar answered Nov 16 '22 08:11

David Gonzalez


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.

like image 43
edughofaili Avatar answered Nov 16 '22 07:11

edughofaili