-2

I have a real device and an emulator. When i first install the app , the IDE asks me to select between the two but on subsequent runs it does not ask me to choose. How do i get it to ask me every time? I tried clicking on stop app , but the problem persists.

Dishonered
  • 8,449
  • 9
  • 37
  • 50
  • 1
    Here you go (*Go to Run>Edit Configurations > Deployment Target Options and uncheck "Use same device for future"*) https://stackoverflow.com/questions/36541902/device-chooser-dialog-is-not-showing-up-after-instant-run – Rohit5k2 Jun 25 '18 at 06:44
  • Thanks ! It worked. – Dishonered Jun 25 '18 at 06:50

3 Answers3

2

It's very easy. In android studio please click your app name dropdown showing at the top menu then click edit configurations and unselect use same device for future launches

enter image description here

Umair
  • 6,366
  • 15
  • 42
  • 50
1

You can change it from Run -> Edit Configuration -> Deployment Target Options

gokhan
  • 627
  • 1
  • 6
  • 16
0

Make sure you are stopping your app before next run. (You can find stop option on the same tools section )

Suraj
  • 165
  • 2
  • 11