Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xamarin "Aapt.exe" exited with code -1073741819

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.

Look

Look

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?

like image 419
Jose Eduardo Poma Caceres Avatar asked May 16 '16 04:05

Jose Eduardo Poma Caceres


3 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

EDIT:

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

like image 110
user1845593 Avatar answered Oct 11 '22 01:10

user1845593


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

like image 39
Victor Tong Avatar answered Oct 11 '22 00:10

Victor Tong


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

like image 32
shubham gupta Avatar answered Oct 10 '22 23:10

shubham gupta