All android versions get, apart from their nummeric version number, a code-name, which is assigned by Google. Like the naming of Ubuntu versions (names of animals with an adjective), Android version names are names of, mostly american, sweets, where the first letter is in alphabetical order.
The assignment of nummeric and textual version names are not always consistent. Android 4.0 and Android 4.1, for example, have different version names, but Android 5.0, 5.1 and 5.1.1 share the same version name.
The Android version1.5 Cupcake is the first version, which got a name assigned, which is Cupcake. Cupcakes are muffin-like cakes, which mostly has a creamy hood.
Version1.6 Donut got the name Donut.
Android-Version2 Eclair and 2.1 Eclair share the same name, Eclair. Eclairs are longly biscuits overdrawn with chocolate.
Frozen Yogurt is a ice-like dessert made with milk and yogurt and is also the name of the Android version2.2 Froyo.
The android version mostly made for tablets, Android3.0 Honeycomb, is called Honeycomb. The bootanimation of this android version is also made like a honeycomb.
Ice Cream Sandwich
Android 4.0 is called after a sweet, which is made of delicious ice cream bewtween two biscuits: an Ice Cream Sandwhich.
Jelly beans are colorful, mostly made out of sugar, sweets, which have a hard shell and are filled with jelly. The following android versions share this name:
Lollipops are sweets in different flavors on a stalk and is also the name of the following android versions:
The android version 6.0, announced at 17th of august in 2015 is called after the sweet Marshmallow.