I\'m having an issue on my Windows 7 64-bit machine with aapt.exe. It is throwing the following error:
aapt.exe has stopped working
Its not proj
Remove id from style like here @+id then build again you get success...
<item name="android:id">@+id/calender</item>
Not sure but please try to use the Android SDK Build-Tools v18.1.1 instead of 19.0.1
It might be the case that you have error in your resource files, the v19 build-tools won't report the error but keep failing to compile the R.
Please read more detail in the 2nd comment of the question below. I also wrote the some steps I went through in the first reply. hope this will help solving your problem.
'aapt' error. Pre Compiler Build aborted
Check if you have any string values with html codes such as non-breaking-space ( ) Remove them and clean the project. It should work.
Ram
Happens when you don't put @+id/
in menus/layout xml files.
it seems you were missing some entries in strings.xml
in my case I was deleting <string name="action_settings">Settings</string>
thinking it was not used by the project and placing it back solved the issue. You can search for same or similar type of tag in you project.
For me, this happened when I included a ” or ' character.
I'd replaced the apostrophe with '
, but aapt still wanted the prefixing backslash.