Cannot use your Android mobile phone for debugging your Android app
Mittwoch, April 28th, 2010
Yay, it’s time for another english post. I think I will write all my android posts in english to reach a broader audience.
I experienced some annoying issues when I tried to debug my Android app which is currently in development. The problem was, that my device was not found as an debuggable device on my computer when I wanted to deploy my app (though I have configured it correctly). I’ve set up the environment as described in the SDK but windows told me that it had a newer usb driver installed than the usb development driver delivered through the sdk. If this happens to you too, then you probably have already used your phone as an usb device before installing the development driver of the sdk. At this point windows is very picky and thinks that its already installed driver is newer than your sdk driver.
In order to fix this you’ll have to use a nifty small tool which is called USBDeview. You can run this right out of the zip. But before you do so unplug your mobile device first! Now open the program and it will scan all installed USB devices on your system:
Select all entries which are labeled as Android Phone and click on File -> Uninstall selected devices
Now plug your mobile phone back in the computer and install the USB sdk driver as instructed in the SDK Guide. Congrats you now have a debuggable android phone!
Category Coding | Tags: Tags: android, Google, mobile phone, sdk,
Social Networks: Facebook, Twitter, Google Bookmarks, del.icio.us, StumbleUpon, Digg, Reddit, Posterous.

