Creation Of App Bundle For Instant App Module Is Not Possible

ぐ巨炮叔叔 提交于 2019-12-31 02:43:10

问题


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?


回答1:


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".



来源:https://stackoverflow.com/questions/54152235/creation-of-app-bundle-for-instant-app-module-is-not-possible

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!