I just create a project and wanna build and run this in my Android phone.
Here is Normal detail of my project Output. I did not put space and dash in any of my file. while error error MSB6006: "aapt.exe" exited with code -1073741819. Display
C:\Users\DeviceBee SAQE\AppData\Local\Android\android-sdk\build-tools\21.0.1\aapt.exe
package -f -m -M "C:\Users\DeviceBee SAQE\AppData\Local\Temp\mwyidlg1.uvy
\AndroidManifest.xml" -J "C:\Users\DeviceBee SAQE\AppData\Local\Temp\mwyidlg1.uvy"
--custom-package app1.app1 -F "C:\Users\DeviceBee SAQE\AppData\Local\Temp\mwyidlg1.uvy
\resources.apk.bk" -S obj\Debug\res -I "C:\Users\DeviceBee SAQE\AppData\Local\Android
\android-sdk\platforms\android-12\android.jar" --auto-add-overlay --max-res-version
12
C:\Program Files (x86)\MSBuild\Xamarin\Android\Xamarin.Android.Common.targets(783,2): error MSB6006: "aapt.exe" exited with code -1073741819.
Adding TechNote link - Remove SDK 24 using the Android SDK Manager is the solution as noted by @ali. Technote on this exact issue here - https://releases.xamarin.com/technical-bulletin-android-sdk-build-tools-24/ . Totally removing "24" from my machine cleared it. Just changing targets did not.
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