1

I have a AndroidStudio Project imported from Eclipse. In Eclipse i have a library project with his own dummy manifest which i use for testing the library disabling the library checkbox from the project configuration.

Now i want to do the same in AndroidStudio, i want to have the possibility to test my library project with his dummy test manifest but i want that the new manifest-merger ignores my library manifest when compiling my application (that has a dependency with my library project)

How can this be achieved in AndroidStudio?

Thanks

NullPointerException
  • 36,107
  • 79
  • 222
  • 382
  • This should help you: http://stackoverflow.com/questions/27335889/how-ignore-minsdkversion-of-ligrary-in-android-studio – skrzatswat Aug 18 '15 at 10:35

1 Answers1

0

You can do it with Gradle in android studio. In your build.gradle file add this:

android{
    sourceSets {
            main {
                manifest.srcFile 'src/main/AndroidManifest.xml'
            }
    }
}
Saeed Entezari
  • 3,685
  • 2
  • 19
  • 40