Fourteen distinct dessert-named Android versions were released from Cupcake through Pie. The sequence began with Android 1.5 Cupcake in 2009 and ended with Android 9 Pie in 2018.
The complete run was Cupcake, Donut, Eclair, Froyo, Gingerbread, Honeycomb, Ice Cream Sandwich, Jelly Bean, KitKat, Lollipop, Marshmallow, Nougat, Oreo, and Pie. These names covered fourteen major Android releases, even though several releases also had internal or unreleased dessert-themed codenames.
Cupcake was the first Android release to officially use a dessert-based public codename. Google continued the alphabetical naming tradition through Pie: C, D, E, F, G, H, I, J, K, L, M, N, O, and P. Android 10 ended the public dessert-name tradition and adopted a number-only branding system.
A common counting mistake is to include Android 1.1 Petit Four, which predates Cupcake, or to count minor releases separately. The quiz asks for distinct dessert-named versions from Cupcake to Pie, so each named major version counts once.