I would like to integrate the twilio library to my android app. As mentioned on their website I am using
implementation group: "com.twilio.sdk", name: "twilio", version: "8.10.0"
inside the dependencies
block of the build.gradle
. This leads to the error
More than one file was found with OS independent path 'META-INF/DEPENDENCIES'.
According to this topic I tried to add
android {
packagingOptions {
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/LICENSE'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/license.txt'
exclude 'META-INF/NOTICE'
exclude 'META-INF/NOTICE.txt'
exclude 'META-INF/notice.txt'
exclude 'META-INF/ASL2.0'
exclude("META-INF/*.kotlin_module")
}
}`
Then I am getting an error that the process can´t access \TestProject\app\build\intermediates\merged_java_res\debug\out.jar, because it is used by another one.