0

I have imported an eclipse project to android studio which worked fine on eclipse but when I try to run it on android studion it gives me the error

Error:Android Source Generator: [MySchoolApp1] AndroidManifest.xml file not found
Marcus
  • 6,697
  • 11
  • 46
  • 89
Lara Sahar
  • 1
  • 1
  • 2

1 Answers1

0

In the android section of your build.gradle file, you can try adding sourceSets with the manifest.srcFile variable.

android {
  sourceSets {
      main {
          manifest.srcFile 'ToDoList/src/main/AndroidManifest.xml'
      }
  }
}

That path may need to be adjusted slightly.

Reference : AndroidManifest.xml file not found

https://developer.android.com/studio/intro/migrate.html

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
Anil Meenugu
  • 1,411
  • 1
  • 11
  • 16