apk (.apk) 和 app bundle (.aab) 的区别 [英] Difference between apk (.apk) and app bundle (.aab)

查看:107
本文介绍了apk (.apk) 和 app bundle (.aab) 的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近 Google 推出了一个新功能 app bundle,除了灵活性和架构上的差异外,它与 APK 的概念非常相似.

我阅读了大量博客/文章,以了解与 APK 文件相比 app bundle 在设备中的工作原理.

app bundle 的实际内部工作流程是什么?它是如何在从 Google Play 商店开始的 Android 设备上工作的?

解决方案

App Bundles 是一种发布格式,而 APK(Android 应用程序包)是最终将安装在设备上的打包格式.

App Bundles 使用 .

Recently Google brought up a new feature app bundle which is a pretty similar concept to APK except its flexibility and architectural differences.

I have read out lots of blog/articles to understand how app bundle works in devices in comparison with APK file.

What is the actual internal working process of app bundle and how it works on Android devices starting from Google Play Store?

解决方案

App Bundles are a publishing format, whereas APK (Android application PacKage) is the packaging format which eventually will be installed on device.

App Bundles use bundletool to create a set of APK. (.apks) This can be extracted and the base and configuration splits as well as potential dynamic feature modules can be deployed to a device.

The dependencies can look something like this:

The contents of an App Bundle look kind of like this:

More information on App Bundles is available here.

这篇关于apk (.apk) 和 app bundle (.aab) 的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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