Xamarin: aapt.exe exited with code 1

After adding the powered-by-google-on-white.png images to a project I’m working on, I’m suddenly hit with ‘aapt.exe exited with code 1’ whilst building. Did Google just give me some bad images? Nope!


It’s because of the use of the hyphens (-) in the filename. Remove them, rebuild and off you go!

Leave a Reply

Your email address will not be published. Required fields are marked *