简体   繁体   中英

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.

自动生成的minsdv版本是10,而我的设备是8。将其更改为8可以立即修复...

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.

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.

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.

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