Hi.

I found the very weird problem.

I found than out project release build crash beginning with android gradle 
plugin 1.5.0-beta1. It was working in 1.4.0-beta6

:app:compileReleaseNdk UP-TO-DATE
> :app:compileReleaseSources
> :app:processReleaseJavaRes UP-TO-DATE
> :app:transformResourcesWithMergeJavaResForRelease
> :app:transformClassesAndResourcesWithProguardForRelease
> ProGuard, version 5.2.1
> Warning: Exception while processing task java.io.IOException: The same 
> input jar [myproject\app\libs\heyzap-sdk-2.jar] is specified twice.
> :app:transformClassesAndResourcesWithProguardForRelease FAILED
> FAILURE: Build failed with an exception.
> * What went wrong:
> Execution failed for task 
> ':app:transformClassesAndResourcesWithProguardForRelease'.
> > java.io.IOException: The same input jar [
> myproject\app\libs\heyzap-sdk-2.jar] is specified twice.


Heyzap sdk jar is in the app/libs folder and which is included in 
dependecies by compile fileTree(dir: 'libs', include: '*.jar').
It he  libs folder are  two jars. I tried to remove heyzap-sdk-2.jar and 
keep another and and it works good.
I tried to create new sample project and put these two jars to the libs 
folder and it works.

Was made same changes in Proguard setup between 1.4.0-beta6 and 1.5.0-beta1?
Is any way how to check how Proguard is called?
I tried to *--debug* but I not found nothing important in the log.

I'm using Windows 7

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to