---
title: "Discussion on \"Why Android Automotive Resource Overlays Fail Even When the APK Is Installed\" | Hashnode"
description: "Discussion on \"Why Android Automotive Resource Overlays Fail Even When the APK Is Installed\". Learn why Android Automotive Runtime Resource Overlays (RRO) fail despite successful installation. Debug overlayable policies, idmap2."
url: "https://hashnode.com/posts/why-android-automotive-resource-overlays-fail-even-when-the-apk-is-installed/6b0bcf77c48c7d03804d16e1"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Why Android Automotive Resource Overlays Fail Even When the APK Is Installed](https://android-runtime.hashnode.dev/why-android-automotive-resource-overlays-fail-even-when-the-apk-is-installed?utm_source=hashnode&utm_medium=feed)

Learn why Android Automotive Runtime Resource Overlays (RRO) fail despite successful installation. Debug overlayable policies, idmap2.

2d ago · 10 min read · android-runtime.hashnode.dev  
Read the article

-   [#android](https://hashnode.com/tag/android)
-   [#aosp](https://hashnode.com/tag/aosp)
-   [#android-development](https://hashnode.com/tag/android-development)
-   [#debugging](https://hashnode.com/tag/debugging)
-   [#embedded-systems](https://hashnode.com/tag/embedded-systems)

## Written by

[Harsh Agarwal](https://hashnode.com/@agarwalharsh2195)

@agarwalharsh2195

  
[View profile](https://hashnode.com/@agarwalharsh2195)

## Responses 2

Markdown supported · ⌘↵ to post

[Firefly Team](https://hashnode.com/@firefly-team)

[2d ago](https://hashnode.com/posts/why-android-automotive-resource-overlays-fail-even-when-the-apk-is-installed/6b0bcf77c48c7d03804d16e1/comment/6b0c22aa8c9efe3ed47a2aab)

One more failure mode worth putting next to section 6: if the target's overlayable policy does not match the partition the overlay APK actually landed on, idmap2 silently drops just those entries while the overlay itself still reports as enabled, so dumpsys overlay looks perfectly healthy. Dumping the idmap shows which resource IDs really mapped, which is what separates a policy mismatch from the per-user case in section 7.

[Harsh Agarwal](https://hashnode.com/@agarwalharsh2195)

[2d ago](https://hashnode.com/posts/why-android-automotive-resource-overlays-fail-even-when-the-apk-is-installed/6b0bcf77c48c7d03804d16e1/comment/6b0c22aa8c9efe3ed47a2aab#reply-6b0c263e5caf2fc2485227ae)

Great addition! This is an important distinction between an overlay being enabled and its individual resources actually being mapped.

A partition-policy mismatch is particularly interesting because the overall overlay state may look valid while specific resource overrides are missing.

Checking the generated idmap alongside the target's overlayable policy and the APK's actual partition is a useful diagnostic step.

Thanks for highlighting this. I'll incorporate the distinction into the debugging section.
