When I applied proguard, then in console ,getting below error.please solve my issue.
solve duplicate zip entry error while applying progaurd.
Console Error:
Note: there were 157 duplicate class definitions.
(http://proguard.sourceforge.net/manual/troubleshooting.html#duplicateclass)
Warning:can't write resource [META-INF/LICENSE.txt] (Duplicate zip entry [commons-io-2.4.jar:META-INF/LICENSE.txt])
Warning:can't write resource [META-INF/NOTICE.txt] (Duplicate zip entry [httpmime-4.2.1.jar:META-INF/NOTICE.txt])
Warning:can't write resource [META-INF/LICENSE.txt] (Duplicate zip entry [httpmime-4.2.1.jar:META-INF/LICENSE.txt])
Anyone help me regarding this proguard problem? I have searched a lot in google, but still can't find any proper solution. Thanks in advance.
Since you don't write the details I expect that you are using Android Studio and Gradle as build system. Add to your android DSL this block:
You do not need all of them but it will work. This basically blocks the build system to include some files. In your case some useless text files.