2

I'm using the Android Studio v0.2.x.

I just created a new application with default settings: File->New Project->..., then step by step.

When I built it, it failed. The log is:

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

But I have checked the source. It has the AndroidManifest.xml file. Any idea what causes this?

Matthew Strawbridge
  • 19,940
  • 10
  • 72
  • 93
Tom.Song
  • 81
  • 1
  • 1
  • 4

3 Answers3

0

I solved the problem by re-importing the project. By doing so, Android Studio will re-generate the .iml files.

Zoe
  • 27,060
  • 21
  • 118
  • 148
Wang Ke
  • 455
  • 1
  • 4
  • 8
0

You can configure the location of the manifest file like this:

  1. open the Project Structure dialog
  2. go to "Modules" (in the left tree)
  3. select "Android" in the middle column of the dialog
  4. Now you see on the right side a list of files where you can pick the Manifest file.
cyberbrain
  • 3,433
  • 1
  • 12
  • 22
-6

Try cleaning the project , after that refresh and try to build again.

Project -> Clean