AndroidManifest.xml is missing
AndroidEclipseAndroid Problem Overview
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 is missing. what is the reason for this ?
I am using eclipse with android-sdk and ADT version is 20. in SDK manager I installed android 2.2 API level only.. Is this is the problem for that error ?
Android Solutions
Solution 1 - Android
Delete bin
folder in project and your library dependencies. Then re-run application.
Solution 2 - Android
you should clean and refresh your project once.
Solution 3 - Android
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.
Solution 4 - Android
Restart your eclipse and make sure that build automatically checked. It worked for me all the time. Hope this helps some one.
Solution 5 - Android
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.
Solution 6 - Android
I put the AndroidManifest.xml that in appcomatv7 and pasted to the project and problem solved
Solution 7 - Android
Click project -> Refresh (F5) -> Go to "Project" in the menu bar -> Clean. It works for me.
Solution 8 - Android
I was having the same problem and didn't understand why - followed all deletes of /bin, /gen, fixing AVD's, etc, still to no avail.
The /bin got me thinking though -
I had previously used this advice to exclude /bin from the resource filters (in an effort to remove results from the search)....
I removed the filter for /bin and voila.....
Interesting this only affected me when I wanted to Debug or Run within Eclipse -- I could export a working APK without any problem, but debugging failed.
Hope this helps.
Solution 9 - Android
I had the problem in android studio after an update , it worked by Tools ->Android ->sync with gradle file
Solution 10 - Android
(what worked for me)
1 - copy the file build.gradle
2 - drop the copied file in the android folder [example MyApp/android]