---
title: "Discussion on \"Persistent \"Android Resource Linking Failed\" (Ghost Files) : Solution\" | Hashnode"
description: "Discussion on \"Persistent \"Android Resource Linking Failed\" (Ghost Files) : Solution\". I had problems like when we switch branches, UI files like drawables, icons, xml files etc gets in android studio and caches and even after doing basic invalidate caches restart etc it didnt worked, so after compiling all steps leds to soltion , here..."
url: "https://hashnode.com/posts/persistent-android-resource-linking-failed-ghost-files-solution/693a62ea67a12cdf6b3e33f7"
---

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

Discussion

# [Persistent "Android Resource Linking Failed" (Ghost Files) : Solution](https://saurabhjadhavblogs.com/persistent-android-resource-linking-failed-ghost-files-solution?utm_source=hashnode&utm_medium=feed)

I had problems like when we switch branches, UI files like drawables, icons, xml files etc gets in android studio and caches and even after doing basic invalidate caches restart etc it didnt worked, so after compiling all steps leds to soltion , here...

Dec 11, 2025 · 4 min read · saurabhjadhavblogs.com  
Updated Jan 5  
Read the article

-   [#android-app-development](https://hashnode.com/tag/android-app-development)
-   [#bugs-and-errors](https://hashnode.com/tag/bugs-and-errors)
-   [#google](https://hashnode.com/tag/google)

## Written by

[saurabh jadhav](https://hashnode.com/@saurabhjadhav)

@saurabhjadhav

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

Android and AI developer

## Responses 1

Markdown supported · ⌘↵ to post

[Pritesh Vishwakarma](https://hashnode.com/@sladewilson)

[Dec 31, 2025](https://hashnode.com/posts/persistent-android-resource-linking-failed-ghost-files-solution/693a62ea67a12cdf6b3e33f7/comment/6954f7c1ec32e68320c39b3e)

I got build failed after 1 min 55s
