blob: 935eb1a44a2f5e3b2453cecac24b929900edacf5 [file] [log] [blame]
Dirk Doughertyc85bf852015-05-24 19:56:35 -07001page.title=Program Overview
Trevor Johns682c24e2016-04-12 10:13:47 -07002page.metaDescription=Get your apps ready for the next version of Android.
3page.image=images/cards/card-n-overview_2x.png
4meta.tags="preview", "developer", "android"
Dirk Doughertyc85bf852015-05-24 19:56:35 -07005page.tags="preview", "developer", "android"
Joe Fernandeze7866882015-05-06 17:15:03 -07006
7@jd:body
Trevor Johns682c24e2016-04-12 10:13:47 -07008<!--
David Friedman6fb22b42015-07-09 16:00:38 -07009<div class="cols" style=
Dirk Dougherty2906bd52015-08-13 09:55:30 -070010"background-color:#f2daf5; padding: 5px 0;margin-bottom:1em; text-align:center;">
David Friedman6fb22b42015-07-09 16:00:38 -070011<h3>
Dirk Dougherty2906bd52015-08-13 09:55:30 -070012 Developer Preview 3 is now available
David Friedman6fb22b42015-07-09 16:00:38 -070013 </h3>
Dirk Dougherty2906bd52015-08-13 09:55:30 -070014 <p>Includes final SDK and near-final system images</p>
15 <div style="margin:auto 1em">
David Friedman6fb22b42015-07-09 16:00:38 -070016 <ul class="dac-section-links">
17 <li class="dac-section-link">
Dirk Dougherty2906bd52015-08-13 09:55:30 -070018 <a href="{@docRoot}preview/support.html#preview3-notes">
David Friedman6fb22b42015-07-09 16:00:38 -070019 <span class="dac-sprite dac-auto-chevron"></span>
20 Read the Notes</a>
21 </li>
22
23 <li class="dac-section-link">
Dirk Dougherty2906bd52015-08-13 09:55:30 -070024 <a href="{@docRoot}preview/support.html#preview3-get">
David Friedman6fb22b42015-07-09 16:00:38 -070025 <span class="dac-sprite dac-auto-chevron"></span>
26 Get the Update</a>
27 </li>
28
29 <li class="dac-section-link">
30 <a href="https://code.google.com/p/android-developer-preview/">
31 <span class="dac-sprite dac-auto-chevron"></span>
32 Report Issues</a>
33 </li>
34 </ul>
Dirk Dougherty2906bd52015-08-13 09:55:30 -070035 </div>
David Friedman6fb22b42015-07-09 16:00:38 -070036</div>
Trevor Johns682c24e2016-04-12 10:13:47 -070037-->
David Friedman6fb22b42015-07-09 16:00:38 -070038
Joe Fernandeze7866882015-05-06 17:15:03 -070039<p>
Trevor Johns682c24e2016-04-12 10:13:47 -070040 Welcome to the <strong>Android N Developer Preview</strong>, a program that
41 gives you everything you need to test and optimize your apps for the next
42 version of Android. It's free, and you can get started right away just by
43 downloading the N Developer Preview tools.
Joe Fernandezd575b1c2015-05-08 17:16:27 -070044</p>
45
Trevor Johns682c24e2016-04-12 10:13:47 -070046
47
48
49
50
51
Dirk Doughertyc85bf852015-05-24 19:56:35 -070052<div style="background-color:#eceff1;padding:1em;">
53<div class="wrap">
54 <div class="cols">
55 <div class="col-4of12">
56 <h5>
Trevor Johns682c24e2016-04-12 10:13:47 -070057 Hardware and emulator images
Dirk Doughertyc85bf852015-05-24 19:56:35 -070058 </h5>
59
60 <p>
Trevor Johns682c24e2016-04-12 10:13:47 -070061 Run and test your apps on a range of devices or on an emulator.
62
Dirk Doughertyc85bf852015-05-24 19:56:35 -070063 </p>
64 </div>
65
66 <div class="col-4of12">
67 <h5>
68 Latest platform code
69 </h5>
70
71 <p>
Trevor Johns682c24e2016-04-12 10:13:47 -070072 We’ll provide monthly updates during the Preview, so you’ll be testing against the latest platform changes.
Dirk Doughertyc85bf852015-05-24 19:56:35 -070073 </p>
74 </div>
75
76 <div class="col-4of12">
77 <h5>
Trevor Johns682c24e2016-04-12 10:13:47 -070078 Priority for developer issues
Dirk Doughertyc85bf852015-05-24 19:56:35 -070079 </h5>
80
81 <p>
Trevor Johns682c24e2016-04-12 10:13:47 -070082 During the first several weeks we’ll give priority to developer-reported
83 issues, so test and give feedback as soon as possible.
Dirk Doughertyc85bf852015-05-24 19:56:35 -070084 </p>
85 </div>
Trevor Johns682c24e2016-04-12 10:13:47 -070086
Dirk Doughertyc85bf852015-05-24 19:56:35 -070087 </div>
88
89 <div class="cols">
90
Dirk Doughertyc85bf852015-05-24 19:56:35 -070091
92 <div class="col-4of12">
93 <h5>
94 New behaviors and capabilities
95 </h5>
96
97 <p>
Trevor Johns682c24e2016-04-12 10:13:47 -070098 Start work early to support new platform behaviors and develop with new features.
Dirk Doughertyc85bf852015-05-24 19:56:35 -070099 </p>
100 </div>
101
102 <div class="col-4of12">
Trevor Johns682c24e2016-04-12 10:13:47 -0700103 <h5>
104 Updates delivered by OTA
Dirk Doughertyc85bf852015-05-24 19:56:35 -0700105 </h5>
106
107 <p>
Trevor Johns682c24e2016-04-12 10:13:47 -0700108 Seamless over-the-air updates for any supported device through the
109 Android Beta Program. No flashing is needed.
Dirk Doughertyc85bf852015-05-24 19:56:35 -0700110 </p>
111 </div>
112
113 <div class="col-4of12">
114 <h5>
Dirk Doughertyae70b692015-05-27 16:58:46 -0700115 Feedback and support
Dirk Doughertyc85bf852015-05-24 19:56:35 -0700116 </h5>
117
118 <p>
Trevor Johns682c24e2016-04-12 10:13:47 -0700119 Report issues and give us feedback using our
120 <a href="{@docRoot}preview/bug">issue tracker</a>. Connect with other
121 developers in the
122 <a href="{@docRoot}preview/dev-community">N&nbsp;Developer Community</a>.
Dirk Doughertyc85bf852015-05-24 19:56:35 -0700123 </p>
124 </div>
125 </div>
126</div>
127</div>
128
129<!--
Trevor Johns682c24e2016-04-12 10:13:47 -0700130<p>New in the Android N Developer Preview: </p>
Dirk Doughertyc85bf852015-05-24 19:56:35 -0700131
Trevor Johns682c24e2016-04-12 10:13:47 -0700132<ul>
133 <li> Accompanying Android Beta Program for consumers, starting later in the preview</li>
134 <li> More supported devices, including devices from OEM partners</li>
135 <li> Seamless OTAs for your devices, from initial release to final N release without flashing</li>
136</ul>
137-->
Dirk Doughertyc85bf852015-05-24 19:56:35 -0700138
Trevor Johns682c24e2016-04-12 10:13:47 -0700139<h2 id="timeline">Timeline and updates</h2>
140<img src="{@docRoot}images/n-preview-updates_2x.png">
141
Dirk Doughertyc85bf852015-05-24 19:56:35 -0700142<p>
Trevor Johns682c24e2016-04-12 10:13:47 -0700143 The N Developer Preview runs from 9 March 2016 until the final Android N
144 public release to AOSP and OEMs, planned for Q3 2016.
Joe Fernandezd575b1c2015-05-08 17:16:27 -0700145</p>
146
147<p>
Trevor Johns682c24e2016-04-12 10:13:47 -0700148 At key development milestones, we’ll deliver updates for your development and
149 testing environment. In general you can expect an update each month (4 to 6
150 week interval). The milestones are listed below.
Joe Fernandezd575b1c2015-05-08 17:16:27 -0700151</p>
152
Dirk Doughertyc85bf852015-05-24 19:56:35 -0700153<ul>
Trevor Johns682c24e2016-04-12 10:13:47 -0700154 <li><strong><a href="{@docRoot}preview/support.html">Preview 1</a></strong> (initial release, alpha)</li>
155 <li><strong>Preview 2</strong> (incremental update, beta)</li>
156 <li><strong>Preview 3</strong> (incremental update, beta)</li>
157 <li><strong>Preview 4</strong> (final APIs and official SDK, Play publishing)</li>
158 <li><strong>Preview 5</strong> (near-final system images for final testing)</li>
159 <li><strong>Final release</strong> to AOSP and ecosystem</li>
Dirk Doughertyc85bf852015-05-24 19:56:35 -0700160</ul>
161
162<p>
Trevor Johns682c24e2016-04-12 10:13:47 -0700163 Each update includes SDK tools, preview system images, emulators, reference
164 documentation, and API diffs.
Dirk Doughertyc85bf852015-05-24 19:56:35 -0700165</p>
166
167<p>
Trevor Johns682c24e2016-04-12 10:13:47 -0700168 The <strong>first three preview milestones</strong> provide an <strong>early
169 test and development environment</strong> that help you identify
170 compatibility issues in your current apps and plan migration or feature work
171 needed to target the new platform. This is the priority period in which to
172 give us your feedback on features and APIs and file compatibility issues
173 &mdash; for all of these, please use the <a href="{@docRoot}preview/bug">issue
174 tracker</a>. You can expect some API changes across these updates.
Dirk Doughertyc85bf852015-05-24 19:56:35 -0700175</p>
176
177<p>
Trevor Johns682c24e2016-04-12 10:13:47 -0700178 At <strong>previews 4 and 5</strong> you’ll have access to the <strong>final
179 N APIs and SDK</strong> to develop with, as well as near-final system images
180 to test system behaviors and features. Android N will provide a standard API
181 level at this time. You can begin final compatibility testing of your legacy
182 apps and refine any new code that is using the N APIs or features.
183</p>
184
185<p>
186 Also starting in preview 4, you’ll be able to <strong>publish apps to
187 devices</strong> running Android N at the official API level, such as
188 consumer devices that have opted into the Android Beta program. You can
189 publish into the Google Play alpha and beta channels first, so you can test
190 your apps with Android Beta consumers before distributing broadly on the
191 store.
192</p>
193
194<p>
195 As you test and develop on Android N, we strongly recommend <strong>keeping
196 your development environment up-to-date</strong> as preview updates are
197 released. To make the process easier, you can enroll your test devices in the
198 Android Beta program and get <strong>updates over-the-air (OTA)</strong> at
199 each milestone. Alternatively, updated preview images are available that you
200 download and flash manually.
201</p>
202
203<p>
204 We’ll notify you when preview updates are available via the <a href=
Dirk Doughertyc85bf852015-05-24 19:56:35 -0700205 "http://android-developers.blogspot.com/">Android Developers Blog</a>, as
Trevor Johns682c24e2016-04-12 10:13:47 -0700206 well as this site and the <a href="{@docRoot}preview/dev-community">Android
207 N Developer Community</a>.
Dirk Doughertyc85bf852015-05-24 19:56:35 -0700208</p>
209
Trevor Johns682c24e2016-04-12 10:13:47 -0700210
211<h2 id="preview_tools">What's in the N Developer Preview?</h2>
Dirk Doughertyc85bf852015-05-24 19:56:35 -0700212
213<p>
Trevor Johns682c24e2016-04-12 10:13:47 -0700214 The N Developer Preview includes everything you need to test your existing
Dirk Doughertyc85bf852015-05-24 19:56:35 -0700215 apps on a variety of screen sizes, network technologies, CPU/GPU chipsets,
216 and hardware architectures.
217</p>
218
Trevor Johns682c24e2016-04-12 10:13:47 -0700219<h3 id="sdk_tools">SDK tools</h3>
Dirk Doughertyc85bf852015-05-24 19:56:35 -0700220
Trevor Johns682c24e2016-04-12 10:13:47 -0700221<p>You can download these components through the SDK Manager in <a href="{@docRoot}sdk/installing/adding-packages.html">Android Studio</a>:</p>
Dirk Doughertyc85bf852015-05-24 19:56:35 -0700222
223<ul>
Trevor Johns682c24e2016-04-12 10:13:47 -0700224 <li> N Developer Preview <strong>SDK and tools</strong>
225 <li> N Developer Preview <strong>emulator system image</strong> (32-bit & 64-bit)
226 <li> N Developer Preview <strong>emulator system Image for Android TV</strong> (32-bit)
227 <li> N Developer Preview support libraries (for new app templates)
Dirk Doughertyc85bf852015-05-24 19:56:35 -0700228</ul>
229
Dirk Doughertyc85bf852015-05-24 19:56:35 -0700230<p>
Trevor Johns682c24e2016-04-12 10:13:47 -0700231 We’ll provide updates to these development tools at each milestone as needed.
Dirk Doughertyc85bf852015-05-24 19:56:35 -0700232</p>
233
Trevor Johns682c24e2016-04-12 10:13:47 -0700234<h3 id="hardware_system_images">Hardware system images</h3>
Dirk Doughertyc85bf852015-05-24 19:56:35 -0700235
236<p>
Trevor Johns682c24e2016-04-12 10:13:47 -0700237 The N Developer Preview includes Nexus and other hardware system images that you can use when
238 testing and developing on physical devices. See the <a href=
239 "{@docRoot}preview/download.html">Device Images</a> page for the full list
240 of hardware images.
Dirk Doughertyc85bf852015-05-24 19:56:35 -0700241</p>
242
Dirk Doughertyc85bf852015-05-24 19:56:35 -0700243<p>
Trevor Johns682c24e2016-04-12 10:13:47 -0700244 We’ll deliver updated system images for these devices at each milestone. You
245 can download and flash the updated system images to your test devices
246 manually, as frequently as you need. This is especially useful for automated
247 testing environments where you might need to reflash your device multiple
248 times.
Dirk Doughertyc85bf852015-05-24 19:56:35 -0700249</p>
250
Trevor Johns682c24e2016-04-12 10:13:47 -0700251<p class="note"><strong>Note</strong>:
252 <strong>Devices flashed manually will not get OTA updates</strong> like in
253 last year’s preview. This year, you can get OTAs by enrolling devices in the
254 Android Beta Program &mdash; see details in the next section.
255</p>
Dirk Doughertyc85bf852015-05-24 19:56:35 -0700256
Trevor Johns682c24e2016-04-12 10:13:47 -0700257<h3 id="android_beta">OTA Updates through Android Beta Program</h3>
Dirk Doughertyc85bf852015-05-24 19:56:35 -0700258
259<p>
Trevor Johns682c24e2016-04-12 10:13:47 -0700260 New for Android N is an Over-the-Air (OTA) update program that automatically
261 delivers the latest preview updates of Android N directly to devices enrolled
262 in the program. The program is free, and it’s open to anyone who has a
263 supported device that’s registered to their Google account.
Dirk Doughertyc85bf852015-05-24 19:56:35 -0700264</p>
265
Joe Fernandezd575b1c2015-05-08 17:16:27 -0700266<p>
Trevor Johns682c24e2016-04-12 10:13:47 -0700267 To enroll in the program visit the <a href="https://g.co/androidbeta">Android
268 Beta Program</a> site. You’ll
269 see all of the devices registered to your account that are eligible to enroll
270 in Android Beta.
Joe Fernandezd575b1c2015-05-08 17:16:27 -0700271</p>
272
Dirk Doughertyc85bf852015-05-24 19:56:35 -0700273<ol>
Trevor Johns682c24e2016-04-12 10:13:47 -0700274 <li> Choose the devices you want to receive the Android N updates
275 <li> Click Enroll, read and agree to the terms of service, and then click OK
Dirk Doughertyc85bf852015-05-24 19:56:35 -0700276</ol>
Joe Fernandezd575b1c2015-05-08 17:16:27 -0700277
278<p>
Trevor Johns682c24e2016-04-12 10:13:47 -0700279 Once you’ve enrolled, your device will soon receive an update. In most cases,
280 you will not need to do a full reset of your data to move to Android N, but
281 it’s recommended that you back up any data you don’t want to lose before
282 enrolling the device.
283</p>
284
285<p>
286 As updates are delivered to your device, we recommend downloading and
287 installing them as soon as possible. You’ll want to stay current with the
288 latest changes in system UI, behavior, APIs, and features.
289</p>
290
291<p>
292 At the conclusion of the Developer Preview, your enrolled devices will
293 receive an update to the official Android N release.
294</p>
295
296<p>
297 You can un-enroll your devices from the Android Beta program at any time from
298 the Android Beta site. Before un-enrolling, make sure to back-up your data on
299 the device.
300</p>
301
302 <p class="note"><strong>Note</strong>:
303 When you un-enroll, <strong>your device will be factory reset</strong>
304 to the latest version
305 of Android 6.0 Marshmallow (not necessarily the version that you had
306 installed prior to enrolling the device). To ensure a clean installation,
307 your data will be erased from the device, including contacts, messages,
308 photos, and so on.
309</p>
310
311<h3 id="documentation_and_sample_code">Documentation and sample code</h3>
312
313<p>
314 These documentation resources are available on the Developer Preview site to
315 help you learn about the Android&nbsp;N:
316</p>
317
318<ul>
319 <li> <a href="{@docRoot}preview/setup-sdk.html">Set Up to Develop for
320Android N</a> has
321 step-by-step instructions for getting started.</li>
322 <li> <a href="{@docRoot}preview/behavior-changes.html">Behavior
323 Changes</a> points you to key areas to test.</li>
324 <li> Documentation of new APIs, including an <a
325 href="{@docRoot}preview/api-overview.html">API Overview</a>, downloadable
326 <a href="{@docRoot}preview/setup-sdk.html#docs-dl">API
327 Reference</a>, and detailed developer guides on key features such as
328 multi-window support, bundled notifications, multi-locale support, and others.
329 <li> <a href="{@docRoot}preview/samples.html">Sample code</a> that
330 demonstrates how to support permissions and other new features.
331 <li> <a href="{@docRoot}preview/support.html#release-notes">Release notes</a>
332 for the current version of the N Developer Preview, including change notes and
333 diff reports.
334</ul>
335
336<h4 id="reference">Downloadable API Reference</h4>
337
338<p>
339 During the early preview updates, you can download the latest
340 <a href="{@docRoot}preview/setup-sdk.html#docs-dl">API Reference
341 for the Android N platform</a> as a separate zip archive. The reference
342 download also includes a diff report that helps you identify API changes from
343 API 23 and the previous update.
344</p>
345
346<p>
347 When the Android N APIs are final and an official API level is assigned,
348 we’ll provide the API reference to you online at <a href=
349 "https://developer.android.com">https://developer.android.com</a>.
350</p>
351
352<h3 id="support_resources">
353 Support resources
354</h3>
355
356<p>
357 As you test and develop on the N Developer Preview, please use these channels
358 to report issues and give feedback.
359</p>
360
361<ul>
362 <li> <a href="https://code.google.com/p/android-developer-preview/">N Developer Preview Issue
363 Tracker</a> is your <strong>primary feedback channel.</strong> You can report bugs, performance
364 issues, and general feedback through the issue tracker. You can also check for
365<a href="{@docRoot}preview/bug">known issues</a> and
366 find workaround steps. We’ll keep you updated on your issue as it’s triaged and sent to
367 the Android engineering team for review. </li>
368 <li> The <a href="{@docRoot}preview/dev-community">Android N Developer Community</a> is
369 a Google+ community where you can <strong>connect with other developers</strong>working with
370 Android N. You can share observations or ideas or find answers to
371 questions about Android N. We’ll moderate the community and provide answers and
372 guidance as needed.</li>
373</ul>
374
375<h3 id="targeting">Targeting, preview APIs, and publishing</h3>
376
377<p>
378 The N Developer Preview provides a development-only system and Android
379 library that <strong>does not have a standard API level</strong>. If you want
380 to opt out of compatibility behaviors to test your app (which is strongly
381 recommended), you can target the preview version of Android N by setting your
382 app's <code><a href=
383 "{@docRoot}preview/setup-sdk.html#create-update">targetSdkVersion</a></code>
384 to <code>“N”</code>.
385</p>
386
387<p>
388 The Android N Developer Preview delivers <strong>preview APIs</strong>
389 &mdash; the APIs will not be official until the final SDK is released,
390 currently planned for the third quarter of 2016. This means that you can
391 <strong>expect minor API changes</strong> over time, especially during
392 initial weeks of the program. We’ll provide a summary of changes to you with
393 each update of the Android N Developer Preview.
394</p>
395
396<p class="note">
397 <strong>Note</strong>: Although preview APIs may change, underlying
398 system behaviors are stable and ready for testing against
399 right away.
400</p>
401
402<p>
403 Google Play <strong>prevents publishing of apps targeting the N Developer
404 Preview</strong>. When the Android N final SDK is available, you’ll be able
405 to target the official Android N API level and publish your app to Google
406 Play via the alpha and beta release channels. Meanwhile, if you want to
407 distribute an app targeting Android N to testers, you can do so via email or
408 by direct download from your site.
409</p>
410
411<p>
412 At the full release of Android N to AOSP and OEMs, planned for Q3 2016,
413 you’ll be able to publish your apps targeting Android N to the public release
414 channel in Google Play.
415</p>
416
417
418<h2 id="how_to_get_started">How to get started</h2>
419
420<p>
421 To get started testing your app with Android N:
422</p>
423
424<ol>
425 <li> Review the <a href="{@docRoot}preview/api-overview.html">API Overview</a>
426 and <a href="{@docRoot}preview/behavior-changes.html">Behavior Changes</a> to
427 get an idea of what's new and how it affects your apps. In particular,
428 learn about the new <a href="{@docRoot}preview/features/notification-updates.html"
429 >notifications</a> features and
430 <a href="{@docRoot}preview/features/multi-window.html">multi-window support</a>.</li>
431 <li> Set up your environment by following the instructions for <a
432 href="{@docRoot}preview/setup-sdk.html">Setting up the Preview SDK</a>
433 and configuring test devices.</li>
434 <li> Follow the <a href="https://developers.google.com/android/nexus/images">flashing
435 instructions</a> to flash the latest Android N system image for your device. </li>
436 <li> Review the <a href="{@docRoot}preview/setup-sdk.html#docs-dl">API Reference</a>
437 and <a href="{@docRoot}preview/samples.html">Android N samples</a> to gain more
438 insight into new API features and how to use them in your app.
439 <li> Join the <a href="{@docRoot}preview/dev-community">Android N
440 Developer Community</a> to get the latest news and connect with other
441 developers working with the new platform.</li>
442</ol>
443
444<p>
445 Thank you for your participation in the Android N Developer Preview program!
Rich Slogar962146f2015-05-27 17:43:50 -0700446</p>