Using commons-io-1.3.2.jar and commons-lang3-3.1.jar together seems to 
break the build with the error message below.

:app:packageRelease
> Error: duplicate files during packaging of APK 
> /Users/whatever/Development/whatever/app/build/apk/app-release-unaligned.apk

Path in archive: META-INF/LICENSE.txt
> Origin 1: 
> /Users/whatever/.gradle/caches/modules-2/files-2.1/commons-io/commons-io/1.3.2/b6dde38349ba9bb5e6ea6320531eae969985dae5/commons-io-1.3.2.jar

Origin 2: 
> /Users/whatever/.gradle/caches/modules-2/files-2.1/org.apache.commons/commons-lang3/3.1/905075e6c80f206bbe6cf1e809d2caa69f420c76/commons-lang3-3.1.jar

:app:packageRelease FAILED

 

FAILURE: Build failed with an exception. 


> * What went wrong:
> Execution failed for task ':app:packageRelease'.
> > Duplicate files copied in APK META-INF/LICENSE.txt
>   File 1: 
> /Users/whatever/.gradle/caches/modules-2/files-2.1/commons-io/commons-io/1.3.2/b6dde38349ba9bb5e6ea6320531eae969985dae5/commons-io-1.3.2.jar
>   File 2: 
> /Users/whatever/.gradle/caches/modules-2/files-2.1/commons-io/commons-io/1.3.2/b6dde38349ba9bb5e6ea6320531eae969985dae5/commons-io-1.3.2.jar


Any idea of a quick workaround to fix this?

Cheers,
Patrick 

-- 
You received this message because you are subscribed to the Google Groups 
"adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adt-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to