62

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 ?

Prasad
  • 1,375
  • 5
  • 17
  • 31

11 Answers11

125

Delete bin folder in project and your library dependencies. Then re-run application.

Dmytro Sirenko
  • 5,003
  • 21
  • 26
Rocky030
  • 1,266
  • 1
  • 9
  • 2
43

you should clean and refresh your project once.

Androholic
  • 526
  • 3
  • 9
7

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.

Daniel F
  • 13,684
  • 11
  • 87
  • 116
1

Restart your eclipse and make sure that build automatically checked. It worked for me all the time. Hope this helps some one.

Deepthi
  • 21
  • 2
1

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.

1

I put the AndroidManifest.xml that in appcomatv7 and pasted to the project and problem solved

NeverMind
  • 21
  • 2
1

Click project -> Refresh (F5) -> Go to "Project" in the menu bar -> Clean. It works for me.

0

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.

Community
  • 1
  • 1
J Webb
  • 701
  • 1
  • 9
  • 13
0

I had the problem in android studio after an update , it worked by Tools ->Android ->sync with gradle file

Raluca Lucaci
  • 2,058
  • 3
  • 20
  • 37
0

(what worked for me)

1 - copy the file build.gradle 2 - drop the copied file in the android folder [example MyApp/android]

0

before

After add Package name

add package name