Storemast

Guide

Android vitals: crash rate, ANR rate and the bad behavior thresholds

By the Storemast team · Last updated

TL;DR

Android vitals is Google Play's data on how your app behaves on real devices. The core vitals affect your app's visibility on Google Play. For stability, Google's bad behavior thresholds are a user-perceived crash rate of 1.09% and a user-perceived ANR rate of 0.47% of daily active users overall, and 8% on any single phone model. Google assesses a 28-day average. Over the overall threshold, Google says your app is likely to be less discoverable; over the per-device one, less discoverable on those devices, possibly with a warning on your store listing. The Play Developer Reporting API gives you the same numbers in code.

On the App Store, a crashy update costs you reviews. On Google Play it can also cost you visibility: Google measures how your app behaves on people's devices and says it may show a badly behaved app less often, or warn people on its store listing. That system is Android vitals. If you're an iOS developer shipping an Android version, it's the one Play Console page you should check after every release. This guide covers what the core vitals are, the thresholds Google publishes, what Google says happens when you cross them, and how to read the numbers outside Play Console.

What Android vitals measures

When a user allows it, their Android device records quality data about the apps on it: stability, performance, battery use, memory. Google Play collects it and shows it in the Android vitals section of Play Console and through the Play Developer Reporting API. It's roughly what Xcode Organizer's crashes and metrics are for iOS, with one big difference: Google ties some of it to how your app is ranked and shown.

Google calls the metrics that matter most core vitals, and says they affect your app's visibility on Google Play:

Other vitals, such as startup time, slow rendering, excessive wakeups and permission denials, are there to help you, without a published threshold attached to visibility.

Crash rate and ANR rate, defined

Both rates are a share of daily active users: unique users of your app on one day on one device. Someone who uses the app on two devices counts twice; several people on one device count once.

MetricGoogle's definition
Crash rateShare of daily active users who had any crash
User-perceived crash rateShare who had at least one crash while actively using the app: showing an activity or running a foreground service
Multiple crash rateShare who had at least two crashes
ANR rateShare who had any ANR (“Application Not Responding”)
User-perceived ANR rateShare who had at least one user-perceived ANR; currently only the “Input dispatching timed out” type counts
Multiple ANR rateShare who had at least two ANRs

The user-perceived rates are the core vitals, because they count the failures people actually see. An input-dispatch ANR happens when your app hasn't responded to a touch or key press within 5 seconds, according to Android's documentation; that's the dialog offering to close the app. On Wear OS, user-perceived crash rates include background crashes too.

The bad behavior thresholds

Google publishes two kinds of threshold for the stability vitals: an overall one, averaged across all devices, and a per-device one, for a single phone or watch model.

Core vitalOverallPer phone modelPer watch model
User-perceived crash rate1.09%8%4%
User-perceived ANR rate0.47%8%5%
Excessive partial wake locks5%––
Excessive battery usage (watch faces)1%–1%

Figures from Google's Android vitals documentation at the time of writing. The memory thresholds depend on the device's RAM tier, the app's state and whether it's a game; Google's page has the full tables.

Put in plain numbers: with 10,000 daily active users, about 109 people having a crash they notice in one day is the line. With an ANR it's about 47.

What Google says happens when you cross them

Google doesn't publish how much visibility drops, or exactly where a warning appears. Treat the thresholds as limits, not targets.

A routine for each release

  1. Turn on email alerts for Android vitals in Play Console, so a spike reaches you without logging in.
  2. Release with a staged rollout. Start at a small percentage and compare the new version's crash and ANR rates with the previous one before raising it. See Google Play staged rollouts.
  3. Check per-device numbers. A rate that's fine overall can be over 8% on one popular phone. Android vitals points out links between high error rates and RAM, Android version or chipset.
  4. Fix the biggest clusters first. Google's advice: fix the crashes and ANRs affecting the most users; for device problems, the biggest groups on those devices.
  5. Halt if it's bad. Halting stops new users getting the update; a fix ships as a new release with a higher version code.
  6. Watch the 28-day trend for a few weeks after a fix, since the average takes time to come down.

Why the numbers differ from your crash reporter

Google lists the reasons Android vitals rarely matches a third-party SDK:

For the thresholds, Android vitals is the number that counts.

The Play Developer Reporting API

To get vitals into your own dashboards, alerts or tools, use the Google Play Developer Reporting API (separate from the Google Play Android Developer API used for releases). Google's setup is three steps: create or pick a Google Cloud project, enable the Reporting API in it, and use a service account invited in Play Console's Users and permissions with the fewest permissions it needs.

The API is organised in metric sets, such as the crash rate and ANR rate sets, each per app (apps/{package}/crashRateMetricSet). A GET on a metric set returns its freshness, the time of the latest data point per granularity; a query returns metrics such as userPerceivedCrashRate for a time range, daily or hourly, broken down by version code, country, device model, API level and other dimensions. Rates also come as 7-day and 28-day user-weighted averages, handy for comparing with Google's 28-day assessment. Ask for shorter ranges when you break the data down a lot, to avoid timeouts.

Android vitals next to your App Store numbers

If you ship on both stores, the morning check is two consoles and two sets of numbers. Storemast's Numbers tab brings them together on your iPhone: App Store downloads and proceeds from Sales and Trends reports, and for each Android app the user-perceived crash and ANR rates from the Reporting API, with a daily trend. A rate turns red when the latest day is at or over Google's overall threshold (1.09% crashes, 0.47% ANRs). Google judges a 28-day average, so a red day is an early signal to look at Android vitals, not a verdict.

Storemast Numbers tab: 2,166 App Store downloads in the last 7 days, proceeds by currency, and one Android app over Google's crash rate threshold, with downloads and crash rates per app
An Android app over Google's crash threshold, beside App Store downloads (sample data).

Vitals in Storemast need the Reporting API enabled for your service account's Cloud project; without it, everything else on Google Play still works. Setting up the service account is covered in Google Play Console for iOS developers.

Questions

What is a good crash rate on Google Play?

Google's bad behavior threshold for user-perceived crash rate is 1.09% of daily active users across all devices, and 8% on a single phone model. Google asks you to stay under those; lower is better, and many teams aim well below.

What is the ANR bad behavior threshold?

0.47% of daily active users experiencing a user-perceived ANR, across all devices, and 8% for a single phone model. On watches the per-model threshold is 5%.

What happens if my app goes over the Android vitals thresholds?

Google says that over the overall threshold your app is likely to be less discoverable on all devices; over the per-device threshold, likely less discoverable on those devices, and Google Play may show a warning on your store listing.

How long does it take for Android vitals to recover?

Google checks the key metrics daily using a 28-day average. When the average improves, the warnings disappear; store listing warnings may go sooner if Google detects the improvement.

Why doesn't Android vitals match my crash reporting SDK?

Android vitals counts per daily active user, includes crashes before your SDK starts, only counts certified devices with the app from Google Play, and only users who agreed to share data. An SDK usually counts per session.

Can I get Android vitals through an API?

Yes. The Google Play Developer Reporting API returns crash and ANR rates and other vitals per app. Enable it in a Google Cloud project and invite its service account in Play Console.