Robert Ly | 2055529 | 2014-06-13 23:28:19 -0700 | [diff] [blame] | 1 | page.title=Setting Up the Preview SDK |
Robert Ly | 2055529 | 2014-06-13 23:28:19 -0700 | [diff] [blame] | 2 | @jd:body |
| 3 | |
Robert Ly | b8cabe9 | 2014-06-15 13:04:43 -0700 | [diff] [blame] | 4 | <p>The Preview SDK is available from the Android SDK Manager. <!-- Not yet! --> |
| 5 | This document assumes that you are familiar with Android app development, such |
| 6 | as using the Android SDK Manager and creating projects. If you're new to |
| 7 | Android, see <a href="/training/basics/firstapp/index.html">Building Your First |
| 8 | App</a> training lesson first.</a></p> |
Robert Ly | 2055529 | 2014-06-13 23:28:19 -0700 | [diff] [blame] | 9 | |
| 10 | <h2>Download the SDK</h2> |
| 11 | |
| 12 | <ol> |
| 13 | <li>Start the Android SDK Manager.</li> |
Robert Ly | b8cabe9 | 2014-06-15 13:04:43 -0700 | [diff] [blame] | 14 | <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 Ly | 2055529 | 2014-06-13 23:28:19 -0700 | [diff] [blame] | 21 | </ol> |
| 22 | |
| 23 | <h2>Set up your environment</h2> |
| 24 | |
| 25 | <ol> |
| 26 | <li>Create a new Android project with the following properties: |
Robert Ly | b8cabe9 | 2014-06-15 13:04:43 -0700 | [diff] [blame] | 27 | <ul> |
Robert Ly | 2055529 | 2014-06-13 23:28:19 -0700 | [diff] [blame] | 28 | <li>Minimum SDK Version: L</li> |
| 29 | <li>Target SDK Version: L</li> |
| 30 | <li>Build Target: L</li> |
Robert Ly | b8cabe9 | 2014-06-15 13:04:43 -0700 | [diff] [blame] | 31 | </ul> |
Robert Ly | 2055529 | 2014-06-13 23:28:19 -0700 | [diff] [blame] | 32 | </li> |
Robert Ly | b8cabe9 | 2014-06-15 13:04:43 -0700 | [diff] [blame] | 33 | <li>Choose the theme <code>Theme.Material</code> |
| 34 | <!-- put in name as it appears in Eclipse menu? --> |
Robert Ly | 2055529 | 2014-06-13 23:28:19 -0700 | [diff] [blame] | 35 | |
Robert Ly | b8cabe9 | 2014-06-15 13:04:43 -0700 | [diff] [blame] | 36 | </ol> |