Installing the Win Usb Driver

A WinUsb-based driver is needed in order to use your Android-powered device for development on a Windows machine. The USB installation package can be found in the <sdk>\usb driver\folder of your SDK package.

Note: If you are connecting an Android-powered device to your computer for the first time, folllow the procedure to "Perform a fresh installation." Android SDKs older than version 1.6 included a non-WinUsb-based driver for connecting your device. If you installed the older USB driver and it is working properly, you do not need to upgrade to the new driver. However, if you are having problems with the driver or would simply like to upgrade to the latest version, follow the procedure to "Upgrade an existing driver."

Before you begin installing or upgrading the USB driver, you must copy the USB installation package to a secure location on your computer. For example, you might want to create a directory atC:\Android\Windows\USB\install\ and move it there. Once you've moved

1. Declare your application as "debuggable" in your Android Manifest.

In Eclipse, you can do this from the Application tab when viewing the Manifest (on the right side, set Debuggable to true). Otherwise, in the AndroidManifest.xml file, addandroid:debuggable="true" to the <application> element.

2. Turn on "USB Debugging" on your device.

On the device, go to the home screen, press MENU, select Applications > Development, then enable USB debugging.

the installation package, select the appropriate procedure below, based on your operating system and whether you're installing for the first time or upgrading.

1. Windows Vista:

1. Perform a fresh installation

2. Upgrade an existing driver 2. Windows XP:

1. Perform a fresh installation

2. Upgrade an existing driver

Caution: You may make changes to android winusb.inf file found inside usb driver\ (e.g., to add support for new devices), however, this will lead to security warnings when you install or upgrade the driver. Making any other changes to the driver files may break the installation process.

Windows Vista: Perform a fresh installation

To install the Android USB driver on Windows Vista for the first time:

1. Connect your Android-powered device to your computer's USB port. Windows will detect the device and launch the Found New Hardware wizard.

2. Select "Locate and install driver software."

3. Select "Don't search online."

4. Select "I don't have the disk. Show me other options."

5. Select "Browse my computer for driver software."

6. Click "Browse..." and locate the folder where you copied the installation package. As long as you specified the exact location of the installation package, you may leave "Include subfolders" checked or unchecked—it doesn't matter.

7. Click "Next." Vista may prompt you to confirm the privilege elevation required for driver installation. Confirm it.

8. When Vista asks if you'd like to install the Google ADB Interface device, click "Install" to install the driver. Return to Setting up a Device for Development.

Windows Vista: Upgrade an existing driver

To upgrade an existing Android USB driver on Windows Vista with the new one:

1. Connect your Android-powered device to your computer's USB port.

2. Right-click on "Computer" from your desktop or Windows Explorer, and select "Manage."

3. Select "Device Manager" in the left pane of the Computer Management window.

4. Locate and expand "ADB Interface" in the right pane.

5. Right-click on "HTC Dream Composite ADB Interface", and select "Update Driver Software..."

6. When Vista starts updating the driver, a prompt will ask how you want to search for the driver software. Select "Browse my computer for driver software."

7. Click "Browse..." and locate the folder where you copied the installation package. As long as you specified the exact location of the installation package, you may leave "Include subfolders" checked or unchecked—it doesn't matter.

8. Click "Next." Vista may prompt you to confirm the privilege elevation required for driver installation. Confirm it.

9. When Vista asks if you'd like to install the Google ADB Interface device, click "Install" to install the driver. Return to Setting up a Device for Development.

Windows XP: Perform a fresh installation

To install the Android USB driver on Windows XP for the first time:

1. Connect your Android-powered device to your computer's USB port.

2. Right-click on "My Computer" from your desktop or Windows Explorer, and select "Manage."

3. Select "Device Manager" in the left pane of the Computer Management window.

4. Locate and expand "Android Phone" in the right pane.

5. Right-click "Android Composite ADB Interface" and select "Update Driver..." This will launch the Hardware Update Wizard.

6. Select "Install from a list or specific location" and click "Next."

7. Select "Search for the best driver in these locations"; uncheck "Search removable media"; and check "Include this location in the search."

8. Click "Browse..." and locate the folder where you copied the installation package.

9. Click "Next" to install the driver.

1. Connect your Android-powered device to your computer's USB port. Windows will detect the device and launch the Hardware Update Wizard.

2. Select "Install from a list or specific location" and click "Next."

3. Select "Search for the best driver in these locations"; uncheck "Search removable media"; and check "Include this location in the search."

4. Click "Browse..." and locate the folder where you copied the installation package.

5. Click "Next" to install the driver.

Return to Setting up a Device for Development.

Windows XP: Upgrade an existing driver

To upgrade an existing Android USB driver on Windows XP with the new one:

+2 0

Responses

Post a comment