简体   繁体   English

Android-GO的清单项目

[英]Checklist items for Android-GO

What is checklist for android GO? 什么是android GO的清单? I want to update my android app for android GO operating System. 我想为android GO操作系统更新我的android应用程序。 how to check my App is compatible Android GO? 如何检查我的App是否兼容Android GO?

Please find the requirements to be Android go ready below 请在下面找到要准备使用Android的要求

  1. Runs on device with 512MB RAM 在具有512MB RAM的设备上运行
  2. APK installed size ≤ 40MB APK安装大小≤40MB
  3. Target SDK 26 (Oreo) 目标SDK 26(奥利奥(Oreo))
  4. App starts ≤ 5s (connected to WiFi) 应用启动时间≤5秒 (已连接到WiFi)
  5. RAM ≤ 50MB PSS 内存≤50MB PSS

What is PSS ? 什么是PSS

The "proportional set size" (PSS) of a process is the count of pages it has in memory, where each page is divided by the number of processes sharing it. 进程的“比例集大小”(PSS)是它在内存中具有的页面数,其中每个页面除以共享它的进程数。 So if a process has 1000 pages all to itself, and 1000 shared with one other process, its PSS will be 1500. 因此,如果一个进程自身拥有1000页,并且与另一个进程共享1000页,则其PSS将为1500。

Checkout more details at official android developer site here Optimize for devices running Android (Go edition) 在此处查看android官方开发人员站点上的更多详细信息, 针对运行Android(Go版)的设备进行优化

Checklist items for Android (Go edition): 适用于Android(Go版)的清单项目:

  1. targetSdkVersion ≥ API 26 targetSdkVersion≥API 26
  2. The app should run smoothly on devices with ≤ 1GB RAM. 该应用程序应在RAM≤1GB的设备上平稳运行。
  3. App size ≤ 40MB 应用程式大小≤40MB
  4. App startup time ≤ 5 seconds 应用启动时间≤5秒
  5. The Proportional Set Size (PSS) of the app's RAM usage ≤ 50MB, For games, the PSS of the game's RAM usage ≤ 150 应用程序RAM使用率的比例集大小(PSS)≤50MB,对于游戏,游戏RAM使用率的PSS≤150MB

You can use the Multiple APK feature on the Play Console to distribute a specific APK for Android (Go edition) devices but you should only do so without compromising the experience (eg you should avoid removing features). 您可以在Play控制台上使用“多个APK”功能来分发适用于Android(Go版)设备的特定APK,但您只能在不影响使用体验的情况下进行分发(例如,应避免删除功能)。

The APK targeting Android (Go edition) devices needs to declare <uses-feature android:name="android.hardware.ram.low" android:required="true"> , target at least API Level 26, and have a higher version code than the non-Go edition APK. 面向Android(转到版本)设备的APK需要声明<uses-feature android:name="android.hardware.ram.low" android:required="true"> ,至少定位到API级别26,并具有更高的版本代码比非Go版APK更好。

Checkout more details at official android developer site here Optimize for devices running Android (Go edition) 在此处查看android官方开发人员站点上的更多详细信息, 针对运行Android(Go版)的设备进行优化

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM