禁用APK某些版本的Andr​​oid版谷歌通过控制台游戏 [英] Disable an apk for certain Android versions through google play console

查看:243
本文介绍了禁用APK某些版本的Andr​​oid版谷歌通过控制台游戏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个应用程序,可以按时开启和关闭飞行模式。或者说,它可能,直到Android 4.2版来了,而且这个设置<一个href=\"http://stackoverflow.com/questions/13422527/modify-airplane-mode-on-on-android-4-2-and-above\">became不可用。我的应用程序不会有Android:maxSdkVersion在清单设置,并且我已经开始收到来自谁拥有的Andr​​oid 4.2设备的用户愤怒的电子邮件。再说,根据<一href=\"http://stackoverflow.com/questions/9747599/android-app-to-be-runned-only-in-2-2-and-2-1-versions\">answers这里,机器人:maxSdkVersion可能不是最好的解决办法反正

I have an app that can switch airplane mode on and off on schedule. Or, rather, it could, until Android 4.2 came along, and this setting became unavailable. My app does not have an android:maxSdkVersion set in the manifest, and I've already started receiving angry emails from users who have Android 4.2 devices. And besides, according to answers here, android:maxSdkVersion is probably not the best solution anyway.

我想禁用我的Andr​​oid 4.2以上版本的用户应用程序,但保持它适用于pre-4.2设备。什么是做到这一点的最好方法是什么?理想情况下,通过开发者控制台,而无需上传新的APK。

I would like to disable my app for Android 4.2+ users, but keep it available for pre-4.2 devices. What would be the best way to do this? Ideally, through the developer console, without having to upload a new apk.

推荐答案

像它说的此处,并在这个问题您链接到,设置 maxSdkVersion 的在谷歌过滤它玩,所以它不会被该水平之上的设备中可以看出。这是一个检查它的唯一的地方,虽然。侧载仍然是可能的。

Like it says here, and in the question you linked to, setting the maxSdkVersion does filter it in Google Play, so it won't be seen by devices above that level. That's the only place that checks it, though. Side-loading will still be possible.

你会碰到的唯一真正的问题是人们升级其操作系统。如果他们有4.1下载了它从游戏,后来升级到4.2,应用程序将无法正常工作。

The only real problem you'll run into is with people upgrading their OS. If they downloaded it from Play with 4.1, and later upgrade to 4.2, the app won't work correctly.

对于这些用户(和侧装载机),你可能想对启动版本检查。如果他们没有通过检查的,优雅地告诉他们,在对话框等远远高于一个无形的更好发生了什么事,它不工作了!

For those users(and side-loaders), you may want to do a version check on startup. If they fail the check, gracefully tell them what happened in a dialog, etc. Much better than an invisible "it doesn't work anymore!"

这篇关于禁用APK某些版本的Andr​​oid版谷歌通过控制台游戏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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