androidAndroid Versions

API levels, codenames, NDK releases and more.

CodenameVersionAPI levelVersion CodeNDK release
Android131333T
Android12L1232S
Android121231S
Android111130R
Android101029Q
Pie928P
Oreo8.1.027O_MR1
Oreo8.0.026O
Nougat7.125N_MR1
Nougat7.024N
Marshmallow6.023M
Lollipop5.122LOLLIPOP_MR1
Lollipop5.021LOLLIPOP
KitKat4.4 - 4.4.419KITKAT
Jelly Bean4.3.x18JELLY_BEAN_MR2
Jelly Bean4.2.x17JELLY_BEAN_MR1
Jelly Bean4.1.x16JELLY_BEAN
Ice Cream Sandwich4.0.3 - 4.0.415ICE_CREAM_SANDWICH_MR18
Ice Cream Sandwich4.0.1 - 4.0.214ICE_CREAM_SANDWICH7
Honeycomb3.2.x13HONEYCOMB_MR2
Honeycomb3.112HONEYCOMB_MR16
Honeycomb3.011HONEYCOMB
Gingerbread2.3.3 - 2.3.710GINGERBREAD_MR1
Gingerbread2.3 - 2.3.29GINGERBREAD5
Froyo2.2.x8FROYO4
Eclair2.17ECLAIR_MR13
Eclair2.0.16ECLAIR_0_1
Eclair2.05ECLAIR
Donut1.64DONUT2
Cupcake1.53CUPCAKE1
(no codename)1.12BASE_1_1
(no codename)1.01BASE

Version Code

Build.VERSION_CODES

public static class VERSION_CODES {
    public static final int BASE = 1;
    public static final int BASE_1_1 = 2;
    public static final int CUPCAKE = 3;
    public static final int CUR_DEVELOPMENT = 10000;
    public static final int DONUT = 4;
    public static final int ECLAIR = 5;
    public static final int ECLAIR_0_1 = 6;
    public static final int ECLAIR_MR1 = 7;
    public static final int FROYO = 8;
    public static final int GINGERBREAD = 9;
    public static final int GINGERBREAD_MR1 = 10;
    public static final int HONEYCOMB = 11;
    public static final int HONEYCOMB_MR1 = 12;
    public static final int HONEYCOMB_MR2 = 13;
    public static final int ICE_CREAM_SANDWICH = 14;
    public static final int ICE_CREAM_SANDWICH_MR1 = 15;
    public static final int JELLY_BEAN = 16;
    public static final int JELLY_BEAN_MR1 = 17;
    public static final int JELLY_BEAN_MR2 = 18;
    public static final int KITKAT = 19;
    public static final int KITKAT_WATCH = 20;
    public static final int LOLLIPOP = 21;
    public static final int LOLLIPOP_MR1 = 22;
    public static final int M = 23;
    public static final int N = 24;
    public static final int N_MR1 = 25;
    public static final int O = 26;
    public static final int O_MR1 = 27;
    public static final int P = 28;
    public static final int Q = 29;
    public static final int R = 30;
    public static final int S = 31;

    public VERSION_CODES() {
        throw new RuntimeException("Stub!");
    }
}

Reference