Error Android Duplicate zip entry CoordinatorLayout

108 views
Skip to first unread message

josuegustavoh...@gmail.com

unread,
Sep 20, 2018, 2:08:45 AM9/20/18
to CodenameOne Discussions
Hello

I'm trying to compile an application (specifically its uber Clone example) and this error appears:

Duplicate zip entry [classes.jar: android / support / design / widget / CoordinatorLayout $ Behavior.class]

 I was researching some solutions, one of them proposes to use these libraries in gradle 

compile 'com.android.support:appcompat-v7:27.1.0'
compile 'com.android.support:support-v4:27.1.0'
compile 'com.android.support:recyclerview-v7:27.1.0'
compile 'com.android.support:design:27.1.0'
compile 'com.android.support:cardview-v7:27.1.0'
and some explanationsdown vote
Google recently starting breaking up Firebase and Google Play Services. In doing so,
they seem to have pushed a 15.0.2 version of one of the Firebase libraries as a dependency on the other libraries,
even if you're asking for 15.0.0, leading to the conflict you're seeing.



 But it does directly in Android Studio, what would be the solution in CodenameOne?


error (14).txt

Shai Almog

unread,
Sep 20, 2018, 3:16:32 AM9/20/18
to CodenameOne Discussions
Hi,
this looks like a regression with the braintree cn1lib. I'm looking into it.

josuegustavoh...@gmail.com

unread,
Sep 20, 2018, 11:07:12 PM9/20/18
to CodenameOne Discussions

Okay, thank you very much

Shai Almog

unread,
Sep 21, 2018, 12:55:44 AM9/21/18
to CodenameOne Discussions
This is now fixed in the latest braintree cn1lib update. Notice you might need to remove the build hint android.sdkVersion=25
You can update the cn1lib via Codename One Settings -> Extensions
Reply all
Reply to author
Forward
0 new messages