Umair Ayub
Umair Ayub

Reputation: 21231

Run app on currently running emulator (Android)

I am beginner to Android. I have an emulator running currently. I created an android app. When I run that app, it starts starting a new emulator and running in that new emulator. But, I want to run that app in the same emulator that is being run.

Upvotes: 1

Views: 1714

Answers (3)

Bananeweizen
Bananeweizen

Reputation: 22070

Open the run configuration you created, select the "Target" tab. Choose the radio button "Launch on all compatible devices/AVDs". Switch the combo box below that radio button to "Active AVDs".

This will start your app on all currently running emulators.

Upvotes: 3

Emil Adz
Emil Adz

Reputation: 41099

If you don't have any device under the Target section. You can try to restart the AVD manager. to do this open your command prompt and enter the following command:

adb kill-server

this will stop the AVD Manager service.

then enter:

adb start-server

or

adb logcat

to start the service again. Then check if you can add your AVD as a Target.

Upvotes: 1

thepoosh
thepoosh

Reputation: 12587

try going into the "Run Configurations" via the arrow attached to the run button in Eclipse.

then. under "Target" you can choose the "Always prompt to pick device".
this will allow you to choose any running emulator or device.

Upvotes: -1

Related Questions