When using Eclipse for Android Java programming, sometimes we get the problem of pop-up aapt.exe to stop work, although the program will not crash, but this tip often pop-up is annoying. Today, Xiao-bian is here to teach you how to solve Aapt.exe stop work
Android Exception--aapt.exe has stopped working
When Android was developed, the following exception occurred when building the project:
Aapt.exe has stopped working, no other error prompts, and this error is typically caused by a resource file or an error in an XML file.
Workaround:
Clean up, you can find the console there will be error prompts, and then according to the error prompted to resolve.
My situation:
[2013-04-20 14:35:50-bigboy] Error in a XML file:aborting build.
It's obvious that there are errors in XML, but it's not a hint of which XML file is wrong, and that's what you need to find yourself.
Finally found that when the attribute is defined, no Name attribute is added, and then it is normal.
<declare-styleable name= "Custominputcontrol" >
Method
1. Direct Shutdown error Prompt
2, click on the Eclipse menu bar window--preferences
3, click on the left-hand side of the menu of Android left small triangle, pull open the menu
4. Click Build
5, choose Silent, determine
6, check your XML file is wrong, and sometimes the lack of attributes will cause this problem, such as the name attribute is often forgotten