AI挤压内存供应,谷歌要求安卓应用在2027年前优化内存与换机登录 AI Memory Constraints Push Google to Require Leaner Android Apps by 2027
谷歌称移动行业正面对硬件供应限制,入门机的内存压力尤为明显。新要求覆盖应用动态内存、bitmap使用、代码效率,以及换机时的免手动登录体验。 Google says hardware supply constraints are affecting the mobile industry, with entry-level phones facing particular memory pressure. Its new requirements cover app memory use, bitmap efficiency, code performance, and frictionless sign-in after device migration.
AI发展带来的硬件供应限制正从数据中心延伸至手机行业。谷歌表示,设备可配置的内存正在发生变化;对难以通过提价消化成本的入门手机而言,内存资源紧张尤其突出。
应用内存与代码效率将设新门槛
谷歌公布的第一项要求聚焦内存占用和代码效率。应用未来需达到动态内存使用、bitmap使用等性能门槛,并优化代码,以减少因性能问题造成的变慢和崩溃。开发者需在2027年2月前达到新标准。
谷歌计划提供提醒工具,在应用超过新门槛时发出警告;还预计在今年晚些时候增加诊断能力,包括Memory Limiter。该功能可限制应用使用过多设备内存,并提供更深入的分析信息。
换机登录需支持 Zero Tap Sign-In
第二项要求面向设备迁移后的登录体验。到2027年4月,所有发布在Google Play、且提供可选或强制登录功能的应用,都必须在设备迁移时符合Zero Tap Sign-In标准。
该标准基于Android Restore Credentials API:用户更换至另一部安卓设备后,应用应自动恢复既有登录状态,避免再次输入账号和密码。
Hardware supply constraints linked to AI growth are reaching the mobile sector, not only data centers. Google says the amount of memory devices can ship with is changing, creating especially acute pressure for entry-level phones that cannot easily absorb higher component costs through pricing.
New thresholds for app memory and code efficiency
Google’s first requirement targets memory consumption and code efficiency. Apps will need to meet performance thresholds covering areas including dynamic memory use and bitmap use, while improving code to reduce slowdowns and crashes caused by performance issues. Developers must meet the new standard by February 2027.
Google plans warning tools that alert developers when an app exceeds the new thresholds. It also expects to add further diagnostics later this year, including Memory Limiter, which can restrict excessive device-memory use and provide deeper analysis.
Device migration must support Zero Tap Sign-In
The second requirement addresses sign-in after switching devices. By April 2027, every Google Play app with optional or mandatory sign-in must meet the Zero Tap Sign-In standard during device migration.
Using the Android Restore Credentials API, an app should restore a user’s existing signed-in state automatically after they move to another Android device, without requiring account credentials to be entered again.
来源
- TechCrunch AI · 08-27 22:27