Posts

Showing posts with the label Aapt

Android - Resource Linking Failed / Failed Linking References

Image
Answer : Solution 1: Set your compileSdkVersion to 28 and let Android Studio download the needed files. If you already targetting this version, you could try cleaning your project and sync your gradle files. In my case, I made two custom backgrounds which were not recognised. I removed the <?xml version="1.0" encoding="utf-8"?> tag from the top of those two XML resources file. This worked for me, after trying many solutions from the community. Errors with XML files are quite hard to figure out. They even trickle their impact down to Java files.