Business

Google launches Android 11 Beta 1, Kotlin coroutines, and Jetpack updates

Google today launched the first Android 11 beta with final SDK and NDK APIs as well as new 10 features. The company also released Android Studio improvements (including ML model importing), Kotlin coroutines, Jetpack and Jetpack Compose updates, and a refreshed Google Play Console in beta.

If that sounds like a lot, that’s because it is. All of this would have normally been shown off at Google’s I/O developer conference, where the first Android beta typically debuts, but as you know, the event was canceled due to the coronavirus. The company then planned to host the poorly named #Android11: the Beta Launch Show in lieu, but postponed that due to widespread U.S. protests over systemic racism and police brutality.

Today, Google canceled that online developer event as well:

The global community of Android developers has always been a powerful force in shaping the direction of the Android platform; each and every voice matters to us. We have cancelled the virtual launch event to allow people to focus on important discussions around racial justice in the United States. Instead, we are releasing the Android 11 Beta today in a much different form, via short-form videos and web pages that you can consume at your own pace when the time is right for you. Millions of developers around the world build their business with Android, and we’re releasing the Beta today to continue to support these developers with the latest tools. We humbly thank those who are able to offer their feedback on this release.

Despite the delays, Google insists that Android 11 is still on schedule (the final is slated for Q3). You can download Android 11 Beta 1 now via the Android Beta Program, which lets you get early Android builds via over-the-air updates on select devices. If you have any of the previous previews, Google will also be pushing an over-the-air (OTA) update. The release includes the final SDK with system images for the Pixel 2, Pixel 2 XL, Pixel 3, Pixel 3 XL, Pixel 3a, Pixel 3a XL, Pixel 4, and Pixel 4 XL, as well as the official Android Emulator. Those eight Pixel phones are a tiny slice of the over 2.5 billion monthly active Android devices — the main reason developers are eager to see what’s new for the platform in the first place. While those are the phones Google limited the first four Android 11 developer previews to, the company is working with its OEM partners to bring Beta 1 to more devices in the coming weeks.

Until today, Android 11 was only meant for developers. Now, Google is signaling early adopters and anyone interested in beta software can try it, give feedback, and report bugs.

Android 11 Beta 1 features

Android 11 Developer Preview 1 brought 5G experiences, people and conversations improvements, Neural Networks API 1.3, privacy and security features, Google Play System updates, app compatibility, connectivity, image and camera improvements, and low latency tweaks. DP2 built on those with foldable, call screening, and more Neural Networks API improvements. DP3 included app exit reasons updates, GWP-ASan heap analysis, Android Debug Bridge (ADB) Incremental, wireless debugging, and data access auditing. DP4 didn’t have any new features. Beta 1 builds on all that.

To make compatibility testing easier for the Beta 1 features, Google has gated most breaking changes for developers until they target Android 11. That way they won’t take effect until you explicitly change your manifest. The team also added a new UI in developer options to let you toggle many of these changes for testing.

Below are the 10 new Beta 1 features. Google has split them into three themes: People, Controls, and Privacy.

Android 11 people features

Android 11 is supposed to be “more people-centric and expressive” so that “the OS that can recognize and prioritize the most important people in your life.” In other words, expect a lot of messaging functionality:

Android 11 controls features

Android 11 makes it easier to control your smart devices:

Android 11 privacy features

Android 11 also brings more control over sensitive permissions and keeps devices more secure through faster updates:

Android 11 beta schedule

Google launched Android 11 DP1 in February, the earliest Android developer preview it has ever released, Android 11 DP2 in March, and Android 11 DP3 in April. Android 11 Beta 1 was supposed to arrive in May, but we got Android 11 DP4 as a stopgap measure.

Last year, there were six betas. This year, it looks like there will be four developer previews and three betas. Here’s the Android 11 schedule:

If you haven’t started testing yet, now is the time. After you’ve downloaded Beta 1, update your Android Studio environment with the SDK (setup guide). Then install your current production app and test the user flows. For a complete rundown on what’s new, check the API overviewAPI reference, and behavior changes.

Android Studio, Kotlin, and Jetpack

Last month, Google launched Android Studio 4.0, the latest version of its integrated development environment (IDE). But Google already wants your help testing version 4.1 and 4.2.

Android Studio 4.1 Beta and Android Studio 4.2 Canary add the following functionality:

Speaking of the Kotlin programming language, Google today shared that over 70% of the top 1,000 apps on Google Play are using Kotlin (up from 60% in December). Jetbrains has released Kotlin 1.4 with faster code completion, more powerful type inference enabled by default, function interfaces, mixing named, and positioning arguments.

Next, Google now officially recommends Kotlin coroutines, a language feature that makes concurrent calls much easier to write and understand. The company rewrote Paging 3 to be Kotlin-first with full support for coroutines. In short, Android developers can now more easily write and read concurrent calls. Google also built coroutines support into three of the most-used Jetpack libraries: Lifecycle, WorkManager, and Room.

Speaking of Jetpack, a set of components for speeding up app development, it has two new libraries: Hilt and App Startup. The former is a developer-friendly wrapper on top of Dagger for dependency injections and the latter helps app and library developers improve app startup time by optimizing initial libraries.

Jetpack Compose meanwhile is now in Developer Preview 2 with new features and tools for developers to try: Interoperability with Views, Animations, Testing, Constraint Layout, Adapter list, Material UI components, Text, and editable Text. Google promises Jetpack Compose will launch in alpha this summer and hit version 1.0 next year.

Redesigned Google Play Console

The Google Play Console is what developers use to manage all phases of publishing their apps and games as part of their business. Google has redesigned it using Material Design, the UI design system for all Google-branded products. The console is now also responsive and supports right-to-left languages.

Google says that every page on Google Play Console “has been enhanced” and that features like Pre-launch reports, Android vitals, Statistics, and Play Game Services are all now more usable. Additionally, there are new features that let you:

See Campaign: https://venturebeat.com/2020/06/10/google-android-11-beta-1-kotlin-coroutines-jetpack/
Contact Information:
EMIL PROTALINSKI

Tags:
, Wire, United States, English

Contact Information:

EMIL PROTALINSKI