Robert Ly | 2055529 | 2014-06-13 23:28:19 -0700 | [diff] [blame] | 1 | page.title=Setting Up the Preview SDK |
| 2 | |
| 3 | @jd:body |
| 4 | |
| 5 | <p>The Preview SDK is available from the Android SDK Manager. This document assumes that you |
| 6 | are familiar with Android Development, such as using the Android SDK Manager and creating |
| 7 | projects. If you're new to Android, see |
| 8 | <a href="{@docRoot}training/basics/firstapp/index.html">Building Your First App</a> training lesson first.</a></p> |
| 9 | |
| 10 | <h2>Download the SDK</h2> |
| 11 | |
| 12 | <ol> |
| 13 | <li>Start the Android SDK Manager.</li> |
| 14 | <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> |
| 15 | <li>Select everything under the <b>Android L Developer Preview</b> section and click <b>Install packages...</b></li> |
| 16 | <li>Accept the Licensing Agreement for all of the packages and click <b>Install</b>.</li> |
| 17 | </ol> |
| 18 | |
| 19 | <h2>Set up your environment</h2> |
| 20 | |
| 21 | <ol> |
| 22 | <li>Create a new Android project with the following properties: |
| 23 | <dl> |
| 24 | <li>Minimum SDK Version: L</li> |
| 25 | <li>Target SDK Version: L</li> |
| 26 | <li>Build Target: L</li> |
| 27 | </dl> |
| 28 | </li> |
| 29 | <li>Set the theme for your app to use <code>Theme.Material</code> |
| 30 | <li>etc</li> |
| 31 | </ol> |
| 32 | |