Anthony Elliott
Anthony Elliott

Reputation: 3011

Eclipse doesn't recognize Android device but adb does

I'm using the ADT bundled version of Eclipse and using PhoneGap to develop the app. adb devices recognizes my device and I am able to debug the app onto my phone using the command line with PhoneGap (phonegap run android --device) as well as onto the emulator.

Eclipse is able to run it onto the emulator but doesn't recognize my device.

Drivers are installed. Using Windows 8. ADT version of Eclipse. Device is an LG-P509 running Android 2.2. USB debugging is enabled.

Upvotes: 2

Views: 1607

Answers (4)

Tyrk
Tyrk

Reputation: 1

Had the same problem, finally solved it. What did the trick was lowering both "minSdkVersion" and "targetSdkVersion" for my app. Apparently they were both too high at first for my device. Set them both as low as possible and see if that changes something.

Upvotes: 0

silvia_aut
silvia_aut

Reputation: 1493

I'm working with LG P700 and at beginning eclipse also dont recognize my phone. I searched for a driver and installed it. This was solving my problem.

Maybe you should also install the drivers again.

http://www.lg.com/us/support-mobile/lg-LGP509

Hope it will help.

Upvotes: 0

Anthony Elliott
Anthony Elliott

Reputation: 3011

The autogenerated minsdv version was 10 and my device is 8. Changing this down to 8 fixed it right away...

Upvotes: 1

Alec Teal
Alec Teal

Reputation: 5928

This is a weird one but see my answer here:

Eclipse not recognizing my android phone - says target unknown

I know, I discovered it by fluke, change how the memory stick mounts and somehow it works. I hope this helps, adb used to see my desire HD, but it was Android 2.3 eclipse wouldn't until I fiddled with the memory stick mount settings. If this doesn't help tell me via comments and I'll ask for more info and such but this weird fix often works for me.

Upvotes: 0

Related Questions