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.
这里有一个很好的解释.
这篇关于安卓应用程序向后兼容吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:安卓应用程序向后兼容吗?
基础教程推荐
- 为什么姜饼模拟器方向卡在应用程序中? 2022-01-01
- 如何比较两个 NSDate:哪个是最近的? 2022-01-01
- Xcode UIView.init(frame:) 只能在主线程中使用 2022-01-01
- 如何将图像从一项活动发送到另一项活动? 2022-01-01
- Play 商店的设备兼容性问题 2022-01-01
- UIImage 在开始时不适合 UIScrollView 2022-01-01
- Android Volley - 如何动画图像加载? 2022-01-01
- iOS - UINavigationController 添加多个正确的项目? 2022-01-01
- navigationItem.backBarButtonItem 不工作?为什么上一个菜单仍然显示为按钮? 2022-01-01
- SwiftUI-ScrollViewReader的ScrollTo不滚动 2022-01-01
