blob: 32a33b6337a1845248c5cdc7d41dbe2956957b15 [file] [log] [blame]
Robert Ly20555292014-06-13 23:28:19 -07001page.title=Setting Up the Preview SDK
Robert Ly20555292014-06-13 23:28:19 -07002@jd:body
3
Robert Lyb8cabe92014-06-15 13:04:43 -07004<p>The Preview SDK is available from the Android SDK Manager. <!-- Not yet! -->
5This document assumes that you are familiar with Android app development, such
6as using the Android SDK Manager and creating projects. If you're new to
7Android, see <a href="/training/basics/firstapp/index.html">Building Your First
8App</a> training lesson first.</a></p>
Robert Ly20555292014-06-13 23:28:19 -07009
10<h2>Download the SDK</h2>
11
12<ol>
13 <li>Start the Android SDK Manager.</li>
Robert Lyb8cabe92014-06-15 13:04:43 -070014 <li>In the <b>Tools</b> section, select the latest Android <b>SDK Tools</b>,
15 <b>Platform-tools</b>, and <b>Build-tools</b>.</li>
16 <!-- Android L not yet showing up in Android SDK Manager... -->
17 <li>Select everything under the <b>Android L Developer Preview</b> section and
18 click <b>Install packages...</b></li>
19 <li>Accept the Licensing Agreement for all of the packages and click
20 <b>Install</b>.</li>
Robert Ly20555292014-06-13 23:28:19 -070021</ol>
22
23<h2>Set up your environment</h2>
24
25<ol>
26 <li>Create a new Android project with the following properties:
Robert Lyb8cabe92014-06-15 13:04:43 -070027 <ul>
Robert Ly20555292014-06-13 23:28:19 -070028 <li>Minimum SDK Version: L</li>
29 <li>Target SDK Version: L</li>
30 <li>Build Target: L</li>
Robert Lyb8cabe92014-06-15 13:04:43 -070031 </ul>
Robert Ly20555292014-06-13 23:28:19 -070032 </li>
Robert Lyb8cabe92014-06-15 13:04:43 -070033 <li>Choose the theme <code>Theme.Material</code>
34 <!-- put in name as it appears in Eclipse menu? -->
Robert Ly20555292014-06-13 23:28:19 -070035
Robert Lyb8cabe92014-06-15 13:04:43 -070036</ol>