Android version check

后端 未结 4 1251
渐次进展
渐次进展 2020-12-29 01:08

I\'m not new to Android and I\'m well used to the version handling and how to condition it, but when I see this it troubles me...

// Check if we\'re running          


        
4条回答
  •  -上瘾入骨i
    2020-12-29 01:44

    Well, you must compile your project with the latest SDK version. Your constants are replaced with corresponding integer values during compilation. No matter what version of Android you run the application on - integers are the same

提交回复
热议问题