7/25/17

Developer Preview 4 now available, official Android O coming soon!

Posted by Dave Burke, VP of Engineering





As we put the finishing touches on the Android O platform, today we're rolling
out Developer Preview 4 to help you make sure your apps are ready.



This is the final preview before we launch the official Android O platform to
consumers later
this summer
. Take this opportunity to wrap up your testing and publish your
updates soon, to give users a smooth transition to Android O.



If you have a device that's enrolled in the href="http://www.android.com/beta">Android Beta Program, you'll receive an
update to Developer Preview 4 in the next few days. If you haven't enrolled your
device yet, just visit the Android Beta
site
to enroll and get the update.



Watch for more information on the official Android O release soon!


What's in this update?



Developer Preview 4 is a release candidate build of Android O that you can use
to complete your development and testing in time for the upcoming official
release. It includes the final system behaviors, the latest bug fixes and
optimizations, and the final APIs (API level 26) already available since href="https://android-developers.googleblog.com/2017/06/android-o-apis-are-final-get-your-apps.html">Developer
Preview 3.



We're releasing the Developer Preview 4 device system images today, together
with the stable version of the Android 26.0.0 Support Library. Incremental
updates to the SDK, tools, and Android Emulator system images are on the way
over the next few days.



We're also introducing a new version of href="http://developers.android.com/testing">Android Testing Support Library
that includes new features like Android Test Orchestrator, Multiprocess
Espresso, and more. Watch for details coming soon.


Test your apps on Android O



Today's Developer Preview 4 system images give you an excellent way to test your
current apps on the near-final version of Android O. By testing now, you can
make sure your app offers the experience you want as users start to upgrade to
the official Android O platform.



Just enroll a supported device in the Android
Beta Program
to get today's update over-the-air, install your current app
from Google Play, and test the user flows. The app should run and look great,
and should handle the Android O href="https://developer.android.com/preview/behavior-changes.html">behavior
changes properly -- in particular, pay attention to href="https://developer.android.com/preview/behavior-changes.html#abll">background
location limits, href="https://developer.android.com/preview/features/notification-channels.html">notification
channels, and changes in href="https://developer.android.com/preview/behavior-changes.html#networking-all">networking,
href="https://developer.android.com/preview/behavior-changes.html#security-all">security,
and href="https://developer.android.com/preview/behavior-changes.html#privacy-all">identifiers.



Once you've resolved any issues, publish your app updates with the current
targeting level, so that they're available as users start to receive Android O.


Enhance your apps with Android O features and APIs



Users running the latest versions of Android are typically among the most active
in terms of downloading apps, consuming content, and making purchases. They're
also more vocal about support for the latest Android features in their favorite
apps. With Android O, users are anticipating features like href="https://developer.android.com/preview/features/notification-channels.html">notification
channels and href="https://developer.android.com/preview/features/notification-badges.html">dots,
href="https://developer.android.com/preview/features/pinning-shortcuts-widgets.html">shortcut
pinning, href="https://developer.android.com/preview/api-overview.html#opip">picture-in-picture,
href="https://developer.android.com/preview/features/autofill.html#optimizing_your_app_for_autofill">autofill,
and others. These features could also help increase engagement with your app as
more users upgrade to Android O over time.












With Android O your app can directly pin a specific app shortcut in the launcher
to drive engagement.


Notification dots keep users active in your app and let them jump directly the
app's core functions.



Enhancing your apps with Android O features can help you drive engagement with
users, offer new interactions, give them more control and security, and improve
performance. Features like href="https://developer.android.com/preview/features/adaptive-icons.html">adaptive
icons, href="https://developer.android.com/preview/features/downloadable-fonts.html">downloadable
fonts, and href="https://developer.android.com/preview/features/autosizing-textview.html">autosizing
TextView can simplify your development and minimize your APK size. Battery
is also a top concern for users, so they'll appreciate your app being optimized
for href="https://developer.android.com/preview/features/background.html">background
execution limits and other important href="https://developer.android.com/preview/behavior-changes.html#o-apps">changes
in vital system behavior for O apps.



Visit the O Developer
Preview site
to learn about all of the new features and APIs and how to
build them into your apps.


Speed your development with Android Studio



When you're ready to build for Android O, we recommend updating to the latest
version of href="https://android-developers.googleblog.com/2017/05/android-studio-3-0-canary1.html">Android
Studio 3.0, available for download from the href="https://developer.android.com/studio/preview/index.html">canary
channel. Aside from improved app href="https://developer.android.com/studio/preview/features/android-profiler.html">performance
profiling tools, support for the href="http://android-developers.googleblog.com/2017/05/android-announces-support-for-kotlin.html">Kotlin
programming language, and Gradle build optimizations, Android Studio 3.0
makes it easier to develop with href="https://android-developers.googleblog.com/2017/05/android-instant-apps-is-open-to-all.html">Instant
Apps, href="https://developer.android.com/preview/features/working-with-fonts.html">XML
Fonts, href="https://developer.android.com/preview/features/downloadable-fonts.html">Downloadable
Fonts, and href="https://developer.android.com/preview/features/adaptive-icons.html">Adaptive
Icons.



We also recommend updating to the stable version of the href="https://developer.android.com/topic/libraries/support-library/revisions.html?utm_campaign=android_launch_npreview_061516&utm_source=anddev&utm_medium=blog">Android
Support Library 26.0.0, available now from href="https://developer.android.com/studio/build/dependencies.html#google-maven">Google's
Maven repository, and to the latest SDK, tools, and emulator system images,
available over the next few days.



You can update your project's compileSdkVersion to API 26 to compile against the
official Android O APIs. We also recommend updating your app's targetSdkVersion
to API 26 to opt-in and test your app with Android O specific href="https://developer.android.com/preview/behavior-changes.html?utm_campaign=android_launch_npreview_061516&utm_source=anddev&utm_medium=blog">behavior
changes. See the href="https://developer.android.com/preview/migration.html#bfa">migration
guide for details on how to setup your environment to build with Android O.


Publish your updates to Google Play



Google Play is open for apps compiled against or targeting API 26. When you're
ready, you can publish your APK updates in your alpha, beta, or production
channels.



Make sure that your updated app runs well on Android O as well as older
versions. We recommend using href="https://developer.android.com/distribute/engage/beta.html?utm_campaign=android_launch_npreview_061516&utm_source=anddev&utm_medium=blog">Google
Play's beta testing feature to get early feedback from a small
group of users. Then do a staged rollout. We're looking forward to seeing your
app updates!


How to get Developer Preview 4



It's simple to get Developer Preview 4 if you haven't already! Just visit href="https://android.com/beta">android.com/beta and opt-in your eligible
phone or tablet. As always, you can also download and href="https://developer.android.com/preview/download.html?utm_campaign=android_launch_npreview_061516&utm_source=anddev&utm_medium=blog#flash">flash
this update manually. The O Developer Preview is available for Pixel, Pixel
XL, Pixel C, Nexus 5X, Nexus 6P, Nexus Player, and the Android Emulator.
Enrolled devices will automatically update when we release the official version
of Android O.



Thanks for all of your input throughout the preview. Continue to share your href="https://developer.android.com/preview/feedback.html">feedback and
requests, we love it!




Load disqus comments

0 comments

loading...