Latest Pre-release in branch Android 5.0
5.0.2_r3
Released 27 Mar 2015
(11 years ago)
SoftwareAndroid OS
VersionAndroid 5.0
CodenameLollipop
API level21
Initial release5.0
12 Nov 2014
(11 years ago)
Latest release5.0.2_r3
27 Mar 2015
(11 years ago)
Security supportNo
Source codehttps://android.googlesource.com/platform/frameworks/base/+/android-5.0.2_r3
Documentationhttps://developer.android.com/about/versions/5.0
Android OS Android 5.0 ReleasesView full list

What Is New in Android 5.0

Android 5.0 Lollipop was a massive visual and functional overhaul. It introduced Material Design, a new runtime, and significant performance and notification improvements.

Category Key Changes
New Features Material Design, Project Volta, Multiple Users, Smart Lock
Platform Android Runtime (ART), 64-bit Support, OpenGL ES 3.1
APIs & Development JobScheduler, Camera2 API, Android TV, Android Wear Support
Notifications & UI Heads-up Notifications, Lock Screen Notifications, Recents Screen
Connectivity Bluetooth 4.1, Multiple Network Connections
Media AudioCapture, USB Audio Support, 4K Video Playback

How did Material Design change Android development?

Material Design completely redefined the visual language and interaction patterns for Android. It wasn't just a new theme; it was a comprehensive design system with principles for motion, depth, and layout.

For developers, this meant adopting new widgets like the RecyclerView and CardView, implementing elevation with the z property, and using new animation APIs. This shift forced a rethink of most app UIs to align with the new standards, which improved consistency across the ecosystem.

What is the real-world impact of the switch to ART?

The new Android Runtime (ART) replaced Dalvik as the default runtime, moving from Just-In-Time (JIT) compilation to Ahead-Of-Time (AOT) compilation. This meant apps were compiled to native code upon installation.

In practice, this resulted in significantly improved application performance and smoother UX, as execution was faster. The trade-off was longer installation times and increased storage space usage for the compiled native code. Garbage collection was also dramatically improved, reducing pauses.

How did notifications get smarter in Lollipop?

Lollipop overhauled the notification system to make it more interactive and less intrusive. The key feature was heads-up notifications, which appear as small floating cards over the current app for high-priority alerts.

Notifications also became visible on the lock screen, and a new priority mode allowed users to filter interruptions. For developers, this meant using new APIs to set priority levels and design notifications that fit this new, more contextual model.

What was Project Volta and why did it matter?

Project Volta was a suite of features aimed at improving battery life. The most significant tool for developers was the JobScheduler API, which allowed you to defer network-related tasks until the device was charging and had a network connection.

This mattered because it provided a system-managed way to batch background tasks, reducing the number of times the radio had to wake up-a major source of battery drain. The update also included a Battery Historian tool to help diagnose power consumption issues.

What new hardware capabilities did Lollipop unlock?

Lollipop laid the groundwork for modern Android hardware. It added official support for 64-bit architectures, allowing apps to leverage more RAM and potentially run faster on new chipsets. It also supported the new OpenGL ES 3.1 standard for advanced graphics.

Furthermore, the new Camera2 API provided much finer control over camera hardware, enabling features like manual exposure control and burst mode capture, which were previously difficult or impossible to implement.

FAQ

Is ART compatible with apps built for Dalvik?
Yes, absolutely. ART was designed to be fully backwards compatible. Your existing APKs built for Dalvik ran on ART without requiring any changes, though you might see performance improvements immediately.

Do I have to completely redesign my app for Material Design?
While not strictly mandatory, it was highly encouraged. Using the new themes and components ensured your app felt modern and consistent with the OS and other apps. You could adopt it incrementally.

What is the main benefit of using JobScheduler?
Its main benefit is efficient battery usage. By letting the system batch your background jobs and run them under optimal conditions (like when connected to power), you avoid waking the device unnecessarily and preserve the user's battery.

How do I support the new lock screen notifications?
You use the same Notification API. The system handles the display on the lock screen. You control visibility using methods like setVisibility() and set priority levels to determine if a notification is allowed to show sensitive content.

Should I provide 64-bit native libraries?
With Lollipop introducing 64-bit support, it became a long-term consideration. While not an immediate requirement for Lollipop itself, it set the stage for future devices and eventually became mandatory on the Play Store years later.

Releases In Branch Android 5.0

VersionRelease date
5.0.2_r327 Mar 2015
(11 years ago)
5.0.2_r116 Dec 2014
(11 years ago)
5.0.1_r120 Nov 2014
(11 years ago)
5.0.0_r712 Nov 2014
(11 years ago)
5.012 Nov 2014
(11 years ago)
5.0.0_r607 Nov 2014
(11 years ago)
5.0.0_r5.107 Nov 2014
(11 years ago)
5.0.0_r507 Nov 2014
(11 years ago)
5.0.0_r407 Nov 2014
(11 years ago)
5.0.0_r306 Nov 2014
(11 years ago)
5.0.0_r228 Oct 2014
(11 years ago)
5.0.0_r128 Oct 2014
(11 years ago)