33 lines
1.1 KiB
Plaintext
Raw Normal View History

page.title=Setting Up the Preview SDK
@jd:body
<p>The Preview SDK is available from the Android SDK Manager. This document assumes that you
are familiar with Android Development, such as using the Android SDK Manager and creating
projects. If you're new to Android, see
<a href="{@docRoot}training/basics/firstapp/index.html">Building Your First App</a> training lesson first.</a></p>
<h2>Download the SDK</h2>
<ol>
<li>Start the Android SDK Manager.</li>
<li>In the <b>Tools</b> section, select the latest Android <b>SDK Tools</b>, <b>Platform-tools</b>, and <b>Build-tools</b>.</li>
<li>Select everything under the <b>Android L Developer Preview</b> section and click <b>Install packages...</b></li>
<li>Accept the Licensing Agreement for all of the packages and click <b>Install</b>.</li>
</ol>
<h2>Set up your environment</h2>
<ol>
<li>Create a new Android project with the following properties:
<dl>
<li>Minimum SDK Version: L</li>
<li>Target SDK Version: L</li>
<li>Build Target: L</li>
</dl>
</li>
<li>Set the theme for your app to use <code>Theme.Material</code>
<li>etc</li>
</ol>