安卓应用程序兼容性

发布于 2024-09-15 06:41:18 字数 213 浏览 2 评论 0原文

我已经在 android 版本 1.6、2.1 和 2.2 下构建了我的应用程序,并且它可以工作。我想知道什么时候发布它是最好的:

  • 在 1.6 下构建,因此它将与较新版本的 android 兼容

,或者

  • 在 2.2 下构建并将“目标 SDK 版本”设置为 8 和“最小 SDK 版本”致 4

谢谢

I've build my app under the version 1.6, 2.1 and 2.2 of android and it works. I'd like to know when I'll publish it what is the best :

  • Build under 1.6 and so it will be compatible with newer version of android

or

  • Build under 2.2 and set "Target SDK version" to 8 and "Min SDK Version" to 4

Thanks

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

神爱温柔 2024-09-22 06:41:18

如果您不使用 2.1 或 2.2 特有的任何内容,则没有区别。例如,如果您使用 2.2 的安装到 SD 卡功能,则必须使用 Target SDK 和 min SDK 选项。

If you're not using anything that is specific to 2.1 or 2.2 there is no difference. If you for example use install to SD card feature of 2.2 you have to use Target SDK and min SDK option.

子栖 2024-09-22 06:41:18

在 2.2 下构建并使用 Min SDK 版本。
目标版本描述如下:

“设置此属性后,应用程序表示它能够在旧版本(低至 minSdkVersion)上运行,但已明确测试可以与此处指定的版本一起使用。”

“市场份额”的实际统计数据可以在开发者网站上找到:
http://developer.android.com/resources/dashboard/platform-versions。 html

1.6 目前占 20%。

Build it under 2.2 and use Min SDK Version.
Target Version is described as the following:

"With this attribute set, the application says that it is able to run on older versions (down to minSdkVersion), but was explicitly tested to work with the version specified here."

Actual statistics of the "market share" are available on the developer website:
http://developer.android.com/resources/dashboard/platform-versions.html

1.6 takes 20% at the moment.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文