Repo of the Open Source Android library : RoboSpice. RoboSpice is a modular android library that makes writing asynchronous long running tasks easy. It is specialized in network requests, supports caching and offers REST requests out-of-the box using extension modules.
I have added
-dontwarn android.support.
-dontwarn com.sun.xml.internal.
-dontwarn com.sun.istack.internal.
-dontwarn org.codehaus.jackson.
-dontwarn org.springframework.
-dontwarn java.awt.
-dontwarn javax.security.
-dontwarn java.beans.
-dontwarn javax.xml.
-dontwarn java.util.
-dontwarn org.w3c.dom.
-dontwarn com.google.common.
-dontwarn com.octo.android.robospice.persistence.**
-dontwarn com.octo.android.robospice.SpiceService
to the progurad-rules.pro, but it still go wrong
Warning:can't write resource [.readme](Duplicate zip entry [classes.jar:.readme])
Warning:can't write resource [META-INF/LICENSE.txt](Duplicate zip entry [commons-lang3-3.3.2.jar:META-INF/LICENSE.txt])
Warning:can't write resource [META-INF/NOTICE.txt](Duplicate zip entry [commons-lang3-3.3.2.jar:META-INF/NOTICE.txt])
Warning:can't write resource [META-INF/LICENSE.txt](Duplicate zip entry [commons-io-1.3.2.jar:META-INF/LICENSE.txt])
Warning:can't write resource [META-INF/NOTICE.txt](Duplicate zip entry [commons-io-1.3.2.jar:META-INF/NOTICE.txt])
Error:Execution failed for task ':app:proguardDebug'.
I solve this problem
compile('com.octo.android.robospice:robospice:1.4.14') {
exclude group: 'org.apache.commons'
}
compile 'commons-io:commons-io:1.3.2'
compile 'org.apache.commons:commons-lang3:3.4'
I have added -dontwarn android.support. -dontwarn com.sun.xml.internal. -dontwarn com.sun.istack.internal. -dontwarn org.codehaus.jackson. -dontwarn org.springframework. -dontwarn java.awt. -dontwarn javax.security. -dontwarn java.beans. -dontwarn javax.xml. -dontwarn java.util. -dontwarn org.w3c.dom. -dontwarn com.google.common. -dontwarn com.octo.android.robospice.persistence.** -dontwarn com.octo.android.robospice.SpiceService to the progurad-rules.pro, but it still go wrong
Warning:can't write resource [.readme](Duplicate zip entry [classes.jar:.readme]) Warning:can't write resource [META-INF/LICENSE.txt](Duplicate zip entry [commons-lang3-3.3.2.jar:META-INF/LICENSE.txt]) Warning:can't write resource [META-INF/NOTICE.txt](Duplicate zip entry [commons-lang3-3.3.2.jar:META-INF/NOTICE.txt]) Warning:can't write resource [META-INF/LICENSE.txt](Duplicate zip entry [commons-io-1.3.2.jar:META-INF/LICENSE.txt]) Warning:can't write resource [META-INF/NOTICE.txt](Duplicate zip entry [commons-io-1.3.2.jar:META-INF/NOTICE.txt])
Error:Execution failed for task ':app:proguardDebug'.