File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -193,7 +193,21 @@ pushy bundle --platform android --name "1.0.0" --description "热更新版本 1.
193193
194194#### pushy extractApk [ aabFile]
195195
196- 从 aab 文件中提取 apk 文件。备注(cli 需 2.6.0 +)
196+ 从 aab 文件中提取通用 apk 文件。(cli 需 2.6.0+)
197+
198+ 用法:` pushy extractApk aab后缀文件 [--output apk文件] [--includeAllSplits] [--splits 分包名列表] `
199+
200+ - output: 指定导出的 apk 文件路径(默认与 aab 同目录同名 ` .apk ` )
201+ - includeAllSplits: 提取时包含全部 split(默认仅包含 ` base ` )
202+ - splits: 指定额外包含的 split 名称,多个值用英文逗号分隔
203+
204+ 示例:
205+
206+ ``` bash
207+ pushy extractApk android/app/build/outputs/bundle/release/app-release.aab --output app-release.apk
208+ pushy extractApk android/app/build/outputs/bundle/release/app-release.aab --splits config.zh,arm64_v8a
209+ pushy extractApk android/app/build/outputs/bundle/release/app-release.aab --includeAllSplits
210+ ```
197211
198212---
199213
You can’t perform that action at this time.
0 commit comments