error: androidmanifest.xml file missing --> What am i missing?

强颜欢笑 提交于 2019-11-28 20:28:40

Just build your project or Clean it as "Clayton" mentioned below.

Project > Build All

Project > Clean

This I believe is because you do not have R.java file in your gen folder. Building your project will generate the R.java file in your gen folder and the errors should go away.

This happens because you're referring to your layout file using the following code

setContentView(R.layout.activity_main); 

The reference to R.layout.activity_main is declared in R.java file which needs to be generated by building your project.

Project --> Clean worked for me

Kumar Vivek Mitra

- First of all please make sure that you have properly synced Eclipse with Android.

- Have you added the tools, and platform-tools folder Path in your System Environment Path.

- I hope you are creating an Android Project and not Java. See the Project folder in the Project explorer in Eclipse will be having a A sign for Android and J for Java.

Maxime Mbabele

what worked for me:

  • Uncheck Project>Build Automatically
  • Close project
  • Open Project
  • Clean project
  • manually Project> Build project then it worked.

Eventually i checked back Build Automatically.

I do not know what`s with "Build Automatically", It gives me some problem also when i export my Google play games (especially when i used external libray, like AndEngine for instance).

To fix it, i do a similar thing to fix the problem (uncheck it, clean, build manually)

I had a similar problem. But is was caused by crashing of eclipse. After that I was 2 swap files of AndroidManifest.xml and the same error: "AndroidManifest.xml file missing!".

So, I removed swap files (.swo, .swp)

:-)

This is build issue.

Go to Menu in eclipse, Project>clean then Project>Build All

Clean instruction will remove all build configuration and fix all build issues.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!