Build.VERSION.SDK_INT >= Build.VERSION_CODES.O 何意

1.Build.VERSION.SDK_INT 软件app安装在哪个手机上,该手机的操作系统版本号 比如8.1对应的SDK_INT是27

The SDK version of the software currently running on this hardware device. 

This value never changes while a device is booted, but it may increase when 

the hardware manufacturer provides an OTA update.

  Android API与Android版本对应关系

Build.VERSION.SDK_INT >= Build.VERSION_CODES.O 何意_第1张图片
2.Build.VERSION_CODES.O = 26

ps 仅仅为了小白学习记录

你可能感兴趣的:(android)