Files
tldr/pages.zh/common/aapt.md
2021-10-01 15:28:01 -03:00

18 lines
497 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
> 更多信息:<https://elinux.org/Android_aapt>.
- 列出资源压缩包里的内容:
`aapt list {{路径/到/应用.apk}}`
- 查看 APK 包内指定的内容(版本,权限许可等):
`aapt dump badging {{路径/到/应用.apk}}`
- 打包生成资源压缩包:
`aapt package -F {{路径/到/应用.apk}} {{路径/到/目录}}`