If anyone reading this has the same problem, this happened to me recently, and it was due to having the xml header written twice by mistake:



1
2
3
4
5
6
7
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?> <!-- Remove this one -->
<shape xmlns:android="http://schemas.android.com/apk/res/android">
     <solid android:color="@color/mug_blue"/>
     <corners android:radius="@dimen/featured_radius" />
</shape>
 
cs



The error I was getting was completely unrelated to this file so it was a tough one to find. Just make sure all your new xml files don't have some kind of mistake like this (as it doesn't show up as an error). EDIT It seems like it shows up as an error now, make sure to check your error logs.




실수로 xml 태그 두번 적었을때 발생 가능



https://stackoverflow.com/questions/48549587/failed-linking-file-resource-i-am-getting-this-error-even-after-trying-all-po?rq=1

https://stackoverflow.com/questions/48549587/failed-linking-file-resource-i-am-getting-this-error-even-after-trying-all-po?rq=1

https://stackoverflow.com/questions/48549587/failed-linking-file-resource-i-am-getting-this-error-even-after-trying-all-po?rq=1

+ Recent posts