将Sinch添加到libs文件夹后,重复Zip条目Android

时间:2016-01-25 20:51:05

标签: android scala sinch

/libs/sinch-android-verification-1.1.2.jar(;;;;;;!META-INF/**,!rootdoc.txt)] (Duplicate zip entry [sinch-android-verification-1.1.2.jar:com/sinch/verification/Config.class])

build.sbt

  

编译中的unmanagedJars + =文件(“libs / sinch-android-verification-1.1.2.jar”)

Caused by: java.io.IOException: Duplicate zip entry [sinch-android-verification-1.1.2.jar:com/sinch/verification/Config.class]


[error] (android:proguard) java.io.IOException: Can't write [/Users/******/target/android/intermediates/proguard/classes.proguard.jar] (Can't read [/Users/******/libs/sinch-android-verification-1.1.2.jar(;;;;;;!META-INF/**,!rootdoc.txt)] (Duplicate zip entry [sinch-android-verification-1.1.2.jar:com/sinch/verification/Config.class]))

1 个答案:

答案 0 :(得分:2)

指定的行:

unmanagedJars in Compile

是多余的,是导致此错误的原因。