Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change target emulator in Android Studio?

I have several genymotion emulators for different API levels. The problem is this:

  1. I run the app on a single emulator with the option 'same device for future launches' checked.
  2. I open another emulator.
  3. I run the the app again.

After this, the app only runs on the first emulator and I can't figure out how do I show the dialog (select target) again to run the app on both emulators.

like image 577
Sid Go Avatar asked Apr 01 '16 15:04

Sid Go


People also ask

How do I change the default emulator in Android Studio?

In Android Studio 1.2. 2, I was able to solve this problem by going to Run > Edit configurations... From there, you can change the default emulator (avd) by clicking Defaults, then Android Application. From there, under Target Device, select your Preferred Android Virtual Device then click Apply or OK.

How do I change my device on emulator?

In Android Studio go to “Tools (Menu Bar) >Android > AVD Manager. Click on the “Create Virtual Device” button. Select “Phone” or “Tablet” as Category and select the device which you want to use to make a Virtual Device. Then click on the “Next” button.

Where is emulator settings in Android Studio?

Setting Up the Android Emulator Select Tools > SDK Manager. Then, from the settings window, choose Android Emulator.


1 Answers

Click RunEdit Configurations...

Edit Configurations

Then uncheck Use same device for future launches

Use same device for future launches

As mentioned by @B-GangsteR, you can also launch your app on multiple devices at the same time. To do this, select targets using ctrl key.

multiple targets

like image 184
F43nd1r Avatar answered Sep 22 '22 07:09

F43nd1r