Android APK 文件里面有什么
来自网络开发背景,所有文件都单独上传到服务器,APK 文件对我来说非常不同!
据我所知,它有点像 zip 或 exe 文件,类似于您在计算机上安装的软件,例如 Eclipse 本身。然后,当安装在设备上时,文件和文件夹将被提取回类似于我在 eclipse 中处理的文件/文件夹结构。在这种情况下,一旦安装了 APK,我就可以再次访问 /res 和 /assets 文件夹?
我走在正确的轨道上吗?
Coming form a web development background where all your files are uploaded to a server individually, the APK file is very different to me!
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?
Am I on the right track?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
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 (e.g.,myExampleAppname.apk
). For convenience, an application package file is often referred to as an.apk
.APK 的结构:
您可以在此处找到更多详细信息:
http://android-anything.diandian.com/post/2011-09 -28/5377936
The structure of an APK:
You can find more detailed information here:
http://android-anything.diandian.com/post/2011-09-28/5377936