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

首頁 > 系統(tǒng) > Android > 正文

Android中aapt命令實踐

2019-12-12 01:18:14
字體:
供稿:網(wǎng)友

引言

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

aapt 命令大全

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

badging

Print the label and icon for the app declared in APK.打印APK中聲明的應(yīng)用程序的標(biāo)簽和圖標(biāo)。

aapt dump badging

permissions

Print the permissions from the APK.打印APK中聲明的權(quán)限信息

aapt dump permissions

**resources **

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

aapt dump resources

configurations

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

aapt dump configurations

xmltree

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

aapt dump configurations

xmlstrings

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

aapt dump xmlstrings

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

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

aapt list <file.apk>

aapt list

aapt list -v <file.apk>

會以table的形式輸出目錄

aapt list -v

aapt list -a <file.apk>

詳細(xì)輸出所有目錄的內(nèi)容(= 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.

發(fā)表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發(fā)表
主站蜘蛛池模板: 青田县| 阳信县| 喜德县| 马鞍山市| 通州市| 宁强县| 太湖县| 周口市| 同仁县| 班玛县| 荥经县| 康乐县| 库尔勒市| 德清县| 利辛县| 太谷县| 杭锦后旗| 阿鲁科尔沁旗| 阳东县| 图们市| 阿巴嘎旗| 云阳县| 博野县| 高唐县| 渭源县| 张家港市| 个旧市| 财经| 万安县| 阿勒泰市| 沿河| 海盐县| 梅河口市| 调兵山市| 扶沟县| 汉沽区| 册亨县| 石台县| 凤凰县| 上虞市| 汉源县|