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

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


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


- 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.