Are android apps backwards compatible?(安卓应用程序向后兼容吗?)
问题描述
我是否应该构建一个以 Android 2.2 为目标的应用并在 Android Marketplace 上发布?
Should I build an app that targets Android 2.2 and release it on the Android Marketplace;
该应用是否可以在运行 Android 操作系统版本低于应用目标版本的设备上下载和使用?- 比方说 Android 操作系统版本 1.6.
Would the app be available for download and use on devices running a version of Android OS lower than the targeted version of the app? - Let's say Android OS version 1.6.
如果用户(使用 Android 操作系统 1.6 版驱动的设备)尝试运行该应用会发生什么情况?
What would happen if a user (with an Android OS version 1.6 powered device) were to attempt to run the app?
是提示他们更新操作系统还是只收到错误消息?
Would they be prompted to update their OS or just receive an error message?
推荐答案
这取决于您在 AndroidManifest.xml 的 minSdkVersion 字段中的内容.如果设置为 4 或更低,那么使用 1.6 的用户可以看到它.
It depends what you have in the minSdkVersion field in your AndroidManifest.xml. If it is set to 4 or lower, then it will be visible to people using 1.6.
这里有一个很好的解释.
这篇关于安卓应用程序向后兼容吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:安卓应用程序向后兼容吗?
基础教程推荐
- NSString intValue 不能用于检索电话号码 2022-01-01
- navigator.geolocation.getCurrentPosition 在 Android 浏览器上 2022-01-01
- Cocos2d iPhone 非矩形精灵触摸检测 2022-01-01
- iPhone - 获取给定地点/时区的当前日期和时间并将其与同一地点的另一个日期/时间进行比较的正确方法 2022-01-01
- libGDX 从精灵或纹理中获取像素颜色 2022-01-01
- AdMob 广告未在模拟器中显示 2022-01-01
- 如何从 logcat 中删除旧数据? 2022-01-01
- iOS4 创建后台定时器 2022-01-01
- 通过重定向链接在 Google Play 中打开应用 2022-01-01
- Android:getLastKnownLocation(LocationManager.NETWORK_PROVIDER 2022-01-01
