android: aapt.exe has encountered an error
I created a ids.xml file in res/values folder . when I tried to add any id in it . I got the following error:
aapt.exe has encountered a problem and needs to close. We are sorry for the inconvenience.
and when i clean and build project.i again got this error. any suggestion..?
Update: when i m creating ids.xml file, eclipse create this file without having any error. but when i m trying to add something i gives me crash.
<?xml version="1.0" encoding="UTF-8"?> <resources> <item type="id" name="auto_focus" /> </resources>
when i added auto_focus i got the error
I have the same problem.Check out all your .xml files and make sure nothing wrong with them.
It happens to me when I delete not needed string resource name="action_settings"
Just write it back and everything was fine