summaryrefslogtreecommitdiffstats
path: root/docs/html/tools/help
diff options
context:
space:
mode:
authorsmain@google.com <smain@google.com>2014-06-19 10:57:11 -0700
committersmain@google.com <smain@google.com>2014-06-19 11:58:35 -0700
commitb6974e9261f9d0bb4af39950496428cd2b45eb6d (patch)
tree83268535b1b6a64c63439cdf6f905bafba48ffc5 /docs/html/tools/help
parent4d521ed9663a7a4f938b3c09f06af557614ca3d3 (diff)
downloadframeworks_base-b6974e9261f9d0bb4af39950496428cd2b45eb6d.zip
frameworks_base-b6974e9261f9d0bb4af39950496428cd2b45eb6d.tar.gz
frameworks_base-b6974e9261f9d0bb4af39950496428cd2b45eb6d.tar.bz2
add info about enabling USB debugging to adb doc.
part of initiative to document the flash process for L preview. Change-Id: I5177ba63d1cb2f291002b0fdb0b0209ca9e17072
Diffstat (limited to 'docs/html/tools/help')
-rw-r--r--docs/html/tools/help/adb.jd19
1 files changed, 19 insertions, 0 deletions
diff --git a/docs/html/tools/help/adb.jd b/docs/html/tools/help/adb.jd
index c339943..9eed3eb 100644
--- a/docs/html/tools/help/adb.jd
+++ b/docs/html/tools/help/adb.jd
@@ -8,6 +8,7 @@ page.tags="adb"
<div id="qv">
<h2>In this document</h2>
<ol>
+ <li><a href="#Enabling">Enabling adb Debugging</a></li>
<li><a href="#issuingcommands">Syntax</a></li>
<li><a href="#commandsummary">Commands</a></li>
<li><a href="#devicestatus">Querying for Emulator/Device Instances</a></li>
@@ -72,6 +73,19 @@ instances and handles commands from multiple adb clients, you can control any em
instance from any client (or from a script).</p>
+<h2 id="Enabling">Enabling adb Debugging</h2>
+
+<p>In order to use adb with a device connected over USB, you must enable
+<strong>USB debugging</strong> in the device system settings, under <strong>
+Developer options</strong>.</p>
+
+<p>On Android 4.2 and higher, the Developer options screen is
+hidden by default. To make it visible, go to
+<b>Settings &gt; About phone</b> and tap <b>Build number</b> seven times. Return to the previous
+screen to find <strong>Developer options</strong> at the bottom.</p>
+
+<p>On some devices, the Developer options screen may be located or named differently.</p>
+
<p class="note"><strong>Note:</strong> When you connect a device running Android 4.2.2 or higher
to your computer, the system shows a dialog asking whether to accept an RSA key that allows
debugging through this computer. This security mechanism protects user devices because it ensures
@@ -80,6 +94,11 @@ device and acknowledge the dialog. This requires that you have adb version 1.0.3
SDK Platform-tools r16.0.1 and higher) in order to debug on a device running Android 4.2.2 or
higher.</p>
+<p>For more information about connecting to a device over USB, read
+<a href="{@docRoot}tools/device.html">Using Hardware Devices</a>.</p>
+
+
+
<h2 id="issuingcommands">Syntax</h2>