aapt: Android Asset Packaging Tool

  1. 獲取Activity 與包名 aapt d[ump] badging *.apk

aapt dump badging F:\home\Lagou_Practise_TestProjiect\app\com.alpha.lagouapk_7.2.1_liqucn.com.apk

name=‘com.alpha.lagouapk’
launchable-activity: name=‘com.alpha.lagouapk.HelloActivity’

C:\Users\shifangqin>aapt dump badging F:\home\Lagou_Practise_TestProjiect\app\com.alpha.lagouapk_7.2.1_liqucn.com.apk
package: name='com.alpha.lagouapk' versionCode='70202' versionName='7.2.1' platformBuildVersionName='8.0.0'
sdkVersion:'15'
targetSdkVersion:'21'
.......
launchable-activity: name='com.alpha.lagouapk.HelloActivity'  label='' icon=''
feature-group: label=''
  uses-feature: name='android.hardware.camera'
  uses-feature: name='android.hardware.camera.autofocus'
  uses-feature: name='android.hardware.faketouch'

strings Print the contents of the resource table string pool in the APK.
badging Print the label and icon for the app declared in APK.
permissions Print the permissions from the APK.
resources Print the resource table from the APK.
configurations Print the configurations in the APK.
xmltree Print the compiled xmls in the given assets.
xmlstrings Print the strings of the given compiled xml assets.

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章