1page.title=Support and Release Notes
2page.tags="preview", "developer preview"
3page.image=images/cards/card-support_16-9_2x.png
4
5@jd:body
6
7<div class="cols" style=
8"background-color:#f2daf5; padding: 5px 0;margin-bottom:1em; text-align:center;">
9<h3>
10    Developer Preview 3 is now available
11  </h3>
12  <p>Includes final SDK and near-final system images</p>
13   <div style="margin:auto 1em">
14 <ul class="dac-section-links">
15    <li class="dac-section-link">
16      <a href="#preview3-notes">
17      <span class="dac-sprite dac-auto-chevron"></span>
18      Read the Notes</a>
19    </li>
20
21    <li class="dac-section-link">
22      <a href="#preview3-get">
23      <span class="dac-sprite dac-auto-chevron"></span>
24      Get the Update</a>
25    </li>
26
27    <li class="dac-section-link">
28      <a href="https://code.google.com/p/android-developer-preview/">
29      <span class="dac-sprite dac-auto-chevron"></span>
30      Report Issues</a>
31    </li>
32  </ul>
33  </div>
34</div>
35
36<p>
37  Two primary support channels are available to you when developing and testing
38  with the Android M Developer Preview. If you've encountered bugs or have
39  feedback about the M Developer Preview, you can <a href=
40  "https://code.google.com/p/android-developer-preview/">create an issue</a> on
41  our issue tracker. We'll triage the issue for further review and provide
42  updates as needed.
43</p>
44
45<p>
46  To discuss issues or ideas with other developers working with Android M, join
47  the <a href="http://g.co/dev/AndroidMDevPreview">M Developer Preview Google+
48  community</a>.
49</p>
50
51<h2 id="preview3-notes">
52  Developer Preview 3
53</h2>
54
55<div class="wrap">
56  <div class="cols">
57    <div class="col-9of16">
58      <p>
59        <em>Date: August 2015<br>
60        Build: MPA44I<br>
61        Hardware support: Nexus 5, 6, 9, Player<br>
62        Emulator support: x86 &amp; ARM 32/64-bit<br>
63        Google Play services: 7.8</em>
64      </p>
65    </div>
66  </div>
67</div>
68
69<p>
70  Developer Preview 3 is the <strong>final incremental update</strong>
71  to the Android M preview platform that was originally released in May 2015.
72  The update includes <strong>final APIs and the official Android 6.0 SDK</strong>,
73  as well as near-final system images for testing your apps. The
74  updated system images bring a variety of fixes and enhancements across
75  the system, including those related to issues reported by developers
76  through the external issue tracker.
77</p>
78
79<p>
80  If you are currently developing or testing on Android M, you should <strong>update
81  your environment</strong> as soon as possible, so that
82  you can begin <strong>final compatibility testing</strong> in preparation for
83  the public release to device manufacturers later this year.</p>
84
85<p class="important">Updating to the Android 6.0 SDK and the latest
86   system images 3 ensures that you are building against final
87   platform APIs in <strong>API level 23</strong> and testing
88   against final behaviors. If you are just getting started,
89   follow the instructions in <a href=
90  "/preview/setup-sdk.html">Set up the Preview SDK</a>.
91</p>
92
93<h3>
94  What's included
95</h3>
96
97<p>
98  Developer Preview 3 includes the official Android 6.0
99  SDK as well as updated preview system images, documentation,
100  and samples for developing against the Android 6.0
101  development platform.
102</p>
103
104<ul>
105  <li>
106    <strong>SDK platform</strong> and <strong>system images</strong> (Nexus and
107    emulator) for building and testing. You can download the Android 6.0 SDK and tools from
108    the SDK Manager, and the system images are available by over-the-air (OTA)
109    update or download (see below).
110  </li>
111
112  <li>
113    <strong>Updated documentation</strong>. The <a href=
114    "{@docRoot}preview/behavior-changes.html">Behavior Changes</a>, <a href=
115    "{@docRoot}preview/api-overview.html">API Overview</a>, and <a href=
116    "{@docRoot}preview/features/runtime-permissions.html">Permissions</a> documents have
117    been updated to reflect the latest changes in the platform. An updated
118    <a href="/preview/download.html">Developer Documentation download
119    package</a> is available, including full reference docs and API diff
120    reports. Reference documentation is also now <a
121    href="{@docRoot}reference/packages.html">available online</a>.
122  </li>
123
124  <li>
125    <strong>Translations</strong> of the documentation are available. Use
126    the language selector at the bottom right corner of any page to switch
127    languages. Note that some of the translated docs are not yet updated for
128    Developer Preview 3.
129  </li>
130
131  <li>The <a href="{@docRoot}preview/samples.html">Android M code samples</a> are also
132  updated to account for API and behavior changes:
133    <ul>
134      <li>
135        <a href=
136        "https://github.com/googlesamples/android-RuntimePermissions">RuntimePermissions</a>
137        and <a href=
138        "https://github.com/googlesamples/android-RuntimePermissionsBasic">RuntimePermissionsBasic</a>
139        are updated to reflect latest permissions API changes, including
140        <code>shouldShowRequestPermissionRationale()</code>.
141      </li>
142      <li>
143        Other samples are updated to support runtime permissions.
144      </li>
145    </ul>
146  </li>
147</ul>
148
149<h3 id="changes">
150  Key changes
151</h3>
152<ul>
153  <li>General
154    <ul>
155      <li>Updated the Fingerprint API to enables better error reporting,
156        better fingerprint enrollment experience, and enumeration support for greater
157        reliability.</li>
158      <li>Modified app access to BLE and Wi-Fi scans to require the location permisssion when they
159        target Android 6.0 (API level 23) or higher. Apps targeting API 22 or earlier can
160        still perform BTLE and WiFi scans, but only when they are in the foreground. While in the background, those apps will get no results from BTLE and WiFi scans.</li>
161    </ul>
162  </li>
163  <li>Permission changes
164    <ul>
165      <li>Updated the user interface for permissions and enhanced some of the permissions
166        behaviors.</li>
167      <li>The {@link android.Manifest.permission#GET_ACCOUNTS} permission is now a member of the
168        {@link android.Manifest.permission_group#CONTACTS} permission group and it has a
169        {@code android:protectionLevel} of {@code dangerous}. This change means that when
170        targeting Android 6.0 (API level 23), you must check for and request this permission if
171        your app requires it.
172      </li>
173
174      <li>The {@code android.permission.READ_PROFILE} and {@code android.permission.WRITE_PROFILE}
175       permissions have been removed from the {@link android.Manifest.permission_group#CONTACTS}
176       permission group.
177      </li>
178    </ul>
179  </li>
180</ul>
181
182<p>
183  For a complete list of changes, including renamed and removed APIs, see the API Diff report for
184  <a href="{@docRoot}sdk/api_diff/23/changes.html">API level 22 to 23</a>.
185</p>
186
187<h3 id="ki">
188  Known issues
189</h3>
190
191<ul>
192  <li>General issues:
193    <ul>
194      <li>On LTE devices, including Nexus 9, GPS is not functioning properly, which may
195        interfere with navigation services.
196      </li>
197      <li>During Hangouts calls, users may experience distorted or low audio on some devices.
198      </li>
199      <li>The Google Apps Device Policy app bundled with MPA44G is unable to set up an Android for
200Work Profile, so you cannot create a new Work Profile with that version of the app. This issue is
201resolved in the Google Apps Device Policy app bundled with MPA44I. Other apps that provide Android
202for Work functionality remain unaffected on either build.
203      </li>
204    </ul>
205  </li>
206</ul>
207
208<p>
209  For a complete list of reported issues, please refer to the <a href=
210  "https://code.google.com/p/android/issues/list">open issues list</a> on the
211  Developer Preview <a href=
212  "https://code.google.com/p/android-developer-preview/">issue tracker</a>.
213</p>
214
215<h3 id="preview3-get">
216  Get Developer Preview 3
217</h3>
218
219<p>
220  You can download the official Android 6.0 SDK platform and
221  Developer Preview 3 emulator images from the SDK Manager.
222</p>
223
224<p>
225  Developer Preview 3 system images for supported Nexus devices are available
226  by download and by over-the-air (OTA) update. The OTA update is available
227  only to supported devices that are currently running a Developer Preview build.
228  If your device is running a Developer Preview build, you should automatically receive
229  the OTA update within a few days of availability.
230</p>
231
232<p>
233  For instructions on how to download and flash your device to the latest Developer
234  Preview, see the links and instructions on the <a href=
235  "{@docRoot}preview/download.html">Downloads</a> page.
236</p>
237
238<p>
239  For instructions on how to start developing and testing with Android 6.0
240  Marshmallow, read <a href="{@docRoot}preview/setup-sdk.html">Setting
241  up the SDK</a>.
242</p>
243
244<h2 id="preview2-notes">
245  Developer Preview 2
246</h2>
247
248<div class="wrap">
249  <div class="cols">
250    <div class="col-9of16">
251      <p>
252        <em>Date: July 2015<br>
253        Builds: MPZ79M (Nexus 5, 6, 9), MPZ79N (Nexus Player)<br>
254        Hardware support: Nexus 5, 6, 9, Player<br>
255        Emulator support: x86 &amp; ARM 32/64-bit<br>
256        Google Play services: 7.6</em>
257      </p>
258    </div>
259  </div>
260</div>
261
262<p>
263  Android M Developer Preview 2 is an <strong>incremental update</strong> to
264  the Android M preview platform that was originally released in May 2015. The
265  update includes a variety of enhancements and bug fixes made across the
266  system, including those related to issues reported by developers through the
267  external issue tracker.
268</p>
269
270<p>
271  If you are currently developing or testing on Android M, you should
272  <strong>update your environment</strong> to Developer Preview 2 as soon as
273  possible. This ensures that you are building with the latest platform APIs
274  and testing against the latest behaviors. If you are just getting started
275  with the Android M Developer Preview SDK, follow the instructions in <a href=
276  "{@docRoot}preview/setup-sdk.html">Set up the Preview SDK</a>, then update your
277  environment for Developer Preview 2.
278</p>
279
280<h3>
281  What's included
282</h3>
283
284<p>
285  Developer Preview 2 includes an updated SDK with system images,
286  documentation, and samples for developing against the latest Android M
287  platform.
288</p>
289
290<ul>
291  <li>
292    <strong>SDK platform</strong> and <strong>system images</strong> (Nexus and
293    emulator) for building and testing. You can download the updated tools from
294    the SDK Manager, and the system images are available by over-the-air (OTA)
295    update or download (see below).
296  </li>
297
298  <li>
299    <strong>Updated documentation</strong>. The <a href=
300    "{@docRoot}preview/behavior-changes.html">Behavior Changes</a>, <a href=
301    "{@docRoot}preview/api-overview.html">API Overview</a>, and <a href=
302    "{@docRoot}preview/features/runtime-permissions.html">Permissions</a> documents have
303    been updated to reflect the latest changes in the platform. An updated
304    <a href="{@docRoot}preview/download.html">Developer Documentation download
305    package</a> is available, including full reference docs and API diff
306    reports.
307  </li>
308
309  <li>
310    <strong>Translations</strong> of the documentation are now available. Use
311    the language selector at the bottom right corner of any page to switch
312    languages. Note that some of the translated docs are not yet updated for
313    Developer Preview 2 (coming soon).
314  </li>
315
316  <li>The <a href="{@docRoot}preview/samples.html">Android M code samples</a> are also
317  updated to account for API and behavior changes:
318    <ul>
319      <li>
320        <a href=
321        "https://github.com/googlesamples/android-RuntimePermissions">RuntimePermissions</a>
322        / <a href=
323        "https://github.com/googlesamples/android-RuntimePermissionsBasic">RuntimePermissionsBasic</a>
324        are updated to reflect latest permissions API changes, including
325        <code>shouldShowRequestPermissionRationale()</code>.
326      </li>
327      <li>
328        <a href=
329        "https://github.com/googlesamples/android-FingerprintDialog">FingerprintDialog</a>
330        adds a flow to ask for passwords when new fingerprints are added as
331        well as a preference if the app will use fingerprints as a method of
332        authentication.
333      </li>
334    </ul>
335  </li>
336</ul>
337
338<h3 id="changes-p2">
339  Key changes
340</h3>
341
342<ul>
343  <li>Permissions changes
344    <ul>
345      <li>The <code>android.permission.USE_FINGERPRINT</code> permission now
346      has "normal" protection level, so it is no longer necessary to request
347      this permission directly from the user. The <code>USE_FINGERPRINT</code>
348      permission enables fingerprints to be enabled for authentication, but
349      does not give the requesting app access to the enrollment/fingerprint
350      administration flow.
351      </li>
352
353      <li>The <code>android.permission.WRITE_EXTERNAL_STORAGE</code> permission
354      has protection level "dangerous", meaning that apps wanting to write to
355      external storage will need to request permission from the user at
356      runtime. Both <code>READ_EXTERNAL_STORAGE</code> and
357      <code>WRITE_EXTERNAL_STORAGE</code> are members of the
358      <code>STORAGE</code> permission group.
359      </li>
360
361      <li>Remote Bluetooth/Wi-Fi MAC's now require either the
362      <code>android.permission.ACCESS_COARSE_LOCATION</code> or
363      <code>android.permission.ACCESS_FINE_LOCATION</code> permission.
364      </li>
365
366      <li>Some accounts and identity permissions are moved to
367      <code>CONTACTS</code> permissions group and others are removed or granted
368      based on account type. In particular,
369      <code>android.permission.USE_CREDENTIALS</code>,
370      <code>android.permission.MANAGE_ACCOUNTS</code>, and
371      <code>android.permission.AUTHENTICATE_ACCOUNTS</code> are ungrouped
372      pending further changes in a later release.
373      </li>
374
375      <li>The Wi-Fi permissions
376      <code>android.permission.CHANGE_WIFI_STATE</code>,
377      <code>android.permission.CHANGE_WIMAX_STATE</code>, and
378      <code>android.permission.CHANGE_WIFI_MULTICAST_STATE</code> now have
379      protection level "normal".
380      </li>
381
382      <li>The Bluetooth permissions <code>android.permission.BLUETOOTH</code>
383      and <code>android.permission.BLUETOOTH_ADMIN</code> now have protection
384      level "normal".
385      </li>
386
387      <li>Bookmarks and subscribed feeds permissions are removed.
388      </li>
389
390      <li>Apps included in the system image are no longer granted dangerous
391      permissions automatically. All apps should check for and request
392      permissions at runtime.
393      </li>
394
395      <li>Introduces the utility method
396      <code>Activity.shouldShowRequestPermissionRationale(String)</code>, which
397      lets your app see whether users have previously rejected a permission
398      request. This lets you know that your app should explain the the user why
399      it needs that permission. For more information see the <a href=
400      "{@docRoot}preview/features/runtime-permissions.html#explain-need">Permissions</a>
401      developer guide.
402      </li>
403    </ul>
404  </li>
405
406  <li>Other changes
407    <ul>
408      <li>The <code>android.app.AssistContent</code> and
409      <code>android.app.AssistStructure</code> classes are moved into a new
410      package, <code>android.app.assist</code>.
411      </li>
412
413      <li>Bluetooth Stylus APIs are updated and include new callback events.
414      The <code>View.OnStylusButtonPressListener</code> class is renamed to
415      <code>View.OnContextClickListener</code> and
416      <code>GestureDetector.OnStylusButtonPressListener</code> class to <code>
417        GestureDetector.OnContextClickListener</code>.
418      </li>
419    </ul>
420  </li>
421</ul>
422
423<p>
424  For a complete list of changes, including renamed and removed APIs, please
425  refer to the API Diff Reports included in the <a href=
426  "{@docRoot}preview/download.html#docs">Developer Documentation download package</a>.
427</p>
428
429<h3 id="ki-p2">
430  Known issues
431</h3>
432
433<ul>
434  <li>General issues:
435    <ul>
436      <li>The system Messenger app crashes on the 64-bit emulator.</li>
437      <li>After updating to Developer Preview 2, Contacts sync experiences
438      intermittent issues. The workaround is to clear and re-sync Contact Storage
439      data after update. To clear data, go to <strong>Settings &gt; Apps &gt; Show
440      system &gt; Contacts Storage</strong>. Select "Storage" and then
441      <strong>Clear data</strong>.</li>
442      <li>In YouTube app, it's not possible to share a video. The share window is
443      blank.</li>
444      <li>The bundled Google Apps Device Policy app included in Developer Preview 2 is unable to
445      properly set up an Android for Work Profile, so you cannot create a new Work Profile with this
446      app after you update. This issue is specific to the Google Apps Device Policy app, and not the
447      Android for Work platform (or our partner EMM providers). As a workaround for users of the
448      Google Apps Device Policy app, be sure to create a Work Profile in Developer Preview 1 before
449      updating to Developer Preview 2.
450      </li>
451    </ul>
452  </li>
453  <li>Issues specific to MPZ79N on Nexus Player:
454    <ul>
455      <li>Bluetooth share crashes after clearing data. Please <strong>do not
456      clear app data for system services</strong>, otherwise you will need to Factory
457      Reset your device</li>
458      <li>Remote control can experience intermittent connectivity issues. </li>
459      <li>Movies show black screen with some ANRs on exiting the video.</li>
460      <li>In YouTube app, lower-resolution videos have a green bar at the top
461      and some color-ghosting</li>
462      </li>
463    </ul>
464  </li>
465</ul>
466
467<p>
468  For a complete list of reported issues, please refer to the <a href=
469  "https://code.google.com/p/android/issues/list">open issues list</a> on the
470  Developer Preview <a href=
471  "https://code.google.com/p/android-developer-preview/">issue tracker</a>.
472</p>
473
474<h3 id="preview2-get">
475  Get Developer Preview 2
476</h3>
477
478<p>
479  You can download the Developer Preview 2 platform and emulator images from
480  the SDK Manager.
481</p>
482
483<p>
484  Developer Preview 2 system images for supported Nexus devices are available
485  by download and by over-the-air (OTA) update. The OTA update is available
486  only to supported devices that are currently running Developer Preview 1. If
487  your devices are running Developer Preview 1, you should automatically receive
488  the OTA update within a few days of availability.
489</p>
490
491<p>
492  If you are just getting started with Android M Developer Preview, and want
493  to receive Developer Preview 2 via OTA, download the appropriate
494  Developer Preview 1 <a href="{@docRoot}preview/download_mp1.html#images">
495  system image</a>, and flash it to your device. Then,
496  leave the device powered on for several hours. It registers with the
497  OTA service, and receives Developer Preview 2 by OTA.
498</p>
499
500<p>
501  For instructions on how to download and flash your device to the Developer
502  Preview, see the links and instructions on the <a href=
503  "{@docRoot}preview/download.html">Downloads</a> page.
504</p>
505
506<p>
507  For instructions on how to start developing and testing with Android M, read
508  <a href="{@docRoot}preview/setup-sdk.html">Setting up the SDK</a>.
509</p>
510
511<h2 id="preview1-notes">
512  Developer Preview 1
513</h2>
514
515<div class="wrap">
516  <div class="cols">
517    <div class="col-6of12">
518      <p>
519        <em>Date: May 2015<br>
520        Build: MPZ44Q<br>
521        Hardware support: Nexus 5, 6, 9, Player<br>
522        Emulator support: x86 &amp; ARM (32/64-bit)<br>
523        Google Play services: 7.5</em>
524      </p>
525    </div>
526  </div>
527</div>
528
529<p>
530  Initial release.
531</p>
532
533
534