I created one android application project in eclipse and whenever I tried to run that application its throwing an error message saying AndroidManifest.xml
file
I closed all projects that were unrelated with the one I was trying to run (right-click on project in Project Explorer and then selecting Close Project) and the problem magically disappeared (for no apparent reason). Then, even after I re-opened the closed projects, the problem did not come back.
I had the problem in android studio after an update , it worked by Tools ->Android ->sync with gradle file
Restart your eclipse and make sure that build automatically checked. It worked for me all the time. Hope this helps some one.
I was able to fix this by manually deleting the bin directory, as well as the gen directory, right clicking project and selecting Android Tools->Fix Project Properties, then using Project->Build All.