//获取当前系统功能的版本号
int currentPhoneVersionCode = android.os.Build.VERSION.SDK_INT;
MyApplication.currentPhoneVersionCode = currentPhoneVersionCode;
LogUtil.d(TAG, "----------当前的版本号:" + MyApplication.currentPhoneVersionCode);
时间: 2024-10-13 20:46:43
//获取当前系统功能的版本号
int currentPhoneVersionCode = android.os.Build.VERSION.SDK_INT;
MyApplication.currentPhoneVersionCode = currentPhoneVersionCode;
LogUtil.d(TAG, "----------当前的版本号:" + MyApplication.currentPhoneVersionCode);