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"?>
    <item type="id" name="auto_focus" />

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

Need Your Help

How would I go abouce decodeURI with c#/

c# uri

I have a webservice which is passed some encoded material.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.