码迷,mamicode.com
首页 > 移动开发 > 详细

aapt 解析android apk

时间:2014-10-25 12:04:30      阅读:248      评论:0      收藏:0      [点我收藏+]

标签:android   io   ar   sp   on   log   cti   ad   bs   

执行命令 aapt d badging pcSuit.apk >1.txt

例如我的泮泮娱乐应用解析结果如下:


package: name=‘org.panpan.fun‘ versionCode=‘1‘ versionName=‘1.0‘
sdkVersion:‘13‘
targetSdkVersion:‘16‘
uses-permission:‘android.permission.ACCESS_WIFI_STATE‘
uses-permission:‘android.permission.CHANGE_WIFI_STATE‘
uses-permission:‘android.permission.WRITE_EXTERNAL_STORAGE‘
uses-permission:‘android.permission.WAKE_LOCK‘
uses-permission:‘android.permission.ACCESS_NETWORK_STATE‘
uses-permission:‘android.permission.INTERNET‘
uses-permission:‘com.android.browser.permission.READ_HISTORY_BOOKMARKS‘
uses-permission:‘com.android.browser.permission.WRITE_HISTORY_BOOKMARKS‘
uses-permission:‘android.permission.WRITE_EXTERNAL_STORAGE‘
uses-permission:‘android.permission.ACCESS_NETWORK_STATE‘
uses-permission:‘android.permission.ACCESS_COARSE_LOCATION‘
uses-permission:‘android.permission.ACCESS_COARSE_LOCATION‘
uses-permission:‘android.permission.ACCESS_FINE_LOCATION‘
uses-permission:‘android.permission.ACCESS_WIFI_STATE‘
uses-permission:‘android.permission.ACCESS_NETWORK_STATE‘
uses-permission:‘android.permission.CHANGE_WIFI_STATE‘
uses-permission:‘android.permission.READ_PHONE_STATE‘
uses-permission:‘android.permission.WRITE_EXTERNAL_STORAGE‘
uses-permission:‘android.permission.INTERNET‘
uses-permission:‘android.permission.MOUNT_UNMOUNT_FILESYSTEMS‘
uses-permission:‘android.permission.READ_LOGS‘
uses-permission:‘android.permission.VIBRATE‘
uses-permission:‘android.permission.WAKE_LOCK‘
uses-permission:‘android.permission.WRITE_SETTINGS‘
uses-feature:‘android.hardware.touchscreen‘
uses-permission:‘android.permission.INTERNET‘
uses-permission:‘android.permission.WRITE_EXTERNAL_STORAGE‘
uses-permission:‘android.permission.READ_PHONE_STATE‘
uses-permission:‘android.permission.READ_LOGS‘
uses-permission:‘cn.bmob.permission.push‘
uses-permission:‘android.permission.ACCESS_NETWORK_STATE‘
uses-permission:‘android.permission.ACCESS_WIFI_STATE‘
uses-permission:‘android.permission.MOUNT_UNMOUNT_FILESYSTEMS‘
uses-permission:‘android.permission.VIBRATE‘
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.permission.BAIDU_LOCATION_SERVICE‘
uses-permission:‘android.permission.ACCESS_MOCK_LOCATION‘
uses-permission:‘com.android.launcher.permission.READ_SETTINGS‘
uses-permission:‘android.permission.WAKE_LOCK‘
uses-permission:‘android.permission.ACCESS_GPS‘
uses-permission:‘android.permission.READ_CONTACTS‘
uses-permission:‘android.permission.CALL_PHONE‘
uses-permission:‘android.permission.READ_SMS‘
uses-permission:‘android.permission.SEND_SMS‘
uses-permission:‘android.permission.GET_TASKS‘
uses-permission:‘android.permission.CAMERA‘
uses-permission:‘android.permission.RECORD_AUDIO‘
uses-permission:‘android.permission.WRITE_EXTERNAL_STORAGE‘
uses-permission:‘android.permission.RECEIVE_BOOT_COMPLETED‘
uses-permission:‘android.permission.BROADCAST_STICKY‘
uses-permission:‘android.permission.WRITE_SETTINGS‘
uses-permission:‘android.permission.PROCESS_OUTGOING_CALLS‘
uses-permission:‘android.permission.MODIFY_AUDIO_SETTINGS‘
uses-permission:‘android.permission.ACCESS_COARSE_LOCATION‘
uses-permission:‘android.permission.ACCESS_FINE_LOCATION‘
uses-permission:‘android.permission.ACCESS_WIFI_STATE‘
uses-permission:‘android.permission.ACCESS_NETWORK_STATE‘
uses-permission:‘android.permission.CHANGE_WIFI_STATE‘
uses-permission:‘android.permission.READ_PHONE_STATE‘
uses-permission:‘android.permission.INTERNET‘
uses-permission:‘android.permission.READ_PHONE_STATE‘
uses-permission:‘android.permission.ACCESS_NETWORK_STATE‘
uses-permission:‘android.permission.ACCESS_WIFI_STATE‘
uses-permission:‘android.permission.WRITE_EXTERNAL_STORAGE‘
uses-permission:‘android.permission.SYSTEM_ALERT_WINDOW‘
uses-permission:‘android.permission.GET_TASKS‘
application-label:‘泮泮娱乐‘
application-icon-120:‘res/drawable-hdpi/ic_panpan_launcher.png‘
application-icon-160:‘res/drawable-hdpi/ic_panpan_launcher.png‘
application-icon-240:‘res/drawable-hdpi/ic_panpan_launcher.png‘
application-icon-320:‘res/drawable-hdpi/ic_panpan_launcher.png‘
application: label=‘泮泮娱乐‘ icon=‘res/drawable-hdpi/ic_panpan_launcher.png‘
launchable-activity: name=‘org.panpan.fun.ui.WelcomeAcitivty‘  label=‘‘ icon=‘‘
uses-permission:‘android.permission.READ_EXTERNAL_STORAGE‘
uses-implied-permission:‘android.permission.READ_EXTERNAL_STORAGE‘,‘requested WRITE_EXTERNAL_STORAGE‘
uses-feature:‘android.hardware.camera‘
uses-feature:‘android.hardware.camera.autofocus‘
uses-implied-feature:‘android.hardware.camera.autofocus‘,‘requested android.permission.CAMERA permission‘
uses-feature:‘android.hardware.location‘
uses-implied-feature:‘android.hardware.location‘,‘requested a location access permission‘
uses-feature:‘android.hardware.location.gps‘
uses-implied-feature:‘android.hardware.location.gps‘,‘requested android.permission.ACCESS_FINE_LOCATION permission‘
uses-feature:‘android.hardware.location.network‘
uses-implied-feature:‘android.hardware.location.network‘,‘requested android.permission.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.ACCESS_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.screen.portrait‘
uses-implied-feature:‘android.hardware.screen.portrait‘,‘one or more activities have specified a portrait orientation‘
main
other-activities
search
other-receivers
other-services
supports-screens: ‘small‘ ‘normal‘ ‘large‘ ‘xlarge‘
supports-any-density: ‘true‘
locales: ‘--_--‘
densities: ‘120‘ ‘160‘ ‘240‘ ‘320‘
native-code: ‘armeabi‘


aapt 解析android apk

标签:android   io   ar   sp   on   log   cti   ad   bs   

原文地址:http://my.oschina.net/u/1162691/blog/337187

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!