aapt命令可以查看包信息

aapt dump badging XXX.apk //通过这个命令可以查看包的资源信息!

package: name=’com.example.hello’ versionCode=’1’ versionName=’1.0’
sdkVersion:’11’
uses-permission:’android.permission.SEND_SMS’
application-label:’Hello’
application-icon-120:’res/drawable-ldpi/icon.png’
application-icon-160:’res/drawable-mdpi/icon.png’
application-icon-240:’res/drawable-hdpi/icon.png’
application: label=’Hello’ icon=’res/drawable-mdpi/icon.png’
launchable-activity: name=’com.example.hello.HelloActivity’ label=’Hello’ icon=”
uses-feature:’android.hardware.telephony’
uses-feature:’android.hardware.touchscreen’
main
supports-screens: ‘small’ ‘normal’ ‘large’ ‘xlarge’
supports-any-density: ‘true’
locales: ‘–_–’
densities: ‘120’ ‘160’ ‘240’

你可能感兴趣的:(aapt命令可以查看包信息)