Android APK 文件中有什么 [英] What is inside an Android APK file

查看:49
本文介绍了Android APK 文件中有什么的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

来自网络开发背景,您的所有文件都单独上传到服务器,APK 文件对我来说非常不同!

Coming form a web development background where all your files are uploaded to a server individually, the APK file is very different to me!

据我所知,它有点像 zip 或 exe 文件,类似于您在计算机上安装的软件,例如蚀它自己.然后当安装在设备上时,文件和文件夹被提取回类似于我在 eclipse 中处理的文件/文件夹结构的东西.在这种情况下,一旦安装了 APK,我又可以以某种方式访问​​/res 和/assets 文件夹?

From what I gather it’s kind of like a zip or exe file similar to software you install on a computer, e.g. Eclipse its self. Then when installed on a device the files and folders are extracted back into something similar to the file/folder structure I was working on in eclipse. And in which case I then again have access somehow to say the /res and /assets folders once the APK is installed?

我在正确的轨道上吗?

推荐答案

Android 应用程序包文件.每个 Android 应用程序都编译并打包在一个文件中,该文件包含应用程序的所有代码(.dex 文件)、资源、资产和清单文件.应用程序包文件可以有任何名称,但必须使用 .apk 扩展名.例如:myExampleAppname.apk.为方便起见,应用程序包文件通常称为.apk".

Android application package file. Each Android application is compiled and packaged in a single file that includes all of the application's code (.dex files), resources, assets, and manifest file. The application package file can have any name but must use the .apk extension. For example: myExampleAppname.apk. For convenience, an application package file is often referred to as an ".apk".

这篇关于Android APK 文件中有什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆