亚洲乱码中文字幕综合,中国熟女仑乱hd,亚洲精品乱拍国产一区二区三区,一本大道卡一卡二卡三乱码全集资源,又粗又黄又硬又爽的免费视频

Android中aapt命令實(shí)踐

 更新時(shí)間:2018年01月15日 11:43:03   投稿:laozhang  
本篇文章給大家詳解了Android aapt命令介紹及常用命令實(shí)踐,有這方面需求的朋友跟著學(xué)習(xí)下吧。

引言

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

會(huì)以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.

相關(guān)文章

最新評(píng)論