I am having my android studio project with four library modules and one application module in it.
I am having six jar files which I have kept in one directory.
Each of these modules are using some of the jar files.
So I have added dependencies of these jars in build.gradle file of respective module with relative path using "compile files('./../../deliverables/xyz.jar')".
Application module is dependent on all these library modules.
When I create release build of my application module, it fails with "duplicate zip entry" error of proguard as I have enabled proguard in gradle build script.
This error is for six jar files.
The debug build of this project is working fine.
I tried below solutions:
1. injar option in proguard-rules.pro file
2. dontwarn option in proguard-rules.pro file
3. keep option in proguard-rules.pro file
Please help me.
Thanks.