page.title=Support page.tags="preview", "developer preview" page.image=images/cards/card-support_16-9_2x.png @jd:body
Two primary support channels are available to you when developing and testing with the Android M Developer Preview. If you've encountered bugs or have feedback about the M Developer Preview, you can create an issue on our issue tracker. We'll triage the issue for further review and provide updates as needed.
To discuss issues or ideas with other developers working with Android M, join the M Developer Preview Google+ community.
Date: July 2015
Build: MPZ79M
Hardware support: Nexus 5,6,9, Player
Emulator support: ARM 32/64-bit
Google Play services: 7.5
Android M Developer Preview 2 is an incremental update to the Android M preview platform that was originally released in May 2015. The update includes a variety of enhancements and bug fixes made across the system, including those related to issues reported by developers through the external issue tracker.
If you are currently developing or testing on Android M, you should update your environment to Developer Preview 2 as soon as possible. This ensures that you are building with the latest platform APIs and testing against the latest behaviors. If you are just getting started with the Android M Developer Preview SDK, follow the instructions in Set up the Preview SDK, then update your environment for Developer Preview 2.
Developer Preview 2 includes an updated SDK with system images, documentation, and samples for developing against the latest Android M platform.
shouldShowRequestPermissionRationale()
.
android.permission.USE_FINGERPRINT
permission now
has "normal" protection level, so it is no longer necessary to request
this permission directly from the user. The USE_FINGERPRINT
permission enables fingerprints to be enabled for authentication, but
does not give the requesting app access to the enrollment/fingerprint
administration flow.
android.permission.WRITE_EXTERNAL_STORAGE
permission
has protection level "dangerous", meaning that apps wanting to write to
external storage will need to request permission from the user at
runtime. Both WRITE_EXTERNAL_STORAGE
and
WRITE_EXTERNAL_STORAGE
are members of the
STORAGE
permission group.
android.permission.LOCATION_FINE
or
android.permission.LOCATION_COURSE
permission.
CONTACTS
permissions group and others are removed or granted
based on account type. In particular,
android.permission.USE_CREDENTIALS
,
android.permission.MANAGE_ACCOUNTS
, and
android.permission.AUTHENTICATE_ACCOUNTS
are ungrouped
pending further changes in a later release.
android.permission.CHANGE_WIFI_STATE
,
android.permission.CHANGE_WIMAX_STATE
, and
android.permission.CHANGE_WIFI_MULTICAST_STATE
now have
protection level "normal".
android.permission.BLUETOOTH
and android.permission.BLUETOOTH_ADMIN
now have protection
level "normal".
Activity.shouldShowRequestPermissionRationale(String)
, which
lets your app see whether users have previously rejected a permission
request. This lets you know that your app should explain the the user why
it needs that permission. For more information see the Permissions
developer guide.
android.app.AssistContent
and
android.app.AssistStructure
classes are moved into a new
package, android.app.assist
.
View.OnStylusButtonPressListener
class is renamed to
View.OnContextClickListener
and
GestureDetector.OnStylusButtonPressListener
class to
GestureDetector.OnContextClickListener
.
For a complete list of changes, including renamed and removed APIs, please refer to the API Diff Reports included in the Developer Documentation download package.
For a complete list of reported issues, please refer to the open issues list on the Developer Preview issue tracker.
You can download the Developer Preview 2 platform and emulator images from the SDK Manager.
Developer Preview 2 system images for supported Nexus devices are available by download and by over-the-air (OTA) update. The OTA update is available only to supported devices that are currently running Developer Preview 1. If your devices is running Developer Preview 1, you should automatically receive the OTA update within a few days of availability.
If you are just getting started with Android M Developer Preview you want to receive Developer Preview 2 by OTA, first download Developer Preview 1 and flash it to your device. Leave the device powered on for several hours until the device is registered and receives the update.
For instructions on how to download and flash your device to the Developer Preview, see the links and instructions on the Downloads page.
For instructions on how to start developing and testing with Android M, read Setting up the SDK
Date: May 2015
Build: MPZ44Q
Hardware support: Nexus 5,6,9, Player
Emulator support: x86 & ARM (32/64-bit)
Google Play services: 7.5
Initial release.