Android 12 beta 4与平台稳定性

翻译频道,平时会翻译一些英文文章,来源不固定

Posted by Dave Burke, VP of Engineering


今天,我们给大家带来了Android12 的第四个beta版本,已经进入了正式版本发布的最后阶段。拥有新的UI,性能提升,增强隐私和安全性,等等。我们现在集中精神专注于打磨,性能和稳定性。感谢你们的反馈,帮助我们把系统做的更好。


对于开发者,beta4带来了稳定性,这意味着Android12的api和应用层面的行为已经确定下来。对于应用,首要问题是兼容性和质量。应该着手准备你的应用更新,及时应对今年年底的正式系统发布。

今天你可以在pixel的设备上通过更新使用beta 4。你也可以在一下设备上使用:ASUS, OnePlus, Oppo, Realme, Sharp, and ZTE -想要了解更多请到 android.com/beta. 浏览Android 12 developer site 获得详细步骤。


Platform Stability


Android 12 Beta 4 已经来到了 Platform Stability, 这是一个里程碑,意味着所有的在Android12中的app-facing surfaces and 行为已经最终确定. 不只包括 official SDK and NDK APIs, but also final app-facing system behaviors and restrictions on non-SDK interfaces that may affect apps. So from Beta 4, you can confidently release your compatibility updates knowing that the platform won’t change.接下来给大家介绍timeline。


Android 12 timeline


We’re asking all app and game developers to start your final compatibility testing now and prepare to publish your compatibility updates as soon as possible ahead of the final release.


For all SDK, library, tools, and game engine developers, it’s even more important to start testing now and release your compatible updates as soon as possible -- your downstream app and game developers may be blocked until they receive your updates. When you’ve released a compatible update, be vocal and let developers know!


App compatibility


For Android, App compatibility means that your app runs as intended on a new version of the platform. You can check your app’s compatibility just by installing the production version of your app on a device or emulator and testing it - if the app looks good and runs properly, then you’re done, it’s compatible!


Testing your app for compatibility is important because with each release, we make integral changes to the platform that improve privacy and security and the overall user experience across the OS. These can affect your apps, so you should take a look at the behavior changes and test against them, then publish a compatible update to your users. It’s a basic but critical level of quality that ensures users have a good app experience.


As people update their devices to Android 12, they want to explore the latest version of Android, and experience it with their favorite apps. If those apps don’t work properly, it’s a major issue, ultimately resulting in uninstalls.


So while there are a ton of new APIs and capabilities to explore, start by testing your current app and releasing a compatible update first.


Get your apps ready


To test your app for compatibility with Android 12, just install your production app from Google Play or other source onto a device running Android 12 Beta 4. Work through all of the app’s flows and watch for functional or UI issues. Review the Android 12 behavior changes for all apps to focus your testing. Here are some changes to watch for:


Privacy dashboard - A new dashboard in Settings lets users see which apps are accessing which type of data and when. Users can adjust permissions if needed, and they can request details from your app on the reason for access. More here.

Microphone & camera indicators - Android 12 shows an indicator in the status bar when an app is using the camera or microphone. More here.

Microphone & camera toggles - New toggles in Quick Settings let users instantly disable microphone and camera access for all apps. More here.

Clipboard read notification - A toast alerts users when an app reads data from the clipboard unexpectedly. More here.

Stretch overscroll - A new “stretch” overscroll effect replaces the previous “glow” overscroll effect systemwide. More here.

App splash screens - Android 12 launches apps with a new splash screen animation. More here.

Keygen changes - Several deprecated BouncyCastle cryptographic algorithms are removed in favor of Conscrypt versions. If your app uses a 512-bit key with AES, you’ll need to use one of the standard sizes supported by Conscrypt. More here.


Remember to test the libraries and SDKs in your app for compatibility. If you find any SDK issues, try updating to the latest version of the SDK or reaching out to the developer for help.


Once you’ve published the

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章