国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 系統 > Android > 正文

Android中aapt命令實踐

2019-10-22 18:17:03
字體:
來源:轉載
供稿:網友

引言

朋友要查看一個已存在包的versionCode信息,在群里面詢問,由于是已經存在的apk包,并且只需要其中的versionCode信息,筆者就給發了一段aapt命令:aapt dump badging <files.apk> 下面針對aapt 命令做一下介紹,之前筆者也對一些常用adb命令也做過介紹:總結一些常用Android adb 命令,了解這些命令以后,可以更方便我們開發,提高開發效率。在這筆者在網上隨便下載了一個app作為演示用。

aapt 命令大全

aapt d[ump] [--values] WHAT file.{apk} [asset [asset ...]]

badging

Print the label and icon for the app declared in APK.打印APK中聲明的應用程序的標簽和圖標。

Android,aapt命令

permissions

Print the permissions from the APK.打印APK中聲明的權限信息

Android,aapt命令

**resources **

Print the resource table from the APK.打印APK中的資源表

Android,aapt命令

configurations

Print the configurations in the APK.打印APK中的配置信息

Android,aapt命令

xmltree

Print the compiled xmls in the given assets.打印指定apk的指定xml文件。

Android,aapt命令

xmlstrings

Print the strings of the given compiled xml assets.打印xml文件中所有的字符串信息

Android,aapt命令

aapt l[ist] [-v] [-a] file.{zip,jar,apk}

List contents of Zip-compatible archive.列出壓縮文件目錄

aapt list <file.apk>

Android,aapt命令

aapt list -v <file.apk>

會以table的形式輸出目錄

Android,aapt命令

aapt list -a <file.apk>

詳細輸出所有目錄的內容(= aapt list)

其他aapt 命令

aapt r[emove] [-v] file.{zip,jar,apk} file1 [file2 ...]

Delete specified files from Zip-compatible archive.

aapt a[dd] [-v] file.{zip,jar,apk} file1 [file2 ...]

Add specified files to Zip-compatible archive.

aapt v[ersion]

Print program version.


注:相關教程知識閱讀請移步到Android開發頻道。
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 阿尔山市| 科技| 长治县| 车险| 天门市| 田林县| 霍山县| 齐齐哈尔市| 桂阳县| 安乡县| 远安县| 自贡市| 达州市| 望谟县| 大渡口区| 重庆市| 龙州县| 太和县| 育儿| 平邑县| 汽车| 民和| 舞钢市| 许昌县| 连南| 五峰| 广南县| 浠水县| 通化市| 邮箱| 钟山县| 融水| 门头沟区| 大安市| 金坛市| 金沙县| 郓城县| 金秀| 黄石市| 荔波县| 蒲江县|