Difference between apk (.apk) and app bundle (.aab)

北战南征 提交于 2019-12-17 17:55:12

问题


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?


回答1:


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.



来源:https://stackoverflow.com/questions/52059339/difference-between-apk-apk-and-app-bundle-aab

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!