前提:Android SDK已安装完成
切换到Android SDK中 platform-tools目录下
安装apk程序,如百度语音助手(baiduyuyinzhushou.apk) adb install baiduyuyinzhushou.apk
运行aapt dump badging baiduyuyinzhushou.apk就可获取此程序的版本信息,如下:
D:\Android development sdk\android-sdk-windows\platform-tools>aapt dump badging
baiduyuyinzhushou.apk
package: name='com.baidu.voiceassistant' versionCode='16777473' versionName='2.0
'
sdkVersion:'9'
targetSdkVersion:'13'
uses-permission:'com.baidu.voiceassistant.permission.APP_EXIT'
uses-permission:'android.permission.WRITE_EXTERNAL_STORAGE'
uses-permission:'android.permission.RECORD_AUDIO'
uses-permission:'android.permission.READ_LOGS'
uses-permission:'android.permission.ACCESS_NETWORK_STATE'
uses-permission:'android.permission.INTERNET'
uses-permission:'android.permission.READ_PHONE_STATE'
uses-permission:'android.permission.BAIDU_LOCATION_SERVICE'
uses-permission:'android.permission.ACCESS_FINE_LOCATION'
uses-permission:'android.permission.ACCESS_WIFI_STATE'
uses-permission:'android.permission.CHANGE_WIFI_STATE'
uses-permission:'android.permission.READ_CONTACTS'
uses-permission:'android.permission.CALL_PHONE'
uses-permission:'android.permission.WAKE_LOCK'
uses-permission:'android.permission.MOUNT_UNMOUNT_FILESYSTEMS'
uses-permission:'android.permission.ACCESS_COARSE_LOCATION'
uses-permission:'android.permission.READ_TING_MP3'
uses-permission:'android.permission.WRITE_TING_MP3'
uses-permission:'android.permission.WRITE_SETTINGS'
uses-permission:'android.permission.KILL_BACKGROUND_PROCESSES'
uses-permission:'android.permission.RESTART_PACKAGES'
uses-permission:'android.permission.MODIFY_AUDIO_SETTINGS'
uses-permission:'android.permission.GET_ACCOUNTS'
uses-permission:'android.permission.USE_CREDENTIALS'
uses-permission:'android.permission.MANAGE_ACCOUNTS'
uses-permission:'android.permission.AUTHENTICATE_ACCOUNTS'
uses-permission:'android.hardware.sensor.accelerometer'
uses-permission:'android.permission.KILL_BACKGROUND_PROCESSES'
uses-permission:'android.permission.GET_TASKS'
uses-permission:'android.permission.READ_SMS'
uses-permission:'android.permission.BROADCAST_STICKY'
uses-permission:'android.permission.SEND_SMS'
uses-permission:'android.permission.WRITE_SMS'
uses-permission:'android.permission.RECEIVE_BOOT_COMPLETED'
uses-permission:'android.permission.VIBRATE'
uses-permission:'android.permission.DISABLE_KEYGUARD'
uses-permission:'android.permission.DEVICE_POWER'
uses-permission:'com.android.launcher.permission.INSTALL_SHORTCUT'
uses-permission:'com.android.launcher.permission.READ_SETTINGS'
application-label:'鐧惧害璇煶鍔╂墜'
application-label-zh_CN:'鐧惧害璇煶鍔╂墜'
application-icon-120:'res/drawable-mdpi/app_icon.png'
application-icon-160:'res/drawable-mdpi/app_icon.png'
application-icon-240:'res/drawable-hdpi/app_icon.png'
application-icon-320:'res/drawable-xhdpi/app_icon.png'
application: label='鐧惧害璇煶鍔╂墜' icon='res/drawable-mdpi/app_icon.png'
launchable-activity: name='com.baidu.voiceassistant.SplashActivity' label='鐧惧
害璇煶鍔╂墜' icon=''
uses-permission:'android.permission.READ_EXTERNAL_STORAGE'
uses-implied-permission:'android.permission.READ_EXTERNAL_STORAGE','requested WR
ITE_EXTERNAL_STORAGE'
uses-permission:'android.permission.READ_CALL_LOG'
uses-implied-permission:'android.permission.READ_CALL_LOG','targetSdkVersion < 1
6 and requested READ_CONTACTS'
uses-feature:'android.hardware.location'
uses-implied-feature:'android.hardware.location','requested a location access pe
rmission'
uses-feature:'android.hardware.location.gps'
uses-implied-feature:'android.hardware.location.gps','requested android.permissi
on.ACCESS_FINE_LOCATION permission'
uses-feature:'android.hardware.location.network'
uses-implied-feature:'android.hardware.location.network','requested android.perm
ission.ACCESS_COURSE_LOCATION permission'
uses-feature:'android.hardware.microphone'
uses-implied-feature:'android.hardware.microphone','requested android.permission
.RECORD_AUDIO permission'
uses-feature:'android.hardware.wifi'
uses-implied-feature:'android.hardware.wifi','requested android.permission.ACCES
S_WIFI_STATE, android.permission.CHANGE_WIFI_STATE, or android.permission.CHANGE
_WIFI_MULTICAST_STATE permission'
uses-feature:'android.hardware.telephony'
uses-implied-feature:'android.hardware.telephony','requested a telephony-related
permission or feature'
uses-feature:'android.hardware.touchscreen'
uses-implied-feature:'android.hardware.touchscreen','assumed you require a touch
screen unless explicitly made optional'
uses-feature:'android.hardware.screen.portrait'
uses-implied-feature:'android.hardware.screen.portrait','one or more activities
have specified a portrait orientation'
main
other-activities
other-receivers
other-services
supports-screens: 'small' 'normal' 'large' 'xlarge'
supports-any-density: 'true'
locales: '--_--' 'zh_CN'
densities: '120' '160' '240' '320'
native-code: 'armeabi'
baiduyuyinzhushou.apk
package: name='com.baidu.voiceassistant' versionCode='16777473' versionName='2.0
'
sdkVersion:'9'
targetSdkVersion:'13'
uses-permission:'com.baidu.voiceassistant.permission.APP_EXIT'
uses-permission:'android.permission.WRITE_EXTERNAL_STORAGE'
uses-permission:'android.permission.RECORD_AUDIO'
uses-permission:'android.permission.READ_LOGS'
uses-permission:'android.permission.ACCESS_NETWORK_STATE'
uses-permission:'android.permission.INTERNET'
uses-permission:'android.permission.READ_PHONE_STATE'
uses-permission:'android.permission.BAIDU_LOCATION_SERVICE'
uses-permission:'android.permission.ACCESS_FINE_LOCATION'
uses-permission:'android.permission.ACCESS_WIFI_STATE'
uses-permission:'android.permission.CHANGE_WIFI_STATE'
uses-permission:'android.permission.READ_CONTACTS'
uses-permission:'android.permission.CALL_PHONE'
uses-permission:'android.permission.WAKE_LOCK'
uses-permission:'android.permission.MOUNT_UNMOUNT_FILESYSTEMS'
uses-permission:'android.permission.ACCESS_COARSE_LOCATION'
uses-permission:'android.permission.READ_TING_MP3'
uses-permission:'android.permission.WRITE_TING_MP3'
uses-permission:'android.permission.WRITE_SETTINGS'
uses-permission:'android.permission.KILL_BACKGROUND_PROCESSES'
uses-permission:'android.permission.RESTART_PACKAGES'
uses-permission:'android.permission.MODIFY_AUDIO_SETTINGS'
uses-permission:'android.permission.GET_ACCOUNTS'
uses-permission:'android.permission.USE_CREDENTIALS'
uses-permission:'android.permission.MANAGE_ACCOUNTS'
uses-permission:'android.permission.AUTHENTICATE_ACCOUNTS'
uses-permission:'android.hardware.sensor.accelerometer'
uses-permission:'android.permission.KILL_BACKGROUND_PROCESSES'
uses-permission:'android.permission.GET_TASKS'
uses-permission:'android.permission.READ_SMS'
uses-permission:'android.permission.BROADCAST_STICKY'
uses-permission:'android.permission.SEND_SMS'
uses-permission:'android.permission.WRITE_SMS'
uses-permission:'android.permission.RECEIVE_BOOT_COMPLETED'
uses-permission:'android.permission.VIBRATE'
uses-permission:'android.permission.DISABLE_KEYGUARD'
uses-permission:'android.permission.DEVICE_POWER'
uses-permission:'com.android.launcher.permission.INSTALL_SHORTCUT'
uses-permission:'com.android.launcher.permission.READ_SETTINGS'
application-label:'鐧惧害璇煶鍔╂墜'
application-label-zh_CN:'鐧惧害璇煶鍔╂墜'
application-icon-120:'res/drawable-mdpi/app_icon.png'
application-icon-160:'res/drawable-mdpi/app_icon.png'
application-icon-240:'res/drawable-hdpi/app_icon.png'
application-icon-320:'res/drawable-xhdpi/app_icon.png'
application: label='鐧惧害璇煶鍔╂墜' icon='res/drawable-mdpi/app_icon.png'
launchable-activity: name='com.baidu.voiceassistant.SplashActivity' label='鐧惧
害璇煶鍔╂墜' icon=''
uses-permission:'android.permission.READ_EXTERNAL_STORAGE'
uses-implied-permission:'android.permission.READ_EXTERNAL_STORAGE','requested WR
ITE_EXTERNAL_STORAGE'
uses-permission:'android.permission.READ_CALL_LOG'
uses-implied-permission:'android.permission.READ_CALL_LOG','targetSdkVersion < 1
6 and requested READ_CONTACTS'
uses-feature:'android.hardware.location'
uses-implied-feature:'android.hardware.location','requested a location access pe
rmission'
uses-feature:'android.hardware.location.gps'
uses-implied-feature:'android.hardware.location.gps','requested android.permissi
on.ACCESS_FINE_LOCATION permission'
uses-feature:'android.hardware.location.network'
uses-implied-feature:'android.hardware.location.network','requested android.perm
ission.ACCESS_COURSE_LOCATION permission'
uses-feature:'android.hardware.microphone'
uses-implied-feature:'android.hardware.microphone','requested android.permission
.RECORD_AUDIO permission'
uses-feature:'android.hardware.wifi'
uses-implied-feature:'android.hardware.wifi','requested android.permission.ACCES
S_WIFI_STATE, android.permission.CHANGE_WIFI_STATE, or android.permission.CHANGE
_WIFI_MULTICAST_STATE permission'
uses-feature:'android.hardware.telephony'
uses-implied-feature:'android.hardware.telephony','requested a telephony-related
permission or feature'
uses-feature:'android.hardware.touchscreen'
uses-implied-feature:'android.hardware.touchscreen','assumed you require a touch
screen unless explicitly made optional'
uses-feature:'android.hardware.screen.portrait'
uses-implied-feature:'android.hardware.screen.portrait','one or more activities
have specified a portrait orientation'
main
other-activities
other-receivers
other-services
supports-screens: 'small' 'normal' 'large' 'xlarge'
supports-any-density: 'true'
locales: '--_--' 'zh_CN'
densities: '120' '160' '240' '320'
native-code: 'armeabi'