Test your app in a 16 KB environment
通俗解读
构建支持16 KB的应用后,您应在16 KB环境中测试以检查回归问题,并遵循所列步骤。
- 安装Android 15 SDK或更高版本。
- 设置一个测试环境:带16 KB Android 15系统镜像的Android模拟器、Cuttlefish(ARM64或x86-64)、在开发者选项中启用16 KB模式的设备,或Samsung Remote Test Lab。
- 使用adb shell getconf PAGE_SIZE验证16 KB环境;应返回16384。
- 使用zipalign -c -P 16 -v 4 APK_NAME.apk验证16 KB对齐。
- 全面测试您的应用,重点关注可能受更改特定页面大小相关代码影响的区域。
官方原文摘录
After you build your app with support for 16 KB devices, you'll want to test your app in a 16 KB environment to see whether your app experiences any regressions. To do this, follow these steps: 1. Set up the Android 15 SDK or higher. 2. Set up one of the following testing environments: - Set up the Android Emulator …
阅读官方全文 ↗ 在 StoreRules 规则库中打开 询问你的应用是否合规
变更历史
自 StoreRules 开始跟踪以来没有实质性变化。
开发者关于此条款的案例
暂无案例。