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
For me it was the buildToolsVersion '21.0.0' the old one buildToolsVersion '20.0.0' works for me but the newer one crashes the aapt.exe.
Donot forget + sign for id attributes in menu.xml files
<item android:id="@id/action_download_time"
vs
<item android:id="@+id/action_download_time"
It also happend for me IF ASSETS FOLDER exist any file without resolution
for examle: if ASSETS FOLDER exist any file
file:///android_asset/html/qwwww
[result] BUG! “aapt.exe has stopped”
To solve it all files should have a resolution
file:///android_asset/html/qwwww.css
This can also happen if you have an incorrect option in an item. Example:
<item
android:id="@+id/menu_dashboard_add_group"
android:icon="@android:drawable/btn_plus"
android:title="Add group"
android:showAsAction="true">
Note the true
that is invalid for android:showAsAction
Apparently it seems that the only thing that worked for me was writing back the resourse <string name="action_settings">Settings</string>
after which the problem appeared. Actually I erased it in the first place because it was not used througout my open project...
For me it happend after creating a new activity by
your_package-Right-Click-> Create a new-> "Android Activity"->Fill fields->"Done"
I solved it by reverting to previous version of my app