ERROR: Android Source Generator: [project] AndroidManifest.xml file not found

you must open Project Structure modified something.

example: Project Structure > Facets ,you can see this is: enter image description here

delete ".idea", like this enter image description here

ok, IDE there find AndroidManifest.xml


I know the problem in IDEA because you create a new project with Java configuration (not android, but with android sdk dependency)

File > New Project > Java (Java Module) > Project SDK Android 4.X

Here is the solution :

File > New Project > Android (Application Module)

If you are using Maven, backup the project and close it. Open IntelliJ and select Open..., choose the pom.xml file and then select yes to open this project. Because there is already a project a popup should appear, choose 'Delete Existing Project and Import'.

Note: I'm using IntelliJ Community Edition version 13

I believe this question is a duplicate of this question: AndroidManifest.xml file not found


I used to have the same problem with Intellij 13 EAP, OS-X Mavericks, and a maven multi module Android project, where it was compiling fine by command line, but failing to rebuild/make thru the IDE.

Project Structure > Facets > select your Android project > 'Generated Sources' tab

check "Run 'process-resources' Maven task before Make" option.


Please check your Build Tools version, it must be same in build.gradle file, for example:

buildToolsVersion "19.0.3"

So, open Android SDK Manager, check your revision of Build Tools.

After changes, go to Build -> Clean Project