• 查看apk安装包信息


    ➜  sdk aapt dump badging ~/Downloads/PermRoot8006.apk                                        
    package: name='com.qihoo.permmgr' versionCode='494' versionName='8.1.1.3' platformBuildVersionName='7.1.1'
    sdkVersion:'14'
    targetSdkVersion:'23'
    uses-permission: name='android.permission.WRITE_EXTERNAL_STORAGE'
    uses-permission: name='android.permission.READ_EXTERNAL_STORAGE'
    uses-permission: name='android.permission.READ_PHONE_STATE'
    uses-permission: name='android.permission.CAMERA'
    uses-permission: name='android.permission.FLASHLIGHT'
    uses-permission: name='android.permission.ACCESS_FINE_LOCATION'
    uses-permission: name='android.permission.COARSE_LOCATION'
    uses-permission: name='android.permission.BLUETOOTH'
    uses-permission: name='android.permission.BLUETOOTH_ADMIN'
    uses-permission: name='android.permission.WRITE_SETTINGS'
    uses-permission: name='android.permission.SYSTEM_ALERT_WINDOW'
    uses-permission: name='android.permission.CLEAR_APP_CACHE'
    uses-permission: name='android.permission.BATTERY_STATS'
    uses-permission: name='android.permission.WRITE_SECURE_SETTINGS'
    uses-permission: name='android.permission.MOUNT_UNMOUNT_FILESYSTEMS'
    uses-permission: name='android.permission.READ_LOGS'
    uses-permission: name='android.permission.GET_TASKS'
    uses-permission: name='android.permission.READ_OWNER_DATA'
    uses-permission: name='android.permission.WRITE_OWNER_DATA'
    uses-permission: name='com.android.launcher.permission.READ_SETTINGS'
    uses-permission: name='com.android.launcher.permission.WRITE_SETTINGS'
    uses-permission: name='com.htc.launcher.permission.READ_SETTINGS'
    uses-permission: name='android.permission.INTERACT_ACROSS_USERS_FULL'
    uses-permission: name='android.permission.ACCESS_MTK_MMHW'
    uses-permission: name='android.permission.ACCESS_COARSE_UPDATES'
    uses-permission: name='android.permission.REAL_GET_TASKS'
    uses-permission: name='android.permission.RESTART_PACKAGES'
    uses-permission: name='android.permission.GET_ACCOUNTS'
    uses-permission: name='android.permission.DELETE_CACHE_FILES'
    uses-permission: name='android.permission.PACKAGE_USAGE_STATS'
    uses-permission: name='android.permission.USAGE_ACCESS_SETTINGS'
    uses-permission: name='android.permission.INTERNET'
    uses-permission: name='android.permission.ACCESS_NETWORK_STATE'
    uses-permission: name='android.permission.CHANGE_NETWORK_STATE'
    uses-permission: name='android.permission.ACCESS_WIFI_STATE'
    uses-permission: name='android.permission.CHANGE_WIFI_STATE'
    uses-permission: name='android.permission.RECEIVE_BOOT_COMPLETED'
    uses-permission: name='android.permission.REORDER_TASKS'
    uses-permission: name='com.android.launcher.permission.INSTALL_SHORTCUT'
    uses-permission: name='com.android.launcher.permission.UNINSTALL_SHORTCUT'
    uses-permission: name='android.permission.WAKE_LOCK'
    uses-permission: name='android.permission.BROADCAST_STICKY'
    uses-permission: name='android.permission.DISABLE_KEYGUARD'
    uses-permission: name='android.permission.CHANGE_CONFIGURATION'
    uses-permission: name='android.permission.GET_PACKAGE_SIZE'
    uses-permission: name='android.permission.KILL_BACKGROUND_PROCESSES'
    uses-permission: name='android.permission.READ_SYNC_SETTINGS'
    uses-permission: name='android.permission.WRITE_SYNC_SETTINGS'
    uses-permission: name='android.permission.VIBRATE'
    uses-permission: name='com.qihoo.permmgr.RESPOND'
    uses-permission: name='com.qihoo.permmgr.provider.READ'
    uses-permission: name='com.qihoo.permmgr.provider.WRITE'
    uses-permission: name='com.qihoo.antivirus.update.permission.clear_sdk_200005'
    uses-permission: name='com.qihoo.antivirus.update.permission.root'
    uses-permission: name='com.qihoo.antivirus.update.permission.rootauthor'
    application-label:'360超级ROOT'
    application-label-af:'360超级ROOT'
    application-label-am:'360超级ROOT'
    application-label-ar:'360超级ROOT'
    application-label-az-AZ:'360超级ROOT'
    application-label-bg:'360超级ROOT'
    application-label-bn-BD:'360超级ROOT'
    application-label-ca:'360超级ROOT'
    application-label-cs:'360超级ROOT'
    application-label-da:'360超级ROOT'
    application-label-de:'360超级ROOT'
    application-label-el:'360超级ROOT'
    application-label-en-AU:'360超级ROOT'
    application-label-en-GB:'360超级ROOT'
    application-label-en-IN:'360超级ROOT'
    application-label-es:'360超级ROOT'
    application-label-es-US:'360超级ROOT'
    application-label-et-EE:'360超级ROOT'
    application-label-eu-ES:'360超级ROOT'
    application-label-fa:'360超级ROOT'
    application-label-fi:'360超级ROOT'
    application-label-fr:'360超级ROOT'
    application-label-fr-CA:'360超级ROOT'
    application-label-gl-ES:'360超级ROOT'
    application-label-gu-IN:'360超级ROOT'
    application-label-hi:'360超级ROOT'
    application-label-hr:'360超级ROOT'
    application-label-hu:'360超级ROOT'
    application-label-hy-AM:'360超级ROOT'
    application-label-in:'360超级ROOT'
    application-label-is-IS:'360超级ROOT'
    application-label-it:'360超级ROOT'
    application-label-iw:'360超级ROOT'
    application-label-ja:'360超级ROOT'
    application-label-ka-GE:'360超级ROOT'
    application-label-kk-KZ:'360超级ROOT'
    application-label-km-KH:'360超级ROOT'
    application-label-kn-IN:'360超级ROOT'
    application-label-ko:'360超级ROOT'
    application-label-ky-KG:'360超级ROOT'
    application-label-lo-LA:'360超级ROOT'
    application-label-lt:'360超级ROOT'
    application-label-lv:'360超级ROOT'
    application-label-mk-MK:'360超级ROOT'
    application-label-ml-IN:'360超级ROOT'
    application-label-mn-MN:'360超级ROOT'
    application-label-mr-IN:'360超级ROOT'
    application-label-ms-MY:'360超级ROOT'
    application-label-my-MM:'360超级ROOT'
    application-label-nb:'360超级ROOT'
    application-label-ne-NP:'360超级ROOT'
    application-label-nl:'360超级ROOT'
    application-label-pa-IN:'360超级ROOT'
    application-label-pl:'360超级ROOT'
    application-label-pt:'360超级ROOT'
    application-label-pt-BR:'360超级ROOT'
    application-label-pt-PT:'360超级ROOT'
    application-label-ro:'360超级ROOT'
    application-label-ru:'360超级ROOT'
    application-label-si-LK:'360超级ROOT'
    application-label-sk:'360超级ROOT'
    application-label-sl:'360超级ROOT'
    application-label-sq-AL:'360超级ROOT'
    application-label-sr:'360超级ROOT'
    application-label-sv:'360超级ROOT'
    application-label-sw:'360超级ROOT'
    application-label-ta-IN:'360超级ROOT'
    application-label-te-IN:'360超级ROOT'
    application-label-th:'360超级ROOT'
    application-label-tl:'360超级ROOT'
    application-label-tr:'360超级ROOT'
    application-label-uk:'360超级ROOT'
    application-label-ur-PK:'360超级ROOT'
    application-label-uz-UZ:'360超级ROOT'
    application-label-vi:'360超级ROOT'
    application-label-zh-CN:'360超级ROOT'
    application-label-zh-HK:'360超级ROOT'
    application-label-zh-TW:'360超级ROOT'
    application-label-zu:'360超级ROOT'
    application-icon-120:'res/drawable-mdpi-v4/app_icon.png'
    application-icon-160:'res/drawable-mdpi-v4/app_icon.png'
    application-icon-213:'res/drawable-hdpi-v4/app_icon.png'
    application-icon-240:'res/drawable-hdpi-v4/app_icon.png'
    application-icon-320:'res/drawable-xhdpi-v4/app_icon.png'
    application-icon-480:'res/drawable-xxhdpi-v4/app_icon.png'
    application-icon-640:'res/drawable-xxhdpi-v4/app_icon.png'
    application: label='360超级ROOT' icon='res/drawable-mdpi-v4/app_icon.png'
    launchable-activity: name='com.qihoo.root.SplashActivity'  label='360超级ROOT' icon=''
    feature-group: label=''
      uses-feature: name='android.hardware.bluetooth'
      uses-implied-feature: name='android.hardware.bluetooth' reason='requested android.permission.BLUETOOTH permission, requested android.permission.BLUETOOTH_ADMIN permission, and targetSdkVersion > 4'
      uses-feature: name='android.hardware.camera'
      uses-implied-feature: name='android.hardware.camera' reason='requested android.permission.CAMERA permission'
      uses-feature: name='android.hardware.faketouch'
      uses-implied-feature: name='android.hardware.faketouch' reason='default feature for all apps'
      uses-feature: name='android.hardware.location'
      uses-implied-feature: name='android.hardware.location' reason='requested android.permission.ACCESS_FINE_LOCATION permission'
      uses-feature: name='android.hardware.screen.portrait'
      uses-implied-feature: name='android.hardware.screen.portrait' reason='one or more activities have specified a portrait orientation'
      uses-feature: name='android.hardware.wifi'
      uses-implied-feature: name='android.hardware.wifi' reason='requested android.permission.ACCESS_WIFI_STATE permission, and requested android.permission.CHANGE_WIFI_STATE permission'
    provides-component:'device-admin'
    provides-component:'accessibility'
    main
    other-activities
    other-receivers
    other-services
    supports-screens: 'small' 'normal' 'large' 'xlarge'
    supports-any-density: 'true'
    locales: '--_--' 'af' 'am' 'ar' 'az-AZ' 'bg' 'bn-BD' 'ca' 'cs' 'da' 'de' 'el' 'en-AU' 'en-GB' 'en-IN' 'es' 'es-US' 'et-EE' 'eu-ES' 'fa' 'fi' 'fr' 'fr-CA' 'gl-ES' 'gu-IN' 'hi' 'hr' 'hu' 'hy-AM' 'in' 'is-IS' 'it' 'iw' 'ja' 'ka-GE' 'kk-KZ' 'km-KH' 'kn-IN' 'ko' 'ky-KG' 'lo-LA' 'lt' 'lv' 'mk-MK' 'ml-IN' 'mn-MN' 'mr-IN' 'ms-MY' 'my-MM' 'nb' 'ne-NP' 'nl' 'pa-IN' 'pl' 'pt' 'pt-BR' 'pt-PT' 'ro' 'ru' 'si-LK' 'sk' 'sl' 'sq-AL' 'sr' 'sv' 'sw' 'ta-IN' 'te-IN' 'th' 'tl' 'tr' 'uk' 'ur-PK' 'uz-UZ' 'vi' 'zh-CN' 'zh-HK' 'zh-TW' 'zu'
    densities: '120' '160' '213' '240' '320' '480' '640'
    native-code: 'armeabi'

    如果aapt命令为找到:

    先查找appt命令然后拷贝到platform-tools目录

    ➜  sdk which adb
    /Users/dengzhongqiang/Library/Android/sdk/platform-tools/adb
    ➜  sdk cd /Users/dengzhongqiang/Library/Android/sdk/
    ➜  sdk find . -name aapt
    ./build-tools/27.0.1/aapt
    ./build-tools/25.0.0/aapt
    ./build-tools/26.0.1/aapt
    ./build-tools/26.0.0/aapt
    ./build-tools/28.0.2/aapt
    ./build-tools/28.0.3/aapt
    ./build-tools/26.0.2/aapt
    ./build-tools/25.0.2/aapt
    ./build-tools/27.0.3/aapt
    ./build-tools/28.0.0/aapt
    ➜  sdk cp ./build-tools/27.0.1/aapt ./platform-tools/
    ➜  sdk which aapt
    /Users/dengzhongqiang/Library/Android/sdk/platform-tools/aapt
  • 相关阅读:
    Win10 JDK 配置
    Java Selenium
    Java Selenium
    Eclipse配置Github -分享你的代码
    TestNG-详解preserve-order的作用与测试case的执行顺序
    Java
    VirtualBox 在Win10上的蓝屏问题
    SQL _ Create Procedure
    LINQ 学习路程 -- 查询语法 LINQ Query Syntax
    LINQ 学习路程 -- 开篇
  • 原文地址:https://www.cnblogs.com/dzqdzq/p/11100692.html
Copyright © 2020-2023  润新知