[英]Inserting a dynamic feature to an esixting app bundle
I am reading thedocumentation up and down but I haven't been able to find a definite answer.我正在上下阅读文档,但我无法找到明确的答案。 Can I create and include a dynamic feature for my app bundle after the core apk compilation and upload it to Google Play separately or should they always be bundled together?
我可以在核心 apk 编译后为我的应用程序包创建并包含动态功能并将其单独上传到 Google Play,还是应该始终捆绑在一起?
Any info will be appreciated.任何信息将不胜感激。
Technically, they don't need to be compiled together and a dynamic feature module (DFM) could be added in an existing precompiled.aab file.从技术上讲,它们不需要一起编译,并且可以在现有的 precompiled.aab 文件中添加动态功能模块 (DFM)。
However, I don't know of a tool today that would be able to compile them separately and insert the DFM correctly in the AAB.但是,我不知道今天有什么工具能够单独编译它们并将 DFM 正确插入 AAB。 You're free to try making one though, it shouldn't be too hard given that the AAB is just a zip file and the format is documented and opensource.
不过,您可以自由地尝试制作一个,考虑到 AAB 只是一个 zip 文件并且格式已记录在案并且是开源的,这应该不会太难。
The only thing to make sure of really is that the package name and version code are the same for all modules.唯一需要确定的是,所有模块的 package 名称和版本代码都是相同的。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.