无法为即时应用程序模块创建应用程序捆绑包 [英] Creation Of App Bundle For Instant App Module Is Not Possible

查看:75
本文介绍了无法为即时应用程序模块创建应用程序捆绑包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已根据以下指南将应用设置为即时应用:

  • 立即启用-app-bundle#publish
  • 将您的应用捆绑包上传到Play控制台
  • 构建和部署Android应用程序包
  • 此外,如果您还从同一捆绑包发布已安装的应用程序,则在将其上传到即时轨道后,可以转到已安装的轨道并选择从库添加".

    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:

    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屋!

    查看全文
    相关文章
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆