Android VersionCode记录

sb.append(""+ Build.VERSION_CODES.BASE+"\n")//API 1  .append("1.1" + Build.VERSION_CODES.BASE_1_1 + "\n")//API 2  .append("纸杯蛋糕1.5:" + Build.VERSION_CODES.CUPCAKE + "\n")//API 3  .append("该版本没有发布" + Build.VERSION_CODES.CUR_DEVELOPMENT + "\n")//API 1000  .append("甜甜圈1.6" + Build.VERSION_CODES.DONUT + "\n")//API 4  .append("泡芙2.0" + Build.VERSION_CODES.ECLAIR + "\n")//API 5  .append("泡芙2.0.1" + Build.VERSION_CODES.ECLAIR_0_1 + "\n")//API 6  .append("泡芙2.1" + Build.VERSION_CODES.ECLAIR_MR1 + "\n")//API 7  .append("冻酸奶2.2" + Build.VERSION_CODES.FROYO + "\n")//API 8  .append("姜饼2.3" + Build.VERSION_CODES.GINGERBREAD + "\n")//API 9  .append("姜饼2.3.3" + Build.VERSION_CODES.GINGERBREAD_MR1 + "\n")//API 10  .append("蜂巢3.0" + Build.VERSION_CODES.HONEYCOMB + "\n")//API 11  .append("蜂巢3.1" + Build.VERSION_CODES.HONEYCOMB_MR1 + "\n")//API 12  .append("蜂巢3.2" + Build.VERSION_CODES.HONEYCOMB_MR2 + "\n")//API 13  .append("冰激凌三明治4.0" + Build.VERSION_CODES.ICE_CREAM_SANDWICH + "\n")//API 14  .append("冰激凌三明治4.0.3" + Build.VERSION_CODES.ICE_CREAM_SANDWICH_MR1 + "\n")//API 15  .append("果冻豆4.1" + Build.VERSION_CODES.JELLY_BEAN + "\n")//API 16  .append("果冻豆4.2" + Build.VERSION_CODES.JELLY_BEAN_MR1 + "\n")//API 17  .append("果冻豆4.3" + Build.VERSION_CODES.JELLY_BEAN_MR2 + "\n")//API 18  .append("奇巧巧克力4.4" + Build.VERSION_CODES.KITKAT + "\n")//API 19  .append("奇巧巧克力4.4W" + Build.VERSION_CODES.KITKAT_WATCH + "\n")//API 20  .append("棒棒糖5.0" + Build.VERSION_CODES.LOLLIPOP + "\n")//API 21  .append("棒棒糖5.1" + Build.VERSION_CODES.LOLLIPOP_MR1 + "\n")//API 22  .append("棉花糖6.0" + Build.VERSION_CODES.M + "\n");//API 23 System.out.println(sb.toString());

你可能感兴趣的:(android)