美文网首页
mac aapt 快速查看安卓apk信息

mac aapt 快速查看安卓apk信息

作者: 阿敏其人 | 来源:发表于2019-07-10 12:27 被阅读0次

    一、配置aapt

    打开根目录的 .bash_profile 文件(或者 .zshrc),根据你的实际情况
    在里边加入下边的内容保存

    AAPT_HOME=/Users/username/Library/Android/sdk/build-tools/25.0.0
    export AAPT_HOME
    export PATH=$PATH:$AAPT_HOME
    
    

    保存一下生效一下。

    二、查看包名等信息

    aapt dump badging your.apk
    
    aapt dump badging demo.apk
    package: name='formatfa.xposed.Fdex2' versionCode='1' versionName='1.1' platformBuildVersionName='6.0.1'
    sdkVersion:'8'
    targetSdkVersion:'21'
    application-label:'FDex2'
    application-icon-160:'res/drawable-hdpi-v4/icon.png'
    application-icon-240:'res/drawable-hdpi-v4/icon.png'
    application: label='FDex2' icon='res/drawable-hdpi-v4/icon.png'
    application-debuggable
    launchable-activity: name='formatfa.xposed.Fdex2.MainActivity'  label='FDex2' icon=''
    feature-group: label=''
      uses-feature: name='android.hardware.faketouch'
      uses-implied-feature: name='android.hardware.faketouch' reason='default feature for all apps'
    main
    supports-screens: 'small' 'normal' 'large' 'xlarge'
    supports-any-density: 'true'
    locales: '--_--'
    densities: '160' '240'
    

    END

    相关文章

      网友评论

          本文标题:mac aapt 快速查看安卓apk信息

          本文链接:https://www.haomeiwen.com/subject/gwbouqtx.html