DIS-允许在特定的API级别的安装 [英] Dis-allow installation on specific API Level
问题描述
如何DIS-让我的应用程序在一个特定的API级别运行?我知道在 3符使用-SDK 标签在清单中。但是,这不能产生我想实现一个逻辑。
How to dis-allow my app to run on a specific API level? i know about the 3 specifiers in uses-sdk tag in the manifest. But that can't produce a logic i want to implement.
有关如:我想,以允许在 4级
安装 10级我的应用程序
,显示允许等级11
到等级13
,再次允许等级14
和等级15
。
For eg: i want to allow my application to be installed on Level 4
to Level 10
, dis-allow for Level 11
to Level 13
and again allow for Level 14
and Level 15
.
这可能吗?
推荐答案
您可以做的,当你将它发布到谷歌播放。
在Android开发者控制台上载应用程序来APK文件标签,并选中高级模式。它可以让你上传不同的SDK级别范围2 APK文件。但是不要忘了为它们设置不同的版本,codeS。
You can do that when you publish it to the Google Play. In Android Developer Console while uploading application come to APK files tab and check advanced mode. It lets you to upload 2 apk files with different sdk levels ranges. But don't forget to set different version codes for them.
在控制台中所有统计数据将汇总为APK文件,因为它是其中之一。
All statistics in the console will be aggregated for both apk files as it is one.
这篇关于DIS-允许在特定的API级别的安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!