1page.title=Program Overview
2page.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"
5page.tags="preview", "developer", "android"
6
7@jd:body
8
9<!--
10<div class="cols" style=
11"background-color:#B2DFDB; padding: 5px 0;margin-bottom:1em; text-align:center;">
12<h3>
13    Developer Preview X is now available
14  </h3>
15  <p>This release includes the ...</p>
16   <div style="margin:auto 1em">
17 <ul class="dac-section-links">
18    <li class="dac-section-link">
19      <a href="{@docRoot}preview/support.html#dp4">
20      <span class="dac-sprite dac-auto-chevron"></span>
21      Read the Notes</a>
22    </li>
23
24    <li class="dac-section-link">
25      <a href="{@docRoot}preview/download.html">
26      <span class="dac-sprite dac-auto-chevron"></span>
27      Test the Update</a>
28    </li>
29
30    <li class="dac-section-link">
31      <a href="https://code.google.com/p/android-developer-preview/">
32      <span class="dac-sprite dac-auto-chevron"></span>
33      Report Issues</a>
34    </li>
35  </ul>
36  </div>
37</div>
38-->
39
40<p>
41  Welcome to the <strong>Android N Developer Preview</strong>, a program that
42  gives you everything you need to test and optimize your apps for the next
43  version of Android. It's free, and you can get started right away just by
44  downloading the N Developer Preview tools.
45</p>
46
47
48
49
50
51
52
53<div style="background-color:#eceff1;padding:1em;">
54<div class="wrap">
55  <div class="cols">
56    <div class="col-4of12">
57      <h5>
58        Hardware and emulator images
59      </h5>
60
61      <p>
62        Run and test your apps on a range of devices or on an emulator.
63
64      </p>
65    </div>
66
67    <div class="col-4of12">
68      <h5>
69        Latest platform code
70      </h5>
71
72      <p>
73        We’ll provide monthly updates during the Preview, so you’ll be testing against the latest platform changes.
74      </p>
75    </div>
76
77    <div class="col-4of12">
78      <h5>
79        Priority for developer issues
80      </h5>
81
82      <p>
83        During the first several weeks we’ll give priority to developer-reported
84        issues, so test and give feedback as soon as possible.
85      </p>
86    </div>
87
88  </div>
89
90  <div class="cols">
91
92
93    <div class="col-4of12">
94      <h5>
95        New behaviors and capabilities
96      </h5>
97
98      <p>
99        Start work early to support new platform behaviors and develop with new features.
100      </p>
101    </div>
102
103    <div class="col-4of12">
104        <h5>
105        Updates delivered by OTA
106      </h5>
107
108      <p>
109        Seamless over-the-air updates for any supported device through the
110        Android Beta Program. No flashing is needed.
111      </p>
112    </div>
113
114    <div class="col-4of12">
115      <h5>
116        Feedback and support
117      </h5>
118
119      <p>
120        Report issues and give us feedback using our
121        <a href="{@docRoot}preview/bug">issue tracker</a>. Connect with other
122        developers in the
123        <a href="{@docRoot}preview/dev-community">N&nbsp;Developer Community</a>.
124      </p>
125    </div>
126  </div>
127</div>
128</div>
129
130<!--
131<p>New in the Android N Developer Preview: </p>
132
133<ul>
134  <li> Accompanying Android Beta Program for consumers, starting later in the preview</li>
135  <li> More supported devices, including devices from OEM partners</li>
136  <li> Seamless OTAs for your devices, from initial release to final N release without flashing</li>
137</ul>
138-->
139
140<h2 id="timeline">Timeline and updates</h2>
141
142<p>
143  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.
145</p>
146
147<img src="{@docRoot}images/n-preview-updates_2x.png">
148
149<p>
150  At key development milestones, we’ll deliver updates for your development and
151  testing environment. In general you can expect an update each month (4 to 6
152  week interval). The milestones are listed below.
153</p>
154
155<ul>
156  <li><strong><a href="{@docRoot}preview/support.html#dp1">Preview 1</a></strong> (initial release, alpha)</li>
157  <li><strong><a href="{@docRoot}preview/support.html#dp2">Preview 2</a></strong> (incremental update, alpha)</li>
158  <li><strong><a href="{@docRoot}preview/support.html#dp3">Preview 3</a></strong> (incremental update, beta)</li>
159  <li><strong><a href="{@docRoot}preview/support.html#dp4">Preview 4</a></strong> (final APIs and official SDK, Play publishing)</li>
160  <li><strong>Preview 5</strong> (near-final system images for final testing)</li>
161  <li><strong>Final release</strong> to AOSP and ecosystem</li>
162</ul>
163
164<p>
165  Each update includes SDK tools, preview system images, emulators, reference
166  documentation, and API diffs.
167</p>
168
169<p>
170  The <strong>first three preview milestones</strong> provide an <strong>early
171  test and development environment</strong> that help you identify
172  compatibility issues in your current apps and plan migration or feature work
173  needed to target the new platform. This is the priority period in which to
174  give us your feedback on features and APIs and file compatibility issues
175  &mdash; for all of these, please use the <a href="{@docRoot}preview/bug">issue
176  tracker</a>. You can expect some API changes across these updates.
177</p>
178
179<p>
180  At <strong>previews 4 and 5</strong> you’ll have access to the <strong>final
181  N APIs and SDK</strong> to develop with, as well as near-final system images
182  to test system behaviors and features. Android N will provide a standard API
183  level at this time. You can begin final compatibility testing of your legacy
184  apps and refine any new code that is using the N APIs or features.
185</p>
186
187<p>
188  Also starting in preview 4, you’ll be able to <strong>publish apps to
189  devices</strong> running Android N at the official API level, such as
190  consumer devices that have opted into the Android Beta program. You can
191  publish into the Google Play alpha and beta channels first, so you can test
192  your apps with Android Beta consumers before distributing broadly on the
193  store.
194</p>
195
196<p>
197  As you test and develop on Android N, we strongly recommend <strong>keeping
198  your development environment up-to-date</strong> as preview updates are
199  released. To make the process easier, you can enroll your test devices in the
200  Android Beta program and get <strong>updates over-the-air (OTA)</strong> at
201  each milestone. Alternatively, updated preview images are available that you
202  download and flash manually.
203</p>
204
205<p>
206  We’ll notify you when preview updates are available via the <a href=
207  "http://android-developers.blogspot.com/">Android Developers Blog</a>, as
208  well as this site and the <a href="{@docRoot}preview/dev-community">Android
209  N Developer Community</a>.
210</p>
211
212
213<h2 id="preview_tools">What's in the N Developer Preview?</h2>
214
215<p>
216  The N Developer Preview includes everything you need to test your existing
217  apps on a variety of screen sizes, network technologies, CPU/GPU chipsets,
218  and hardware architectures.
219</p>
220
221<h3 id="sdk_tools">SDK tools</h3>
222
223<p>You can download these components through the SDK Manager in <a href="{@docRoot}studio/intro/update.html">Android Studio</a>:</p>
224
225<ul>
226  <li> N Developer Preview <strong>SDK and tools</strong>
227  <li> N Developer Preview <strong>emulator system image</strong> (32-bit & 64-bit)
228  <li> N Developer Preview <strong>emulator system Image for Android TV</strong> (32-bit)
229  <li> N Developer Preview support libraries (for new app templates)
230</ul>
231
232<p>
233  We’ll provide updates to these development tools at each milestone as needed.
234</p>
235
236<h3 id="hardware_system_images">Hardware system images</h3>
237
238<p>
239  The N Developer Preview includes Nexus and other hardware system images that you can use when
240  testing and developing on physical devices. See the <a href=
241  "{@docRoot}preview/download.html">Device Images</a> page for the full list
242  of hardware images.
243</p>
244
245<p>
246  We’ll deliver updated system images for these devices at each milestone. You
247  can download and flash the updated system images to your test devices
248  manually, as frequently as you need. This is especially useful for automated
249  testing environments where you might need to reflash your device multiple
250  times.
251</p>
252
253<p class="note"><strong>Note</strong>:
254  <strong>Devices flashed manually will not get OTA updates</strong> like in
255  last year’s preview. This year, you can get OTAs by enrolling devices in the
256  Android Beta Program &mdash; see details in the next section.
257</p>
258
259<h3 id="android_beta">OTA Updates through Android Beta Program</h3>
260
261<p>
262  New for Android N is an Over-the-Air (OTA) update program that automatically
263  delivers the latest preview updates of Android N directly to devices enrolled
264  in the program. The program is free, and it’s open to anyone who has a
265  supported device that’s registered to their Google account.
266</p>
267
268<p>
269  To enroll in the program visit the <a href="https://g.co/androidbeta">Android
270  Beta Program</a> site. You’ll
271  see all of the devices registered to your account that are eligible to enroll
272  in Android Beta.
273</p>
274
275<ol>
276  <li> Choose the devices you want to receive the Android N updates
277  <li> Click Enroll, read and agree to the terms of service, and then click OK
278</ol>
279
280<p>
281  Once you’ve enrolled, your device will soon receive an update. In most cases,
282  you will not need to do a full reset of your data to move to Android N, but
283  it’s recommended that you back up any data you don’t want to lose before
284  enrolling the device.
285</p>
286
287<p>
288  As updates are delivered to your device, we recommend downloading and
289  installing them as soon as possible. You’ll want to stay current with the
290  latest changes in system UI, behavior, APIs, and features.
291</p>
292
293<p>
294  At the conclusion of the Developer Preview, your enrolled devices will
295  receive an update to the official Android N release.
296</p>
297
298<p>
299  You can un-enroll your devices from the Android Beta program at any time from
300  the Android Beta site. Before un-enrolling, make sure to back-up your data on
301  the device.
302</p>
303
304  <p class="note"><strong>Note</strong>:
305  When you un-enroll, <strong>your device will be factory reset</strong>
306  to the latest version
307  of Android 6.0 Marshmallow (not necessarily the version that you had
308  installed prior to enrolling the device). To ensure a clean installation,
309  your data will be erased from the device, including contacts, messages,
310  photos, and so on.
311</p>
312
313<h3 id="documentation_and_sample_code">Documentation and sample code</h3>
314
315<p>
316  These documentation resources are available on the Developer Preview site to
317  help you learn about the Android&nbsp;N:
318</p>
319
320<ul>
321  <li> <a href="{@docRoot}preview/setup-sdk.html">Set Up to Develop for
322Android N</a> has
323  step-by-step instructions for getting started.</li>
324  <li> <a href="{@docRoot}preview/behavior-changes.html">Behavior
325  Changes</a> points you to key areas to test.</li>
326  <li> Documentation of new APIs, including an <a
327  href="{@docRoot}preview/api-overview.html">API Overview</a>, downloadable
328  <a href="{@docRoot}preview/setup-sdk.html#docs-dl">API
329  Reference</a>, and detailed developer guides on key features such as
330  multi-window support, bundled notifications, multi-locale support, and others.
331  <li> <a href="{@docRoot}preview/samples.html">Sample code</a> that
332  demonstrates how to support permissions and other new features.
333  <li> <a href="{@docRoot}preview/support.html#release-notes">Release notes</a>
334  for the current version of the N Developer Preview, including change notes and
335  diff reports.
336</ul>
337
338<h4 id="reference">Downloadable API Reference</h4>
339
340<p>
341  During the early preview updates, you can download the latest
342  <a href="{@docRoot}preview/setup-sdk.html#docs-dl">API Reference
343  for the Android N platform</a> as a separate zip archive. The reference
344  download also includes a diff report that helps you identify API changes from
345  API 23 and the previous update.
346</p>
347
348<p>
349  When the Android N APIs are final and an official API level is assigned,
350  we’ll provide the API reference to you online at <a href=
351  "https://developer.android.com">https://developer.android.com</a>.
352</p>
353
354<h3 id="support_resources">
355  Support resources
356</h3>
357
358<p>
359  As you test and develop on the N Developer Preview, please use these channels
360  to report issues and give feedback.
361</p>
362
363<ul>
364  <li> <a href="https://code.google.com/p/android-developer-preview/">N Developer Preview Issue
365    Tracker</a> is your <strong>primary feedback channel.</strong> You can report bugs, performance
366    issues, and general feedback through the issue tracker. You can also check for
367<a href="{@docRoot}preview/bugs">known issues</a> and
368    find workaround steps. We’ll keep you updated on your issue as it’s triaged and sent to
369    the Android engineering team for review. </li>
370  <li> The <a href="{@docRoot}preview/dev-community">Android N Developer Community</a> is
371    a Google+ community where you can <strong>connect with other developers</strong>working with
372    Android N. You can share observations or ideas or find answers to
373    questions about Android N. We’ll moderate the community and provide answers and
374    guidance as needed.</li>
375</ul>
376
377<h3 id="targeting">Targeting, preview APIs, and publishing</h3>
378
379<p>
380  The N Developer Preview provides a development-only system and Android
381  library that <strong>does not have a standard API level</strong>. If you want
382  to opt out of compatibility behaviors to test your app (which is strongly
383  recommended), you can target the preview version of Android N by setting your
384  app's <code><a href=
385  "{@docRoot}preview/setup-sdk.html#create-update">targetSdkVersion</a></code>
386  to <code>“N”</code>.
387</p>
388
389<p>
390  The Android N Developer Preview delivers <strong>preview APIs</strong>
391  &mdash; the APIs will not be official until the final SDK is released,
392  currently planned for the third quarter of 2016. This means that you can
393  <strong>expect minor API changes</strong> over time, especially during
394  initial weeks of the program. We’ll provide a summary of changes to you with
395  each update of the Android N Developer Preview.
396</p>
397
398<p class="note">
399  <strong>Note</strong>: Although preview APIs may change, underlying
400  system behaviors are stable and ready for testing against
401  right away.
402</p>
403
404<p>
405  Google Play <strong>prevents publishing of apps targeting the N Developer
406  Preview</strong>. When the Android N final SDK is available, you’ll be able
407  to target the official Android N API level and publish your app to Google
408  Play via the alpha and beta release channels. Meanwhile, if you want to
409  distribute an app targeting Android N to testers, you can do so via email or
410  by direct download from your site.
411</p>
412
413<p>
414  At the full release of Android N to AOSP and OEMs, planned for Q3 2016,
415  you’ll be able to publish your apps targeting Android N to the public release
416  channel in Google Play.
417</p>
418
419
420<h2 id="how_to_get_started">How to get started</h2>
421
422<p>
423  To get started testing your app with Android N:
424</p>
425
426<ol>
427  <li> Review the <a href="{@docRoot}preview/api-overview.html">API Overview</a>
428  and <a href="{@docRoot}preview/behavior-changes.html">Behavior Changes</a> to
429  get an idea of what's new and how it affects your apps. In particular,
430  learn about the new <a href="{@docRoot}preview/features/notification-updates.html"
431  >notifications</a> features and
432  <a href="{@docRoot}preview/features/multi-window.html">multi-window support</a>.</li>
433  <li> Set up your environment by following the instructions for <a
434  href="{@docRoot}preview/setup-sdk.html">Setting up the Preview SDK</a>
435  and configuring test devices.</li>
436  <li> Follow the <a href="https://developers.google.com/android/nexus/images">flashing
437  instructions</a> to flash the latest Android N system image for your device. </li>
438  <li> Review the <a href="{@docRoot}preview/setup-sdk.html#docs-dl">API Reference</a>
439  and <a href="{@docRoot}preview/samples.html">Android N samples</a> to gain more
440  insight into new API features and how to use them in your app.
441  <li> Join the <a href="{@docRoot}preview/dev-community">Android N
442  Developer Community</a> to get the latest news and connect with other
443  developers working with the new platform.</li>
444</ol>
445
446<p>
447  Thank you for your participation in the Android N Developer Preview program!
448</p>
449