Last month, Google introduced the first beta beta version of Android 11 to eligible device users. Now, as Android 11 reaches the development phase of Platform Stability, Google is pushing a second beta version to eligible device users. It is reported that Android 11 Beta 2 has introduced some new features and improvements for developers.
(from: Google Blog)
As can be seen from the update log, Android 11 Beta 2 has the following changes. These include (1) minimizing the impact of behavior changes, (2) easier testing and debugging, (3) restrictions on non-SDK interfaces, (4) dynamic resource loaders, and (5) reaching a new milestone in platform stability.
To minimize the impact of platform behavior changes, Android 11 allows selective join until developers set targetSkdVersion in their apps.
To help developers test compatibility, Android 11 has allowed developer options or ADB to force or disable a specific change.
To encourage developers to move away from non-SDK application interfaces, Android 11 has updated restrictions on non-SDK interfaces while continuing to support public API requests and listening to feedback.
(from: Google Developers)
As part of an effort to stay away from non-SDK interfaces, developers wanted Android 11 to provide a public API that can load related resources at runtime ,runtime, so we ushered in a new resource loading framework in Beta 2.
To give developers a better understanding of the final change seisped release process, the new platform stability milestone includes not only the final version of the SDK/NDK API, but also internal APIs and system behavior that can affect a large number of applications.
If you have a Pixel 2/ 3/ 3a / 4 smartphone, you can register first to get an beta update for Android 11 Beta 2 through OTA.
Even if you don’t have a Pixel device, try writing to mirrors with the Android Flash Tool brush tool, or use the Android Emulator simulator in Android Studio.