Eclipse won't recognize my android phone -> Can't debug

Mistefix picture Mistefix · Sep 10, 2011 · Viewed 14.8k times · Source

All of a sudden Eclipse stopped recognizing my android device. So when I hit the Play-Button I get the following message:

No compatible targets were found. Do you wish to add a new Android Virtual Device?

Strangely on my device it says that USB-Debugging is connected, as soon as I plug it into my macbook.

What could be the problem here? Thanks!

PS: I'm using a Samsung Galaxy i5800 and a MacbookPro.

Answer

Maciek Sawicki picture Maciek Sawicki · Sep 10, 2011

First of all you should check if your adb daemon is run (I assume you have android sdk installed). Please try taping this in terminal:

adb devices

And if there is nothing after List of devices attached try restarting server:

sudo adb kill-server
sudo adb devices