Skip to content

Obviate.io

To anticipate and prevent

  • Home
  • About Us
  • History
  • Privacy Policy
  • Toggle search form

Developing on an Android device under Windows 7

Posted on 2010-04-22 By Jon No Comments on Developing on an Android device under Windows 7

One of the first things I did after getting my shiny new Nexus One was to plug it into my computer for development. After all, development was the entire reason I bought this very expensive new toy (well, it might not be the only reason, but it is the one I use to justify actually plunking down and buying it when I already had a fine and functional iPhone). I thought it would be as simple as plugging in the device and going, unfortunately it wasn’t quite that easy. The instructions on developer.android.com aren’t very good — especially since they leave out the very critical step of turning on USB debug on the phone. Since I had to stab my way through this, I thought I’d share the process with you. One important note: Have the Android SDK downloaded & updated already (that includes the USB drivers).

  • Plug phone in to your computer
  • On the phone — Open Settings
  • Applications
  • Development
  • Check “USB Debugging”
  • Click OK
  • On your computer — Right click on My Computer
  • Manage
  • Go to Device Manager
  • Find “Other Devices”
  • Right Click on “Nexus One”
  • Click “Update Driver Software”
  • Click “Browse my computer for driver software”
  • Select the location in which you installed the SDK, and previously downloaded the sdk
  • Click Next
  • When windows security prompts you, click “Install”
  • After a few minutes, you’ll be able to close the window
  • Launch a Command prompt (Start > Run > cmd)
  • Change to your sdk install location \tools
  • enter “adb devices”

At this point it should read something like “HT02LP901416 device”. As long as it doesn’t start with “emulator-“, you’re good to go. If not, it still isn’t recognizing your phone.

If you haven’t already, you need to add android:debuggable=”true” under of your AndroidManifest.xml file. Now you should be able to simply go into build your application normally. When it goes to deploy, it will automatically deploy to the device instead of launching an emulator. Good luck & happy developing.

Android, Code, Hardware Tags:android sdk, debug, developing, iphone, nexus one, sdk

Post navigation

Previous Post: Video: First impressions of the Nexus One (AT&T)
Next Post: Jon’s Broken, come back on Monday

More Related Articles

Quick Review: Sipdroid Android
Your iPhone 5 prep-kit Apple
Video: First impressions of the Nexus One (AT&T) Android

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

April 2010
S M T W T F S
 123
45678910
11121314151617
18192021222324
252627282930  
« Mar   May »

Copyright © 2022 Obviate.io

Powered by PressBook Premium theme