Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse "Android Device Chooser" - Red cross infront of all devices in Target column

Tags:

java

android

when I run my android development project (with eclipse) at the time when the android device chooser loads, it shows my running emulator and the device followed by a red cross as indicated in the following screenshot.

enter image description here

But when I select the device and run, it installs it and run properly.

In the manifest file I have included the followings.

<uses-sdk
    android:minSdkVersion="4"
    android:targetSdkVersion="15" />

Just to test I created another new test app project and while creating the new project I selected minSdkVersion and targetSdkVersion with the same values. So in the manifest file both are same.

<uses-sdk
    android:minSdkVersion="4"
    android:targetSdkVersion="15" />

But the thing is when I run the new test app, it shows the device and the running emulator in proper way with a green tick as follows. Also it shows the device list available under "Launch a new Android Virtual Device" section. Bit confused with this and trying to sort out this. Have anyone experienced this before. Appreciate any help to get this done. Thanks inadvance..!!!

enter image description here

like image 849
JibW Avatar asked Oct 22 '22 20:10

JibW


1 Answers

Try these in the same order and update the result:

  1. Run adb kill-server and adb start-server and see if that fixes it.
  2. Let Eclipse run your emulator instead of running it manually.
  3. Recreate your AVD with older versions of the SDK and see if it works.
like image 185
Gridtestmail Avatar answered Oct 30 '22 22:10

Gridtestmail