I am facing issue when i re build or build my droid project. I have updated my Android SDK but issue still is in my solution. Please suggest me how to remove this issue.
I have tried many solution which are on google but issue still come up.
For me, giving 2.1 in Version Number property of the Project Properties gave this error. So after changing it to 2, the project built successfully.
As referring to above mentioned Post by Milen Pavlov i.e :
https://forums.xamarin.com/discussion/39861/latest-update-aapt-task-failed-unexpectedly.
It looks that your Droid CS.Proj containing two references of a same file. So, open it on Notepad and identify the duplicate reference carefully and remove that.
OR
If you have any recent backup of your project then you can Compare Droid CS.Proj with existing Droid CS.Proj to filter new changes and then identify duplicate reference.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With