1page.title=USB Driver for Windows 2@jd:body 3 4<div id="qv-wrapper"> 5<div id="qv"> 6 <h2>In this document</h2> 7 <ol> 8 <li><a href="#RevisionNotes">Revision Notes</a></li> 9 <li><a href="#WinUsbDriver">Installing the USB Driver for Windows</a></li> 10 </ol> 11 <h2>See also</h2> 12 <ol> 13 <li><a 14 href="{@docRoot}guide/developing/device.html">Developing on a 15 Device</a></li> 16 <li><a 17 href="adding-components.html">Adding SDK Components</a></li> 18 </ol> 19</div> 20</div> 21 22<p>The USB driver for Windows is a downloadable component for the 23Android SDK. If you are developing on Windows and would like to 24connect an Android-powered device to test your applications, then you will need 25to install the USB driver.</p> 26 27<p>This document provides information about the latest version of the 28USB driver and a guide to installing the driver on your development 29computer.</p> 30 31<p class="note"><strong>Note:</strong> 32If you're developing on Mac OS X or Linux, then you do not need to install a 33USB driver. Refer to <a 34href="{@docRoot}guide/developing/device.html#setting-up">Setting up a 35Device</a> to start development with a device.</p> 36 37<h2 id="RevisionNotes">Revision Notes</h2> 38 39<h4>Revision 2</h4> 40<p>Adds support for the Verizon Droid (or similar hardware on 41other carriers). Released November 2009.</p> 42 43<h4>Revision 1</h4> 44<p>This was the initial release of the WinUsb-based driver, with support 45for the T-Mobile G1 and myTouch 3G (and similar devices).</p> 46 47<h2 id="WinUsbDriver">Installing the USB Driver for Windows</h2> 48 49<div class="sidebox-wrapper"> 50<div class="sidebox-inner"> 51 <p>The USB driver for Windows provides support for the following 52Android-powered 53devices:</p> 54 <ul> 55 <li>T-Mobile G1* / ADP1</li> 56 <li>T-Mobile myTouch 3G* / Google Ion</li> 57 <li>Verizon Droid*</li> 58 </ul> 59 <p>* <em>Or similar hardware on other carriers</em></p> 60 <p>Any additional devices will require Windows drivers provided by 61the hardware manufacturer.</p> 62</div> 63</div> 64 65<p>Before you perform the installation below, you must have the USB 66driver saved to your development computer. To get the USB driver, use 67the AVD and SDK Manager included with the SDK Tools to download the USB driver 68as an SDK component. For more information, read <a 69href="adding-components.html">Adding SDK Components</a>.</p> 70 71<p>Once you have the USB driver saved to your computer, select the 72appropriate procedure below, based on your operating system and whether you're 73installing for the first time or upgrading.</p> 74 75<p>If you are connecting an Android-powered 76device to your computer for the first time, follow the below procedure to 77"Perform a fresh installation." If you have installed one of the older 78USB drivers and would like to upgrade to the latest version, follow the 79procedure to "Upgrade an existing driver."</p> 80 81<p>Once you've completed the USB driver installation, 82please see <a 83href="{@docRoot}guide/developing/device.html">Developing on a Device</a> for 84other important information about using an Android-powered device for 85development.</p> 86 87<ol class="nolist"> 88 <li><strong>Windows Vista:</strong> 89 <ol class="nolist"> 90 <li><a href="#VistaFreshInstall">Perform a fresh installation</a></li> 91 <li><a href="#VistaUprade">Upgrade an existing driver</a></li> 92 </ol> 93 </li> 94 <li><strong>Windows XP:</strong> 95 <ol class="nolist"> 96 <li><a href="#XPFreshInstall">Perform a fresh installation</a></li> 97 <li><a href="#XPUpgrade">Upgrade an existing driver</a></li> 98 </ol> 99 </li> 100</ol> 101 102 103<p class="caution"><strong>Caution:</strong> 104You may make changes to <code>android_winusb.inf</code> file found inside 105<code>usb_driver\</code> (for example, to add support for other devices), 106however, this will lead to security warnings when you install or upgrade the 107driver. Making any other changes to the driver files may break the installation 108process.</p> 109 110<h3 id="VistaFreshInstall">Windows Vista: Perform a fresh installation</h3> 111 112<p>To install the Android USB driver on Windows Vista for the first time:</p> 113 114<ol> 115 <li>Connect your Android-powered device to your computer's USB port. Windows 116 will detect the device and launch the Found New Hardware wizard.</li> 117 <li>Select "Locate and install driver software."</li> 118 <li>Select "Don't search online."</li> 119 <li>Select "I don't have the disk. Show me other options."</li> 120 <li>Select "Browse my computer for driver software."</li> 121 <li>Click "Browse..." and locate the folder where you copied the 122 installation package. As long as you specified the exact location of the 123 installation package, you may leave "Include subfolders" checked or 124 unchecked—it doesn't matter.</li> 125 <li>Click "Next." Vista may prompt you to confirm the privilege elevation 126 required for driver installation. Confirm it.</li> 127 <li>When Vista asks if you'd like to install the Google ADB Interface device, 128 click "Install" to install the driver.</li> 129</ol> 130 131 132<h3 id="VistaUpgrade">Windows Vista: Upgrade an existing driver</h3> 133 134<p>To upgrade an existing Android USB driver on Windows Vista with the new 135driver:</p> 136 137<ol> 138 <li>Connect your Android-powered device to your computer's USB port.</li> 139 <li>Right-click on "Computer" from your desktop or Windows Explorer, 140 and select "Manage."</li> 141 <li>Select "Device Manager" in the left pane of the Computer Management 142 window.</li> 143 <li>Locate and expand "ADB Interface" in the right pane.</li> 144 <li>Right-click on "HTC Dream Composite ADB Interface", and select "Update 145 Driver Software..."</li> 146 <li>When Vista starts updating the driver, a prompt will ask how you want to 147 search for the driver 148 software. Select "Browse my computer for driver software."</li> 149 <li>Click "Browse..." and locate the folder where you copied the 150 installation package. As long as you specified the exact location of the 151 installation package, you may leave "Include subfolders" checked or 152 unchecked—it doesn't matter.</li> 153 <li>Click "Next." Vista may prompt you to confirm the privilege elevation 154 required for driver installation. Confirm it.</li> 155 <li>When Vista asks if you'd like to install the Google ADB Interface device, 156 click "Install" to install the driver.</li> 157</ol> 158 159 160<h3 id="XPFreshInstall">Windows XP: Perform a fresh installation</h3> 161 162<p>To install the Android USB driver on Windows XP for the first time:</p> 163 164<ol> 165 <li>Connect your Android-powered device to your computer's USB port. Windows 166 will detect the device and launch the Hardware Update Wizard.</li> 167 <li>Select "Install from a list or specific location" and click 168 "Next."</li> 169 <li>Select "Search for the best driver in these locations"; un-check "Search 170 removable media"; and check "Include this location in the search."</li> 171 <li>Click "Browse..." and locate the folder where you copied the installation 172 package.</li> 173 <li>Click "Next" to install the driver.</li> 174</ol> 175 176 177<h3 id="XPUpgrade">Windows XP: Upgrade an existing driver</h3> 178 179<p>To upgrade an existing Android USB driver on Windows XP with the new 180driver:</p> 181 182<ol> 183 <li>Connect your Android-powered device to your computer's USB port.</li> 184 <li>Right-click on "My Computer" from your desktop or Windows Explorer, 185 and select "Manage."</li> 186 <li>Select "Device Manager" in the left pane of the Computer Management 187 window.</li> 188 <li>Locate and expand "Android Phone" in the right pane.</li> 189 <li>Right-click "Android Composite ADB Interface" and select "Update 190 Driver..." 191 This will launch the Hardware Update Wizard.</li> 192 <li>Select "Install from a list or specific location" and click 193 "Next."</li> 194 <li>Select "Search for the best driver in these locations"; un-check "Search 195 removable media"; and check "Include this location in the search."</li> 196 <li>Click "Browse..." and locate the folder where you copied the installation 197 package.</li> 198 <li>Click "Next" to install the driver.</li> 199</ol> 200 201