简体   繁体   English

Google Play已发布apk和obb,但只需要用户下载apk

[英]Google play published apk and obb but need user to download only apk

My game 160MB of size, I separate it one apk and one main OBB , the question is, is it possible if publish it together but need user download only apk, it will download obb in the game later? 我的游戏大小为160MB,我将其一个apk和一个main OBB分开,问题是,是否可以将其一起发布但只需要用户下载apk,它将在游戏中下载obb吗? The point is made it look smallest size of the game for download in google play and using google play server host instead of using our host. 问题是它看起来是要下载到Google Play并使用Google Play服务器主机而不是我们的主机的最小尺寸的游戏。

From the documentation , If 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 根据文档If 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 If 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 . If 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

When the user launches your application, 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 当用户启动您的应用程序时, 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 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 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 . 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

So Google Play will always try to download the expansion file(s) at the same time if downloads the APK, so your application has everything it needs when the user opens it for the first time. 因此,如果下载了APK,Google Play将始终尝试同时下载扩展文件,因此您的应用程序具有用户首次打开它时所需的一切。 Unless there is no available space to save the expansion file(s), or no network connection. 除非没有可用空间来保存扩展文件,否则没有网络连接。 So, no way to force users to download the APK only in most cases. 因此,在大多数情况下,没有办法强迫用户仅下载APK。

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 无法下载在Google Play上发布的测试版APK - Unable to download a beta APK published on Google Play 使用调试密钥库在 Google Play 上发布 APK - Published APK on Google Play with debug keystore Android Apk未在Google Play上发布 - Android Apk is Not Being Published on Google Play google play 是否会修改或优化已发布的 APK? - Does google play modify or optimise the published APK? 如果从 Google Play 商店下载 apk 和 obb,则无法在 android 10 设备上访问 obb 扩展文件 - Cannot reach obb expansion file on android 10 device if apk and obb is downloaded from Google Play store 从Google Play商店以编程方式下载APK - Programmatically download APK from google play store APK下载计数Google Play商店? - Apk download count Google Play Store? 防止从Google Play下载APK - Prevent apk download from google play 您上传了一个可调试的 APK。 出于安全原因,您需要先禁用调试,然后才能在 Google Play 中发布-将 apk 上传到 google play - You uploaded a debuggable APK. For security reasons you need to disable debugging before it can be published in Google Play-Upload apk to google play 当签名密钥由 Google 生成时,我可以将使用上传密钥签名的 APK+OBB 上传到 Google Play 吗? - Can I upload an APK+OBB signed with upload key to Google Play when the signing key is generated by Google?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM