Debugging an Android app in Eclipse using the handset
I am just starting to learn Android development using the Android SDK and Eclipse. I can get my HelloWorld starting app to run in the device emulator, but not on my Verizon Droid handset. I have downloaded the drivers for Windows 7 and I can see the files on the handset in Windows Explorer, so I'm assuming I have the drivers working. I have enabled the USB Debugging on t开发者_JAVA技巧he handset.
The problem is that when I set the Debug mode to Manual in Eclipse, I do not see my device in the "Choose device" list. What am I missing?
Before you connect the handset, do you have the handset drivers installed on the PC? If so, without running the Eclipse if you connect the handset to PC, does a pop up show up on bottom right saying "your drivers are installed and your device is ready to use"? (assuming windows development environment)
Before developing/testing on handset you should be able to seamlessly establish handset and PC connectivity. Only then will you be able to use handset for Android development.
Try Installing Samsung Kies. When installing Kies, it utomatically install the drivers for your device.I faced the similar issue before insatalling kies, after installing it.my problem is slved, i am able to see the device in eclipse in DDMS perspective.
精彩评论