Home » Android » c# – Xamarin "Aapt.exe" exited with code -1073741819

c# – Xamarin "Aapt.exe" exited with code -1073741819

Posted by: admin May 14, 2020 Leave a comment


By creating an Android project with the API 19 (4.4.2) in Visual Studio 2015, when I want to start the application shown me these errors.



Error 1: “aapt.exe” exited with code –1073741819. APP_Activity_Sync C: \ Program Files (x86) \ MSBuild \ Xamarin \ Android \ Xamarin.Android.Common.targets 1665

Error 2: The file “obj \ Debug \ android \ bin \ packaged_resources” does not exist. APP_Activity_Sync C:\Program Files (x86)\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets 1691

I have all the files downloaded API19 with the SDK Manager.

SDK Details API19

SDK Details API19

Somebody wants something similar happened, what is the solution of this problem?

How to&Answers:

I was getting this problem as well, the above solution didn’t work for me.
What did work was:

  1. Remove Android SDK Build-tools v24
  2. Install Android SDK Build-tools v23.0.3 and install

SDK Manager


There’s a new version of Android SDK build-tools “24.0.1”. Upgrading to that version worked for me as well


I spend a day fix it problem by

Remove this 2 Package from SDK Manager

enter image description here

And Move everything into C:\ as Project Root


I fix this error by changing the name of the image in resource file.actually i was taken an image name like this “abc_jkl.png”.After that i change the name to Abc, and resolve my issue


Same problem as above… But uninstalling Android sdk built tools 24 worked for me
-> Uninstall SDK Build tools 24
-> Rebuild your Solution