Don't use -libraryjars or -injar or -oujar in your proguard file. Gradle
does this for you automatically.

On Fri, Dec 5, 2014 at 1:59 PM, Ken Yee <k...@mustbin.com> wrote:

> this was a proguard config issue...this was in it:
> -libraryjar libs
> -libraryjar metadata-extractor...
>
> So after that, I get:
> Warning:can't write resource [META-INF/NOTICE.txt] (Duplicate zip entry
> [commons-io-1.3.2.jar:META-INF/NOTICE.txt])
> :app:proguardDevelopmentDebug FAILED
> Error:Execution failed for task ':app:proguardDevelopmentDebug'.
> > java.io.IOException: Can't write
> [/Users/kenyee/mustbin-android/app/build/intermediates/classes-proguard/development/debug/classes.jar]
> (Can't read
> [/Users/kenyee/.gradle/caches/modules-2/files-2.1/commons-io/commons-io/1.3.2/b6dde38349ba9bb5e6ea6320531eae969985dae5/commons-io-1.3.2.jar(;;;;;;!META-INF/MANIFEST.MF)]
> (Duplicate zip entry
> [commons-io-1.3.2.jar:org/apache/commons/io/FileUtils.class]))
>
> even after removing libraryjars and also tried adding/removing injars...
>
>  --
> 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/d/optout.
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.
http://developer.android.com | http://tools.android.com

Please do not send me questions directly. Thanks!

-- 
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/d/optout.

Reply via email to