android aapt apex

First introduced appt tool, this has played a very important role in the process of compiling the app in android. Because usually with android studio tools, little contact, in fact, ultimately the source compiler tool in the process.
aapt Android Asset Packaging Tool android is a resource packed tool
for viewing apk package name, main activity, and many other information versions

  1. . the aapt L [IST] [-v] [-a] {File ZIP, JAR, APK}
    List Contents of the Zip-compatible Archive.
    List archive directory
    aapt l <file_path.apk>
    Parameters:
    -v: table will form output directory, table with a table entry: Length, Method, Size, Ratio , Date, Time, CRC-32, Name. Method represents a compressed form wherein there: Deflate and Stored two kinds, i.e., the algorithm uses a directory Zip compressed mode or storage mode; It can be seen resources.arsc, * png compressed mode, while the other compressed mode. Ratio represents the compression ratio. CRC-32 checksum.
    -a: output in detail the contents of all directories
    aapt list -a * .apk

  2. 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

apex

The new android apk
Here Insert Picture Description
Here Insert Picture Description

Guess you like

Origin blog.csdn.net/weixin_43836778/article/details/90667803