2012-07-20 08:42:26 -07:00
|
|
|
page.title=Device Monitor
|
2012-06-19 15:48:29 -07:00
|
|
|
@jd:body
|
|
|
|
|
2013-09-19 17:45:40 -07:00
|
|
|
<div id="qv-wrapper">
|
|
|
|
<div id="qv">
|
|
|
|
<h2>See also</h2>
|
|
|
|
|
|
|
|
<ol>
|
|
|
|
<li><a href="{@docRoot}tools/debugging/debugging-memory.html"
|
|
|
|
>Investigating Your RAM Usage</a></li>
|
|
|
|
</ol>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
2012-07-20 08:42:26 -07:00
|
|
|
<p>Android Device Monitor is a stand-alone tool that provides a graphical user interface for
|
2012-06-19 15:48:29 -07:00
|
|
|
several Android application debugging and analysis tools. The Monitor tool does not
|
|
|
|
require installation of a integrated development environment, such as Eclipse, and encapsulates the
|
|
|
|
following tools:</p>
|
|
|
|
|
|
|
|
<ul>
|
|
|
|
<li><a href="{@docRoot}tools/debugging/ddms.html">DDMS</a></li>
|
|
|
|
<li><a href="gltracer.html">Tracer for OpenGL ES</a></li>
|
|
|
|
<li><a href="hierarchy-viewer.html">Hierarchy Viewer</a></li>
|
|
|
|
<li><a href="traceview.html">Traceview</a></li>
|
|
|
|
<li>Pixel Perfect magnification viewer</li>
|
|
|
|
</ul>
|
|
|
|
|
2013-09-19 17:45:40 -07:00
|
|
|
|
2012-06-19 15:48:29 -07:00
|
|
|
<h2 id="usage">Usage</h2>
|
|
|
|
|
2012-07-20 08:42:26 -07:00
|
|
|
<p>To start Device Monitor, enter the following command from the SDK <code>tools/</code>
|
2012-06-19 15:48:29 -07:00
|
|
|
directory:</p>
|
|
|
|
<pre>monitor</pre>
|
|
|
|
|
2012-07-20 08:42:26 -07:00
|
|
|
<p>Start an Android emulator or connect an Android device via USB cable, and connect Device
|
2012-06-19 15:48:29 -07:00
|
|
|
Monitor to the device by selecting it in the <strong>Devices</strong> window.</p>
|
2013-09-19 17:45:40 -07:00
|
|
|
|
|
|
|
<p class="note"><strong>Note:</strong> Only one debugger can be connected to your device at a time.
|
|
|
|
If you're using ADT, you may need to close the debugging tool before launching the Device Monitor
|
|
|
|
in order for the device to be fully debuggable.</p>
|