Skip to content

Commit 67747a6

Browse files
scottamainAndroid (Google) Code Review
authored andcommitted
Merge "update info about usb debugging for mr1 changes bug: 7333465 bug: 7318666" into jb-mr1-dev
2 parents fe49af2 + da02c64 commit 67747a6

File tree

4 files changed

+51
-16
lines changed

4 files changed

+51
-16
lines changed

docs/html/tools/building/building-cmdline.jd

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,8 +261,18 @@ adb -s emulator-5554 install <em>path/to/your/app</em>.apk
261261
device:</p>
262262

263263
<ul>
264-
<li>Enable USB Debugging on your device. You can find the setting on most Android devices by
265-
going to <strong>Settings > Applications > Development > USB debugging</strong>.</li>
264+
<li>Enable <strong>USB debugging</strong> on your device.
265+
<ul>
266+
<li>On most devices running Android 3.2 or older, you can find the option under
267+
<strong>Settings > Applications > Development</strong>.</li>
268+
<li>On Android 4.0 and newer, it's in <strong>Settings > Developer options</strong>.
269+
<p class="note"><strong>Note:</strong> On Android 4.2 and newer, <strong>Developer
270+
options</strong> is hidden by default. To make it available, go
271+
to <strong>Settings > About phone</strong> and tap <strong>Build number</strong>
272+
seven times. Return to the previous screen to find <strong>Developer options</strong>.</p>
273+
</li>
274+
</ul>
275+
</li>
266276

267277
<li>Ensure that your development computer can detect your device when connected via USB</li>
268278
</ul>

docs/html/tools/building/building-eclipse.jd

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,18 @@ parent.link=index.html
8484
<code>android:debuggable</code> attribute of the <code>&lt;application&gt;</code>
8585
element to <code>true</code>. As of ADT 8.0, this is done by default when you build in debug mode.</li>
8686

87-
<li>Enable USB Debugging on your device. You can find the setting on most Android devices by
88-
going to <strong>Settings > Applications > Development > USB debugging</strong>.</li>
87+
<li>Enable <strong>USB debugging</strong> on your device.
88+
<ul>
89+
<li>On most devices running Android 3.2 or older, you can find the option under
90+
<strong>Settings > Applications > Development</strong>.</li>
91+
<li>On Android 4.0 and newer, it's in <strong>Settings > Developer options</strong>.
92+
<p class="note"><strong>Note:</strong> On Android 4.2 and newer, <strong>Developer
93+
options</strong> is hidden by default. To make it available, go
94+
to <strong>Settings > About phone</strong> and tap <strong>Build number</strong>
95+
seven times. Return to the previous screen to find <strong>Developer options</strong>.</p>
96+
</li>
97+
</ul>
98+
</li>
8999

90100
<li>Ensure that your development computer can detect your device when connected via USB</li>
91101
</ul>

docs/html/tools/device.jd

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,17 @@ the <code>&lt;application></code> element.</p>
5858
<p class="note"><strong>Note:</strong> If you manually enable debugging in the manifest
5959
file, be sure to disable it before you build for release (your published application
6060
should usually <em>not</em> be debuggable).</p></li>
61-
<li>Turn on "USB Debugging" on your device.
62-
<p>On the device, go to <strong>Settings > Applications > Development</strong>
63-
and enable <strong>USB debugging</strong>
64-
(on an Android 4.0 device, the setting is
65-
located in <strong>Settings > Developer options</strong>).</p>
61+
<li>Enable <strong>USB debugging</strong> on your device.
62+
<ul>
63+
<li>On most devices running Android 3.2 or older, you can find the option under
64+
<strong>Settings > Applications > Development</strong>.</li>
65+
<li>On Android 4.0 and newer, it's in <strong>Settings > Developer options</strong>.
66+
<p class="note"><strong>Note:</strong> On Android 4.2 and newer, <strong>Developer
67+
options</strong> is hidden by default. To make it available, go
68+
to <strong>Settings > About phone</strong> and tap <strong>Build number</strong>
69+
seven times. Return to the previous screen to find <strong>Developer options</strong>.</p>
70+
</li>
71+
</ul>
6672
</li>
6773
<li>Set up your system to detect your device.
6874
<ul>

docs/html/training/basics/firstapp/running-app.jd

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Android project, it includes a default set of "Hello World" source files that al
4040
immediately run the app.</p>
4141

4242
<p>How you run your app depends on two things: whether you have a real Android-powered device and
43-
whether youre using Eclipse. This lesson shows you how to install and run your app on a
43+
whether you're using Eclipse. This lesson shows you how to install and run your app on a
4444
real device and on the Android emulator, and in both cases with either Eclipse or the command line
4545
tools.</p>
4646

@@ -85,12 +85,21 @@ important that you understand how to run your app before you start developing.</
8585

8686
<ol>
8787
<li>Plug in your device to your development machine with a USB cable.
88-
If youre developing on Windows, you might need to install the appropriate USB driver for your
88+
If you're developing on Windows, you might need to install the appropriate USB driver for your
8989
device. For help installing drivers, see the <a href="{@docRoot}tools/extras/oem-usb.html">OEM USB
90-
Drivers</a> document.</li>
91-
<li>Ensure that <strong>USB debugging</strong> is enabled in the device Settings (open Settings
92-
and navitage to <strong>Applications > Development</strong> on most devices, or click
93-
<strong>Developer options</strong> on Android 4.0 and higher).</li>
90+
Drivers</a> document.</li>
91+
<li>Enable <strong>USB debugging</strong> on your device.
92+
<ul>
93+
<li>On most devices running Android 3.2 or older, you can find the option under
94+
<strong>Settings > Applications > Development</strong>.</li>
95+
<li>On Android 4.0 and newer, it's in <strong>Settings > Developer options</strong>.
96+
<p class="note"><strong>Note:</strong> On Android 4.2 and newer, <strong>Developer
97+
options</strong> is hidden by default. To make it available, go
98+
to <strong>Settings > About phone</strong> and tap <strong>Build number</strong>
99+
seven times. Return to the previous screen to find <strong>Developer options</strong>.</p>
100+
</li>
101+
</ul>
102+
</li>
94103
</ol>
95104

96105
<p>To run the app from Eclipse, open one of your project's files and click
@@ -118,7 +127,7 @@ lesson</a>.</p>
118127

119128
<h2 id="Emulator">Run on the Emulator</h2>
120129

121-
<p>Whether youre using Eclipse or the command line, to run your app on the emulator you need to
130+
<p>Whether you're using Eclipse or the command line, to run your app on the emulator you need to
122131
first create an <a href="{@docRoot}tools/devices/index.html">Android Virtual Device</a> (AVD). An
123132
AVD is a device configuration for the Android emulator that allows you to model different
124133
devices.</p>

0 commit comments

Comments
 (0)