我已根据本指南将应用程序设置为即时应用程序: https://codelabs.developers.google.com/codelabs/android-instant-apps/index.html?index=..%2F..index#6 和 https://developer.android.com/topic/google-play-instant/getting-started/feature-plugin
所以我现在有 2 个模块(已安装且即时)。 如果我尝试创建应用程序包,则我无法选择即时模块,因为在我的情况下模块选择被禁用。
免安装应用的运行按预期进行。
是否可以从免安装应用模块创建应用程序包?
如果是,那么可能是什么问题?
最佳答案
您安装的应用程序和免安装应用程序都包含在该 bundle 中。
然后只需将该 bundle 上传到您的即时轨道之一即可。 (注意!!它必须是您的即时轨道之一,而不是常规应用轨道)
是的,虽然第一个陈述不是很清楚,但事实就是这样。
如果您需要有关如何上传/发布 bundle 的额外指导,请参阅以下位置:
- Deliver apps and features on demand with the Android App Bundle
- instant-enabled-app-bundle#publish
- Upload your app bundle to the Play Console
- Build and deploy Android App Bundles
此外,如果您还从同一个 bundle 发布已安装的应用程序,则在上传到即时轨道后,您可以转到已安装的轨道并选择“从库添加”。
关于android - 无法为即时应用程序模块创建应用程序包,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/54152235/