Android (Go edition)

针对入门级Android设备,本文档提供了关键的优化建议,确保应用轻量化、快速启动且稳定运行,包括减少应用体积、优化内存使用等措施,旨在提供优质的用户体验。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

A powerful experience for entry-level smartphones. It's the best of Android, built with new and reimagined apps, so even the most affordable Android smartphones present the optimum experience.

CHECK OUT THE OPTIMIZATION REQUIREMENTS

 

Android Developer Story: Flipkart

Learn how the Flipkart team was able to do reduce app size and optimize memory usage in their app for Android (Go edition) devices.

Android (Go edition) by Flipkart

Android (Go edition) requirements

 

Delivering a high-quality experience to users on entry-level devices requires some optimizations to your app and game.

 

Target Android Oreo

Ensure that your app or game is targeting (at least) Android Oreo (API 26). Android Oreo is packed with a ton of battery and performance improvements that will ensure your app or game runs well on these devices.

LEARN MORE

Optimize app size

Apps should be less than 40MB on device, while games should be less than 65MB on device. While these devices provide more storage out of the box than ever before, ensuring your app or game has a light footprint is key to preventing users from maxing out their storage.

LEARN MORE

Optimize memory usage

Ensure that your PSS (measured as the sum of the private memory of your app plus your app's proportional usage of public processes) under 50MB for apps and under 150MB for games. Users don't want slow phones, and they expect their phone to be lightning quick.

LEARN MORE

No ANRs, No Crashes

Nothing is worse than an app that freezes or crashes. Our studies have shown that users will abandon and uninstall apps quickly, if apps crash frequently. Leverage Android Vitals to understand and address problems with application not responding errors, and crashes.

LEARN MORE

Start your app under 5 seconds

User perception is key here. Ensure that your app or game is able to start (become usable) in under 5 seconds. When an app takes longer than 5 seconds to load, abandonment and drop-off increases.

LEARN MORE

Reduce app size, increase installs

A key requirement to be optimized for Android (Go edition) devices is to ensure your app's size is small (40MB for apps, and 65MB for games) on a user's device. Our studies have shown that reducing app size can lead to more installs.

 

 

### Android 13 和 Android Go 版本之间的差异 #### 设备规格要求 Android Go 是专为低内存设备设计的操作系统变体,通常适用于具有 1GB 或更少 RAM 的手机。而标准版 Android 13 则面向更高配置的设备,支持更多资源密集型应用和服务。 #### 用户体验优化 为了适应较低硬件性能,Android Go 对启动时间和应用程序加载速度进行了特别优化[^3]。这使得即使是在入门级设备上也能提供流畅的基础用户体验。相比之下,常规版本的 Android 提供了更为丰富的图形界面和更多的动画效果来增强视觉感受。 #### 预装软件包精简 在 Android Go 中预安装的应用程序数量较少,并且这些应用程序都是经过专门调整过的轻量化版本,占用空间较小并能快速响应用户操作。例如,默认浏览器会采用 Chrome Lite 而不是完整的 Chrome 浏览器;消息传递服务也会被简化以节省流量消耗。对于 Android 13,则保持了一套较为全面的标准应用程序集合。 #### 存储管理特性 考虑到目标用户的存储容量有限,在 Android Go 上引入了一些独特的功能帮助有效利用内部储存空间。比如自动清理未使用的缓存文件、建议卸载长时间不用的应用等措施可以释放宝贵的磁盘空间。而在普通版 Android 系统里虽然也有类似的工具存在,但不会像前者那样积极主动地引导用户进行维护工作。 #### 数据连接控制 鉴于部分发展中国家网络条件不稳定以及资费较高这一现状,Go Edition 加强了对移动数据使用的监管力度——允许更加精细地设置每款APP的数据访问权限,甚至能够阻止后台进程偷偷耗费流量。与此同时,它还集成了内置省流模式以便于即时开启降低带宽需求的功能。不过这类细致入微的规定并不常见于旗舰机型所搭载的传统操作系统之中。 ```java // 示例代码展示如何查询当前系统的API级别 int currentApiVersion = Build.VERSION.SDK_INT; if (currentApiVersion >= Build.VERSION_CODES.TIRAMISU){ Log.d("SystemInfo", "This device runs on Android 13 or higher"); } else { Log.d("SystemInfo", "The system is below API level 33"); } ```
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值