无法为即时应用程序模块创建应用程序捆绑包 [英] Creation Of App Bundle For Instant App Module Is Not Possible
问题描述
我已根据以下指南将应用设置为即时应用:
此外,如果您还从同一捆绑包发布已安装的应用程序,则在将其上传到即时轨道后,可以转到已安装的轨道并选择从库添加".
I have set up an app as an instant app based on this guides: https://codelabs.developers.google.com/codelabs/android-instant-apps/index.html?index=..%2F..index#6 and https://developer.android.com/topic/google-play-instant/getting-started/feature-plugin
So I have now 2 modules (installed & instant). If I try to create an app bundle, then I'm not able to select the instant module, because the module selection is disabled in my case.
Running of the instant app is working as expected.
Is it even possible to create an app bundle from an instant app module?
If yes, then what could be the problem?
Your installed and instant app are all contained in that one bundle.
Then just upload that bundle into one of your Instant tracks. (note!! it must be one of your Instant tracks, not the regular app tracks)
Yes, while that first statement is not super clear, this is how it is.
If you need some extra guidance on how to upload/publish your bundles, see bits at:
- 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
Also, if you are also publishing your installed app from the same bundle, then after uploading to to your instant track, you can go to the installed track and select "ADD FROM LIBRARY".
这篇关于无法为即时应用程序模块创建应用程序捆绑包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!