Still no solution for sending android app from Win 7 to LG Optimus V
We have a Dell MT560 running Windows 7 with Eclipse, JDK, and the And开发者_如何学Goroid SDK. At the other end of the USB cable is an LG Optimus V Android phone. We wrote a tiny app and all it does is display "Hello Ron". This works perfectly on the emulator, but we are having no success sending the app to the phone. The phone does state that the USB connection is successful. Windows Explorer does see the phone, because it treats the phone as an "I:" disk drive, and shows in Windows the folders that exist on the phone. But DDMS on Eclipse does not list the phone as a connected device. The docs on developer.ansdroid.sdk instruct us to do a "Run" and that then a Device Chooser dialog should appear where we can choose to run the app on the phone arther than the emulator, but that does not happen. We have edited the Eclipse manifest to indicate "Debuggable=True". We also upgraded the BIOS on our Dell to the latest version, "A06". Not sure what else to try. Four people kindly responded to my post earlier today, and we tried all their suggestions, to no avail.
Hopefully, someone out there can help figure out what mistakes we are making, please. Or if someone wants to walk us through it on the phone, that would be even better. Regards, Ron and Diane
Sounds like you need to put the phone into debug mode:
Settings - Applications - Development - USB debugging - enable it.
You can do two things:
1) Delete the already existing emulator on eclipse. By doing this, it will surely prompt for the device to Run when you connect your phone via usb and try to run the project.
2) Export the application as an .apk file. This can then be installed after transferring the file to the phone.
Hope this helps!
I had the same trouble and I found a kind of solution
- Enable your cellphone in debugging mode
- Download the driver in the next link http://www.lg.com/us/mobile-phones/mobile-support/mobile-lg-mobile-phone-support.jsp If you do not find the driver try to download something similar(it was my case... I have a LG- E425 and I downloaded the driver for LG-E739 device).
- Connect your cellphone in your PC and then execute the driver
- Delete the already existing emulator on eclipse
- Run your project and if all is ok eclipse will recognize your device
I wish this steps can help you
Sorry for my English
精彩评论