//ro.build.date.utc是编译时间
public static final long TIME = getLong("ro.build.date.utc") * 1000;
Date time = new Date(Build.TIME);
SimpleDateFormat formatter = new SimpleDateFormat("yyyyMMddHH");
String dateString = formatter.format(time);
//ro.build.date.utc是编译时间
public static final long TIME = getLong("ro.build.date.utc") * 1000;
Date time = new Date(Build.TIME);
SimpleDateFormat formatter = new SimpleDateFormat("yyyyMMddHH");
String dateString = formatter.format(time);
本文标题:Android 获取系统版本编译时间
本文链接:https://www.haomeiwen.com/subject/qxljcktx.html
网友评论