ozodrukh / CircularReveal

Lollipop ViewAnimationUtils.createCircularReveal for everyone 4.0+
MIT License
2.43k stars 391 forks source link

Cannot execute apk #43

Closed jiteshlalwani closed 7 years ago

jiteshlalwani commented 9 years ago

Hi,

I am getting below error when I am trying to run the apk. Please note build is happening fine.

Error:Execution failed for task ':app:packageAllDebugClassesForMultiDex'.

java.util.zip.ZipException: duplicate entry: io/codetail/widget/RevealLinearLayout.class

ozodrukh commented 9 years ago

looks like one of your dependencies already using my library

jiteshlalwani commented 9 years ago

Problem is that if I dont use your library than the app is crashing on devices which are less than lollipop so I am not sure if that is the case. PFA my gradle file. Can you make out which library that might be? And what can be the solution so that I can use your library. Thanks in advance. gradle

ozodrukh commented 9 years ago

https://github.com/gowong/material-sheet-fab this dependency is using my library, u need to add exclude on that library and append mine (if u don't know how to add exclude please google it, a lot of examples are available on StackOverFlow)

jiteshlalwani commented 9 years ago

Hi thanks for the information. I have tried following line but somehow it is not working, please correct me if I am wrong somewhere:

compile('com.gordonwong:material-sheet-fab:1.0.1') { exclude module: 'com.github.ozodrukh' }

I also tried exclude group: 'com.github.ozodrukh'

ozodrukh commented 9 years ago
compile('com.gordonwong:material-sheet-fab:1.0.1'){
  exclude module: 'CircularReveal'
}
jiteshlalwani commented 9 years ago

Unfortunately I am getting same error even after writing above code in gradle.

Error:Execution failed for task ':app:packageAllDebugClassesForMultiDex'.

java.util.zip.ZipException: duplicate entry: io/codetail/widget/RevealLinearLayout.class

jiteshlalwani commented 9 years ago

I have added exclude module: 'CircularReveal' to few more libraries on which I had doubt but still no luck. PFA screenshot exclude_circular_2

jiteshlalwani commented 9 years ago

Will highly appreciated you if you could tell me some workaround. Thanks