Android 使用aapt查看APK的PackageName
阅读(6256)使用aapt工具,全称:Android Asset Packaging Tool。
windows下可在此下载aapt: https://code.google.com/p/cfuture09-apkutil/downloads/list
命令行模式,输入指令:
aapt d badging "D:\app-online-demo-android-no-mraid.apk"
得到输出形如:
package: name='com.taobao.munion.demo' versionCode='1' versionName='1.0'
uses-permission:'android.permission.ACCESS_NETWORK_STATE'
uses-permission:'android.permission.ACCESS_WIFI_STATE'
uses-permission:'android.permission.WRITE_SETTINGS'
uses-permission:'android.permission.READ_PHONE_STATE'
uses-permission:'android.permission.WRITE_EXTERNAL_STORAGE'
uses-permission:'android.permission.READ_EXTERNAL_STORAGE'
uses-permission:'android.permission.CHANGE_WIFI_STATE'
完整的 aapt 指令,见 http://blog.csdn.net/electricity/article/details/6540247