【问题标题】:Google play published apk and obb but need user to download only apkGoogle play 发布了 apk 和 obb,但需要用户只下载 apk
【发布时间】:2015-11-02 05:53:36
【问题描述】:

我的游戏160MB大小,我把它分开了一个apk和一个main OBB,问题是,是否可以一起发布但只需要用户下载apk,它会在游戏中下载obb ?重点是让它看起来最小的游戏大小,以便在 google play 中下载并使用 google play 服务器主机而不是使用我们的主机。

【问题讨论】:

标签: android google-play google-play-services google-play-games


【解决方案1】:

来自documentationIf Google Play is able to download the expansion files (which is the case for most devices), it downloads them along with the APK. If Google Play is unable to download the expansion files, it downloads the APK only

当用户启动您的应用程序时,your app must check whether the expansion files are already saved on the device. If yes, your app is ready to go. If no, your app must download the expansion files over HTTP from Google Play.

因此,如果下载 APK,Google Play 将始终尝试同时下载扩展文件,因此当用户第一次打开应用程序时,您的应用程序就拥有了它所需的一切。除非没有可用空间来保存扩展文件,或者没有网络连接。所以,没有办法只在大多数情况下强制用户下载 APK。

【讨论】:

    【解决方案2】:

    正如@ztan 所说,在最坏的情况下只需要发布 apk 文件并在第一时间从我们的主机下载 obb。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2015-06-02
      • 2012-06-22
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多