简体   繁体   中英

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

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.

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

I recently discovered that I had switched a looking mini-usb power cable with a mini-usb data cable (the former was to recharge a bluetooth keyboard for a Nexus 7). Very, very frustrating, as the cables seem to be identical minus a data wire (as there doesn't seem to be a way to tell without switching cables (IE, there's no indicator that yes, the phone is plugged in, but it isn't communicating (as opposed to being a driver problem))).

Im using a samsung galaxy s3. I had the same problem. found out that the reason it read the phone in the first place was cause i was teathering. So i selected teather and that solved it.

I had the same problem. When I re-installed my Windows, I forgot to install the driver for my phone. The general usb driver was not enough - the one provided by the factory also needs to be installed. In my case I had to download PC Companion for my Xperia. Samsung has Kies.

my celkon a85 android mobile also not detected by eclipse even after enabled usb debugging. there is no driver cd for such mobiles, windows says no wizard found to install. but "pdaNet for android" software helped to detect my phone.u can find that software here . just download it , and install with its guide, it will automatically install driver software for your android mobiles like celkon,micromax,etc., and this software helps your android phone to act as modem(like nokia pc suit ). u can connect interent in pc using your mobile network.

I work on Linux and was able to get the message that too many files were open. I'm too stupid to know how to close them. So I rebooted my laptop and eclipse then recognized my phone again. I know there are admin terminal tools for closing files in Unix that would save you the reboot if you had to do this often. In my case, it may be the webviews caching, which I adjusted.

Judging by the other suggestions, open files may be only one of the problems that causes this disruption.

I am using Samsung Gio, android version 2.3.6, Linux Mint and Eclipse 3.8.0 . The link Maciek posted worked for me ( https://android.stackexchange.com/questions/4322/my-samsung-galaxy-3-gt-i5801-is-not-being-detected-by-my-pc-what-should-id ). thx!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM