gpt4 book ai didi

android - 检查设备是否运行 Android 4.3

转载 作者:行者123 更新时间:2023-11-29 15:20:03 25 4
gpt4 key购买 nike

我有一个应用程序需要在新的 Android 4.3 设备上做一些不同的事情。我正在考虑使用:

http://developer.android.com/training/basics/supporting-devices/platforms.html#version-codes

要检查版本是 4.3,但是似乎没有 4.3 的 Build.VERSION_CODES

那么我怎么才能知道设备是否运行 Android 4.3

最佳答案

To check the version is 4.3 however there does not seem to be a Build.VERSION_CODES for 4.3

当然有。 Android 4.3 is JELLY_BEAN_MR2 .您的构建目标(例如,项目 > 属性 > Eclipse 中的 Android)需要设置为 API 级别 18。

关于android - 检查设备是否运行 Android 4.3,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19165234/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com