zoukankan      html  css  js  c++  java
  • 查看 AndroidManifest.xml文件

    1.Manifest Explorer

    装在Android手机中,用此apk看系统中已安装应用的AndroidManifest.xml文件:

    View Code

    2.android-apktool

    把apk放在PC中,配置好jdk环境后输入:

    java –jar apktool.jar file_path.apk

    嫌麻烦的可用第三方集成界面工具:APK改之理

    3.aapt

    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

    查看apk包的packageName、versionCode、applicationLabel、launcherActivity、permission等各种详细信息

    aapt dump badging <file_path.apk>

    查看权限

    aapt dump permissions <file_path.apk>

    查看资源列表

    aapt dump resources <file_path.apk>

    查看apk配置信息

    aapt dump configurations <file_path.apk>

    查看指定apk的指定xml文件。

    a.以树形结构输出的xml信息。

    aapt dump xmltree <file_path.apk> res/***.xml

    如:aapt dump xmltree <file_path.apk> AndroidManifest.xml可查看应用的该文件

    b. 输出xml文件中所有的字符串信息。

    aapt dump xmlstrings <file_path.apk> res/***.xml

    4.xml-apk-parser  下载

    java -jar APKParser.jar <file_path.apk> 可输出格式化后的该应用的AndroidManifest.xml文件

  • 相关阅读:
    Vmware14中设置Centos7静态密码
    字符串和集合截取
    通过FTP连上centos7
    centos7 离线安装mysql-5.7.21
    基于jackson注释@JsonFormat 格式化时间少8小时
    Kotlin基础学习笔记 (三)
    Android 常用开源框架源码解析 系列 (零)引言
    Kotlin基础学习笔记 (一)
    Android 常用开源框架源码解析 系列 (十一)picasso 图片框架
    Android 常用开源框架源码解析 系列 (十)Rxjava 异步框架
  • 原文地址:https://www.cnblogs.com/fanfeng/p/3236209.html
Copyright © 2011-2022 走看看