Skip to content Skip to sidebar Skip to footer

Adding Google Language Api Results In Duplicaterelativefileexception

In an android studio project I added implementation 'com.google.cloud:google-cloud-language:1.40.0' to the app's gradle file. This results in the following error on building: org.

Solution 1:

you have to use exclude (or pickFirst) in the packagingOptions:

android {
    packagingOptions {
        exclude "META-INF/DEPENDENCIES"
    }
}

Post a Comment for "Adding Google Language Api Results In Duplicaterelativefileexception"