Using Android Gradle plugin 0.7.0 with the following build.gradle
:
buildscript {
repositories {
mavenCentral()
}
dependenci
It's more than one error
Under apply plugin: 'android-library'
add this ::
android {
packagingOptions {
exclude 'META-INF/ASL2.0'
exclude 'META-INF/LICENSE'
exclude 'META-INF/NOTICE'
}
}
In case of duplicate files it's easy, look inside the JAR
under the META-INF
dir and see what's causing the error. It could be multiple. In my case Couchbase Lite plugin.
As you add more plugins, you will need more exceptions