diff --git a/docs/html/tools/device.jd b/docs/html/tools/device.jd index 89b3857ab6e69..5d8d3842008a1 100644 --- a/docs/html/tools/device.jd +++ b/docs/html/tools/device.jd @@ -27,7 +27,7 @@ environment and Android-powered device for testing and debugging on the device.<
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.
@@ -73,13 +73,21 @@ screen to find Developer options at the bottom. would on the emulator. Before you can start, there are just a few things to do:When using Eclipse, you can skip this step, because running your app directly from -the Eclipse IDE automatically enables debugging.
+In the build file, make sure the debuggable property in the debug build + type is set to true. The build type property overrides the manifest setting.
+
+android {
+ buildTypes {
+ debug {
+ debuggable true
+ }
+
+
In the AndroidManifest.xml file, add android:debuggable="true" to
the <application> element.
Note: 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 not be debuggable).
If using Eclipse, run or debug your application as usual. You will be +
If using Android Studio, run or debug your application as usual. You will be presented with a Device Chooser dialog that lists the available emulator(s) and connected device(s). Select the device upon which you want to install and run the application.
diff --git a/docs/html/tools/extras/oem-usb.jd b/docs/html/tools/extras/oem-usb.jd index e0bbf335d89bc..b25b41e82c27d 100644 --- a/docs/html/tools/extras/oem-usb.jd +++ b/docs/html/tools/extras/oem-usb.jd @@ -8,7 +8,6 @@ page.title=OEM USB DriversTo install the Android USB driver on Windows XP for the first time:
- -Or, to upgrade an existing Android USB driver on Windows XP with the new -driver:
- -To install the Android USB driver on Windows Vista for the first time: