tatiana_c
tatiana_c

Reputation: 958

Run application in Eclipse opens a new copy of the emulator instead of the running one

I have some new strange Eclipse behavior from yesterday. When I want to run an application and click on the green arrow (the run icon), it opens additional emulator copy instead to run application. I deleted from avd folder snapshot and user-data images, but I still have this bug. Any ideas why it happened and how I can solve this issue?

Upvotes: 3

Views: 1420

Answers (2)

Umar Qureshi
Umar Qureshi

Reputation: 6115

click on the down arrow beside that green play button and select the option "Run Configurations..." when window opens selct the tab "target" beside android tab and then below the line "Deployement Target Selection Mode" select the radio button having title "Manual" and the click "Apply" button which is at bottom and then close the window. so next time whenever you click the run button (Green Button with play icon) the eclips will ask you to run the project on a running emulator or start a new emulator to run project. i think this can solve your problem.

Upvotes: 5

Abhinava
Abhinava

Reputation: 1030

  1. Please verify that you are running the correct version of AVD.

  2. Please check if your adb is running properly.

Some times all you need to do is force restart your adb

use commands

adb kill-server

adb start-server

this should help, as its gonna restart your adb.

In case you are still not able to find the devices under ddms control try to see if your firewall if blocking the adb connection.

Upvotes: 2

Related Questions