安卓APK文件的内容是什么?[英] What are the contents of an Android APK file

本文是小编为大家收集整理的关于安卓APK文件的内容是什么?的处理/解决方法,可以参考本文帮助大家快速定位并解决问题,中文翻译不准确的可切换到English标签页查看源文。

问题描述

  • apk文件的组件是什么?
  • 是一堆可执行文件的?
  • 组件的名称是什么?

推荐答案

a apk文件通常包含以下文件夹:

  • meta-inf 目录:

    • manifest.mf:清单文件
    • cert.rsa:应用证书.
    • cert.sf:相应的资源列表和sha-1摘要 Manifest.mf文件中的行;例如:

       Signature-Version: 1.0 
       Created-By: 1.0 (Android)  SHA1-Digest-Manifest:
       wxqnEAI0UA5nO5QJ8CGMwjkGGWE=  
       ...  
       Name: res/layout/exchange_component_back_bottom.xml  SHA1-Digest:
       eACjMjESj7Zkf0cBFTZ0nqWrt7w=  
       ...  
       Name: res/drawable-hdpi/icon.png 
       SHA1-Digest: DGEqylP8W0n0iV/ZzBx3MW0WGCA=
      
  • lib :包含特定于a的编译代码的目录 软件层的处理器,文件夹被分成更多文件夹 在其中:

    • armabi:仅基于ARM的处理器的编译代码
    • armeabi-v7a:所有ARMv7和基于上方的处理器的编译代码 只有
    • x86:仅限x86处理器的编译代码
    • mips:MIPS处理器的编译代码仅
  • res :包含未编译的资源的目录 资源.ARSC.

  • 资产:包含应用程序资产的目录,可以是 由AssetManager检索.

  • androidmanifest.xml :一个额外的Android清单文件,描述 名称,版本,访问权限,引用库文件 应用.此文件可能位于Android二进制XML中 使用诸如此类的工具转换为人类可读的明文XML AXMLPRINTER2,APKTOOL或ANDROGUARD.

  • classes.dex :以dex文件格式编译的类 Dalvik虚拟机可以理解

    资源.arsc :包含预编译资源的文件,例如 例如二进制XML.

source

其他推荐答案

[APK] 
|
|_ _ _ _ DALVIK EXECUTABLE < This is a code that runs the android app >
|
|_ _ _ _ RESOURCES < Images, video files, Audio files, xml files, Language packs >
|
|_ _ _ _ NATIVE LIBRARIES < some native code that include c & c++ libraires >

其他推荐答案

您可以提取您的apk以查看它内部的内容,只需将其重命名为"apkname.zip".

重命名后,您可以像普通的zip文件提取它.我猜这就是你的WANA看到的.

本文地址:https://www.itbaoku.cn/post/1937921.html

问题描述

  • what are the components of the APK file ?
  • Is it just bunch of executable's ?
  • what are the names of the components ?

推荐答案

An APK file is an archive that usually contains the following folders:

  • META-INF directory:

    • MANIFEST.MF: the Manifest file
    • CERT.RSA: The certificate of the application.
    • CERT.SF: The list of resources and SHA-1 digest of the corresponding lines in the MANIFEST.MF file; for example:

       Signature-Version: 1.0 
       Created-By: 1.0 (Android)  SHA1-Digest-Manifest:
       wxqnEAI0UA5nO5QJ8CGMwjkGGWE=  
       ...  
       Name: res/layout/exchange_component_back_bottom.xml  SHA1-Digest:
       eACjMjESj7Zkf0cBFTZ0nqWrt7w=  
       ...  
       Name: res/drawable-hdpi/icon.png 
       SHA1-Digest: DGEqylP8W0n0iV/ZzBx3MW0WGCA=
      
  • lib: the directory containing the compiled code that is specific to a software layer of a processor, the folder is split into more folders within it:

    • armeabi: compiled code for all ARM based processors only
    • armeabi-v7a: compiled code for all ARMv7 and above based processors only
    • x86: compiled code for x86 processors only
    • mips: compiled code for MIPS processors only
  • res: the directory containing resources not compiled into resources.arsc .

  • assets: a directory containing applications assets, which can be retrieved by AssetManager.

  • AndroidManifest.xml: An additional Android manifest file, describing the name, version, access rights, referenced library files for the application. This file may be in Android binary XML that can be converted into human-readable plaintext XML with tools such as AXMLPrinter2, apktool, or Androguard.

  • classes.dex: The classes compiled in the dex file format understandable by the Dalvik virtual machine

    resources.arsc : a file containing pre-compiled resources, such as binary XML for example.

Source

其他推荐答案

[APK] 
|
|_ _ _ _ DALVIK EXECUTABLE < This is a code that runs the android app >
|
|_ _ _ _ RESOURCES < Images, video files, Audio files, xml files, Language packs >
|
|_ _ _ _ NATIVE LIBRARIES < some native code that include c & c++ libraires >

其他推荐答案

You can extract your apk to see whats inside it ,by just renaming it to "apkname.zip".

After renaming you can extract it like normal zip files.I guess this is what you wana see.