android - by compiling commons-io to my project progaurd doesnt allow to create apk? -


i compile commons-io package android project. when want create project apk file has problem progaurd! what's progaurd-rule ignoring package ?

compile 'org.apache.commons:commons-io:1.3.2'

error is:

warning:exception while processing task java.io.ioexception: can't write [c:\users***\app\build\intermediates\transforms\proguard\release\jars\3\1f\main.jar] (can't read [c:\users***.gradle\caches\modules-2\files-2.1\org.apache.commons\commons-io\1.3.2\b6dde38349ba9bb5e6ea6320531eae969985dae5\commons-io-1.3.2.jar(;;;;;;**.class)] (duplicate zip entry [org/a/a/a/a.class == commons-io-1.3.2.jar:org/apache/commons/io/fileutils.class]))

i had same issue. in case hadn't done build few months, , found dependency compile 'org.apache.commons:commons-io:1.3.2' no longer valid (though guess jars still in local repository).

once changed compile 'commons-io:commons-io:1.3.2', proguard ran fine.

source: cjs's answer


Comments

Popular posts from this blog

What is happening when Matlab is starting a "parallel pool"? -

angular - DownloadURL return null in below code -

php - Cannot override Laravel Spark authentication with own implementation -