简体   繁体   English

将动态功能插入到现有应用程序包中

[英]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.

相关问题 App Bundle动态功能模块中的访问资源 - Access Resources In Dynamic Feature Module of App Bundle 加载动态功能时出错。 应用程式套件Android - Error in Loading Dynamic feature. App Bundle Android 签署App Bundle基本模块和动态功能模块 - Signing The App Bundle Base Module And Dynamic Feature Module App Bundle,在动态功能模块中,安装前可用的模块 - App Bundle, In Dynamic Feature Module, Module available before install 与动态功能模块(App Bundle)一起安装时出现“没有足够的存储空间” - "Not enough storage space" when installed with Dynamic Feature Module (App Bundle) App Bundle - 动态功能模块:在动态功能模块错误中找不到基础项目 - App Bundle - Dynamic feature modules : Base project not found in dynamic feature module error App Bundle:应用程序类可以在动态功能模块中吗? 应用程序包崩溃 - App Bundle: Can Application class be in a Dynamic Feature module? App bundle crashes Android App Bundle:Google Play 150MB 限制似乎包括动态功能模块大小? - Android App Bundle: Google Play 150MB limit seems to include the Dynamic Feature Module size? 在基本应用程序中使用动态应用程序功能 - Using Dynamic App feature in Base application Android 应用程序包不支持动态语言更改 - Android app bundle not supporting dynamic language change
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM