Files
tldr/pages.zh/common/aapt.md
2020-11-04 17:12:56 -03:00

17 lines
428 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# aapt
> 安卓资源包工具Android Asset Packaging Tools.
> 该工具可以查看,创建, 更新资源压缩包(zip, jar, apk)。
- 列出资源压缩包里的内容:
`aapt list {{路径/到/应用.apk}}`
- 查看APK包内指定的内容 (版本, 权限许可等):
`aapt dump badging {{路径/到/应用.apk}}`
- 打包生成资源压缩包:
`aapt package -F {{路径/到/应用.apk}} {{路径/到/目录}}`