是Android应用程序向后兼容?应用程序、Android

2023-09-05 01:03:40 作者:半面妆

我做了一下iPhone / Android开发的的时刻,我很好奇,如果我要建立一个针对Android 2.2的应用程序,并在Android市场释放出来,会是什么可玩通过谁正在使用的用户较老版本的操作系统,如1.6?会发生什么,如果这些用户要尝试运行的应用程序?会提示他们更新自己的操作系统或者只是收到错误信息?

I'm doing a bit of iPhone / Android development at the moment and I was curious, if I were to build an application that targets Android 2.2 and release it on the Android Marketplace, would it be playable by users who are using older versions of the OS, such as 1.6? What would happen if such a user were to attempt to run the app? Would they be prompted to update their OS or just receive an error message?

谢谢你们。

推荐答案

这要看你有什么在的minSdkVersion 字段中输入您的Andr​​oidManifest.xml 。如果它被设置为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.

有一个很好的解释这里。