android aapt查看apkmenifast信息
2013-12-01 11:01
471 查看
aapt:Android Asset Packaging Tool , 在SDK的tools/目录下. 该工具可以查看, 创建, 更新ZIP格式的文档附件(zip, jar, apk). 也可将资源文件编译成二进制文件.
同步软件中得到apk信息就是用的这么一个android已经提供好的工具。
[html] view plaincopy
aapt d[ump] [–values] WHAT file.{apk} [asset [asset …]]
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.
使用aapt dump badging *.apk可以查看这个apk文件的程序名、包名、所用的sdk,程序版本以及权限信息等等。如下:
aapt dump bagging EngineeringTest.apk 得到如下详细信息
[html] view plaincopy
package: name='com.archermind.engineeringtest' versionCode='1' versionName='1.0'
sdkVersion:'8'
application-label:'EngineeringTest'
application-icon-120:'res/drawable-ldpi/ic_launcher.png'
application-icon-160:'res/drawable-mdpi/ic_launcher.png'
application-icon-240:'res/drawable-hdpi/ic_launcher.png'
application: label='EngineeringTest' icon='res/drawable-mdpi/ic_launcher.png'
launchable-activity: name='com.archermind.engineeringtest.EngineeringTestActivity' label='EngineeringTest' icon=''
uses-permission:'android.permission.INTERNET'
uses-feature:'android.hardware.touchscreen'
main
other-activities
other-receivers
other-services
supports-screens: 'small' 'normal' 'large'
supports-any-density: 'true'
locales: '–_–'
densities: '120' '160' '240'
同步软件中得到apk信息就是用的这么一个android已经提供好的工具。
[html] view plaincopy
aapt d[ump] [–values] WHAT file.{apk} [asset [asset …]]
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.
使用aapt dump badging *.apk可以查看这个apk文件的程序名、包名、所用的sdk,程序版本以及权限信息等等。如下:
aapt dump bagging EngineeringTest.apk 得到如下详细信息
[html] view plaincopy
package: name='com.archermind.engineeringtest' versionCode='1' versionName='1.0'
sdkVersion:'8'
application-label:'EngineeringTest'
application-icon-120:'res/drawable-ldpi/ic_launcher.png'
application-icon-160:'res/drawable-mdpi/ic_launcher.png'
application-icon-240:'res/drawable-hdpi/ic_launcher.png'
application: label='EngineeringTest' icon='res/drawable-mdpi/ic_launcher.png'
launchable-activity: name='com.archermind.engineeringtest.EngineeringTestActivity' label='EngineeringTest' icon=''
uses-permission:'android.permission.INTERNET'
uses-feature:'android.hardware.touchscreen'
main
other-activities
other-receivers
other-services
supports-screens: 'small' 'normal' 'large'
supports-any-density: 'true'
locales: '–_–'
densities: '120' '160' '240'
相关文章推荐
- Android开发学习之SQLite数据库初探
- Android开发学习之IO文件读写操作
- android手机命令行下不能使用sqlite3命令查看*.db数据库文件解决办法
- Android Selector 与 Shape 基本用法
- android样式和主题
- Working Practice- 一些Android应用的测试case
- Android文档学习01_Android基础
- 最全的Android的Tab与TabHost讲解
- Android开发学习之摇一摇功能的简单实现
- Ubuntu 下搭建 Android 开发环境(图文)
- Android开发学习之Notification通知的简单实现
- Android开发学习之Gallery画廊的使用
- android的加密和反编译
- Android五种数据存储方式
- windows下Qt5.2 for android开发环境搭建
- windows下android开发环境搭建问题
- 在 32 位系统中安装 Android 编译环境(不成功)
- Android 中写 Service
- Android 防止锁屏服务暂时停止运行
- android.os.NetworkOnMainThreadException异常处理