Loading docs/html/tools/device.jd +14 −6 Original line number Diff line number Diff line Loading @@ -27,7 +27,7 @@ environment and Android-powered device for testing and debugging on the device.< <p>You can use any Android-powered device as an environment for running, debugging, and testing your applications. The tools included in the SDK make it easy to install and run your application on the device each time you compile. You can install your application on the device directly from Eclipse or from the command line with ADB. If device directly from Android Studio or from the command line with ADB. If you don't yet have a device, check with the service providers in your area to determine which Android-powered devices are available.</p> Loading Loading @@ -73,13 +73,21 @@ screen to find Developer options at the bottom.</p> would on the emulator. Before you can start, there are just a few things to do:</p> <ol> <li>Declare your application as "debuggable" in your Android Manifest. <p>When using Eclipse, you can skip this step, because running your app directly from the Eclipse IDE automatically enables debugging.</p> <li>Verify that your application is "debuggable" in your manifest or <em>build.gradle</em> file. <p>In the build file, make sure the <em>debuggable</em> property in the <em>debug</em> build type is set to true. The build type property overrides the manifest setting. </p> <pre> android { buildTypes { debug { debuggable true } </pre> <p>In the <code>AndroidManifest.xml</code> file, add <code>android:debuggable="true"</code> to the <code><application></code> element.</p> <p class="note"><strong>Note:</strong> If you manually enable debugging in the manifest file, be sure to disable it before you build for release (your published application file, be sure to disable it in your release build (your published application should usually <em>not</em> be debuggable).</p></li> <li>Enable <strong>USB debugging</strong> on your device. <ul> Loading Loading @@ -148,7 +156,7 @@ higher.</p> devices</code> from your SDK {@code platform-tools/} directory. If connected, you'll see the device name listed as a "device."</p> <p>If using Eclipse, run or debug your application as usual. You will be <p>If using Android Studio, run or debug your application as usual. You will be presented with a <b>Device Chooser</b> dialog that lists the available emulator(s) and connected device(s). Select the device upon which you want to install and run the application.</p> Loading docs/html/tools/extras/oem-usb.jd +0 −46 Original line number Diff line number Diff line Loading @@ -8,7 +8,6 @@ page.title=OEM USB Drivers <li><a href="#InstallingDriver">Installing a USB Driver</a> <ol> <li><a href="#Win7">Windows 7</a></li> <li><a href="#WinXp">Windows XP</a></li> <li><a href="#WinVista">Windows Vista</a></li> </ol> </li> Loading Loading @@ -58,7 +57,6 @@ development.</p> <ol class="nolist"> <li><a href="#Win7">Windows 7</a></li> <li><a href="#WinXp">Windows XP</a></li> <li><a href="#WinVista">Windows Vista</a></li> </ol> Loading Loading @@ -116,50 +114,6 @@ Driver is located in {@code <sdk>\extras\google\usb_driver\}.)</li> <h3 id="WinXp">Windows XP</h3> <p>To install the Android USB driver on Windows XP for the first time:</p> <ol> <li>Connect your Android-powered device to your computer's USB port. Windows will detect the device and launch the Hardware Update Wizard.</li> <li>Select <strong>Install from a list or specific location</strong> and click <strong>Next</strong>.</li> <li>Select <strong>Search for the best driver in these locations</strong>; un-check <strong>Search removable media</strong>; and check <strong>Include this location in the search</strong>.</li> <li>Click <strong>Browse</strong> and locate the USB driver folder. (The Google USB Driver is located in {@code <sdk>\extras\google\usb_driver\}.)</li> <li>Click <strong>Next</strong> to install the driver.</li> </ol> <p>Or, to <em>upgrade</em> an existing Android USB driver on Windows XP with the new driver:</p> <ol> <li>Connect your Android-powered device to your computer's USB port.</li> <li>Right-click on <em>My Computer</em> from your desktop or Windows Explorer, and select <strong>Manage</strong>.</li> <li>Select <strong>Device Manager</strong> in the left pane.</li> <li>Locate and expand <em>Android Phone</em> in the right pane.</li> <li>Right-click <em>Android Composite ADB Interface</em> and select <strong>Update Driver</strong>. This will launch the Hardware Update Wizard.</li> <li>Select <strong>Install from a list or specific location</strong> and click <strong>Next</strong>.</li> <li>Select <strong>Search for the best driver in these locations</strong>; un-check <strong>Search removable media</strong>; and check <strong>Include this location in the search</strong>.</li> <li>Click <strong>Browse</strong> and locate the USB driver folder. (The Google USB Driver is located in {@code <sdk>\extras\google\usb_driver\}.)</li> <li>Click <strong>Next</strong> to upgrade the driver.</li> </ol> <h3 id="WinVista">Windows Vista</h3> <p>To install the Android USB driver on Windows Vista for the first time:</p> Loading Loading
docs/html/tools/device.jd +14 −6 Original line number Diff line number Diff line Loading @@ -27,7 +27,7 @@ environment and Android-powered device for testing and debugging on the device.< <p>You can use any Android-powered device as an environment for running, debugging, and testing your applications. The tools included in the SDK make it easy to install and run your application on the device each time you compile. You can install your application on the device directly from Eclipse or from the command line with ADB. If device directly from Android Studio or from the command line with ADB. If you don't yet have a device, check with the service providers in your area to determine which Android-powered devices are available.</p> Loading Loading @@ -73,13 +73,21 @@ screen to find Developer options at the bottom.</p> would on the emulator. Before you can start, there are just a few things to do:</p> <ol> <li>Declare your application as "debuggable" in your Android Manifest. <p>When using Eclipse, you can skip this step, because running your app directly from the Eclipse IDE automatically enables debugging.</p> <li>Verify that your application is "debuggable" in your manifest or <em>build.gradle</em> file. <p>In the build file, make sure the <em>debuggable</em> property in the <em>debug</em> build type is set to true. The build type property overrides the manifest setting. </p> <pre> android { buildTypes { debug { debuggable true } </pre> <p>In the <code>AndroidManifest.xml</code> file, add <code>android:debuggable="true"</code> to the <code><application></code> element.</p> <p class="note"><strong>Note:</strong> If you manually enable debugging in the manifest file, be sure to disable it before you build for release (your published application file, be sure to disable it in your release build (your published application should usually <em>not</em> be debuggable).</p></li> <li>Enable <strong>USB debugging</strong> on your device. <ul> Loading Loading @@ -148,7 +156,7 @@ higher.</p> devices</code> from your SDK {@code platform-tools/} directory. If connected, you'll see the device name listed as a "device."</p> <p>If using Eclipse, run or debug your application as usual. You will be <p>If using Android Studio, run or debug your application as usual. You will be presented with a <b>Device Chooser</b> dialog that lists the available emulator(s) and connected device(s). Select the device upon which you want to install and run the application.</p> Loading
docs/html/tools/extras/oem-usb.jd +0 −46 Original line number Diff line number Diff line Loading @@ -8,7 +8,6 @@ page.title=OEM USB Drivers <li><a href="#InstallingDriver">Installing a USB Driver</a> <ol> <li><a href="#Win7">Windows 7</a></li> <li><a href="#WinXp">Windows XP</a></li> <li><a href="#WinVista">Windows Vista</a></li> </ol> </li> Loading Loading @@ -58,7 +57,6 @@ development.</p> <ol class="nolist"> <li><a href="#Win7">Windows 7</a></li> <li><a href="#WinXp">Windows XP</a></li> <li><a href="#WinVista">Windows Vista</a></li> </ol> Loading Loading @@ -116,50 +114,6 @@ Driver is located in {@code <sdk>\extras\google\usb_driver\}.)</li> <h3 id="WinXp">Windows XP</h3> <p>To install the Android USB driver on Windows XP for the first time:</p> <ol> <li>Connect your Android-powered device to your computer's USB port. Windows will detect the device and launch the Hardware Update Wizard.</li> <li>Select <strong>Install from a list or specific location</strong> and click <strong>Next</strong>.</li> <li>Select <strong>Search for the best driver in these locations</strong>; un-check <strong>Search removable media</strong>; and check <strong>Include this location in the search</strong>.</li> <li>Click <strong>Browse</strong> and locate the USB driver folder. (The Google USB Driver is located in {@code <sdk>\extras\google\usb_driver\}.)</li> <li>Click <strong>Next</strong> to install the driver.</li> </ol> <p>Or, to <em>upgrade</em> an existing Android USB driver on Windows XP with the new driver:</p> <ol> <li>Connect your Android-powered device to your computer's USB port.</li> <li>Right-click on <em>My Computer</em> from your desktop or Windows Explorer, and select <strong>Manage</strong>.</li> <li>Select <strong>Device Manager</strong> in the left pane.</li> <li>Locate and expand <em>Android Phone</em> in the right pane.</li> <li>Right-click <em>Android Composite ADB Interface</em> and select <strong>Update Driver</strong>. This will launch the Hardware Update Wizard.</li> <li>Select <strong>Install from a list or specific location</strong> and click <strong>Next</strong>.</li> <li>Select <strong>Search for the best driver in these locations</strong>; un-check <strong>Search removable media</strong>; and check <strong>Include this location in the search</strong>.</li> <li>Click <strong>Browse</strong> and locate the USB driver folder. (The Google USB Driver is located in {@code <sdk>\extras\google\usb_driver\}.)</li> <li>Click <strong>Next</strong> to upgrade the driver.</li> </ol> <h3 id="WinVista">Windows Vista</h3> <p>To install the Android USB driver on Windows Vista for the first time:</p> Loading