1

I am using Android Studio and am new to it.I have used git to clone the project from the repository. Also I am using Maven and building the project.

When I try to make the project, am getting error like AndroidManifest.xml not found.Please help me out.

I know this is a duplicate question as I have gone through the links: AndroidManifest.xml file not found ERROR: Android Source Generator: [project] AndroidManifest.xml file not found But both links are not able to solve my problem.

Please help me.

Community
  • 1
  • 1

1 Answers1

0

I have encountered this issue on Android Studio, what you are missing is adding your sources under module source settings.

Add your content root and mark build & src/main as sources

It should look like this

enter image description here

Akhil
  • 6,667
  • 4
  • 31
  • 61
  • i m pretty sure this is the fix.. it works for me, check again carefully, what all folders are marked as source.. – Akhil May 11 '15 at 17:30
  • I am working on maven multiple projects and also I am modifying them. In the source file, I have src\main and generated but there is no build file. –  May 11 '15 at 17:42
  • for maven i guess it is target folder instead of build.. also if there are some apk libs module add their dependencies as well.. i will recommend to use IntelliJ Idea CE edition instead of Android studio. As studio is tightly coupled with gradle. It has all features and same look n feel of android studio. Infact studio is based on IntelliJ Idea – Akhil May 11 '15 at 17:56
  • target folder in excluded folder. Also I want to know,the problem which i mentioned ,is it due to Android Studio? –  May 11 '15 at 18:05