# Dependency Conflict with com.google.android.flexbox Library in Zoom SDK 6.2.3

**URL:** <https://devforum.zoom.us/t/dependency-conflict-with-com-google-android-flexbox-library-in-zoom-sdk-6-2-3/118582>\
**Category:** Android\
**Created:** [October 4, 2024, 11:37am UTC](https://devforum.zoom.us/t/dependency-conflict-with-com-google-android-flexbox-library-in-zoom-sdk-6-2-3/118582 "2024-10-04T11:37:20Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![olena.chaika](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/olena.chaika/32/62487_2.png) [@olena.chaika](https://devforum.zoom.us/u/olena.chaika)\
**Post date:** [October 4, 2024, 11:37am UTC](https://devforum.zoom.us/t/dependency-conflict-with-com-google-android-flexbox-library-in-zoom-sdk-6-2-3/118582/1 "2024-10-04T11:37:20Z")

</div>

**Description**  
After updating to Zoom SDK 6.2.3, the build fails and I am seeing the following error during R8 minification in my project:

Type com.google.android.flexbox.AlignContent is defined multiple times:  
/Users/…/.gradle/caches/transforms-4/ff7e4b98f228dca6f96c420477871c86/transformed/jetified-mobilertc-runtime.jar:com/google/android/flexbox/AlignContent.class,  
/Users/…/.gradle/caches/transforms-4/20c9d213c4f8ee5f018b4c455f405a71/transformed/jetified-flexbox-2.0.1-runtime.jar:com/google/android/flexbox/AlignContent.class

We are using the `flexbox:2.0.1` library in our project, and this conflict did not occur before the SDK update.

**Which Android Meeting SDK version?**  
Android Meeting SDK 6.2.3

**To Reproduce(If applicable)**  
Steps to reproduce the behavior:

1. Include `com.google.android:flexbox:2.0.1` as a dependency in the project.
2. Add Zoom SDK 6.2.3 as a local AAR file.
3. Build the project with R8 enabled for minification.
4. Observe the error during the `minifyDebugWithR8` task.

---

<div class="post-metadata">

**Author:** ![KAZUMA87](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kazuma87/32/37556_2.png) [@KAZUMA87](https://devforum.zoom.us/u/KAZUMA87)\
**Post date:** [October 15, 2024, 4:03pm UTC](https://devforum.zoom.us/t/dependency-conflict-with-com-google-android-flexbox-library-in-zoom-sdk-6-2-3/118582/2 "2024-10-15T16:03:16Z")

</div>

Hello Olena,

Could the issue be caused by the flexbox library dependency version being changed to 3.0.0 in the MeetingSDK? Essentially, the functionality should remain unchanged from version 2.0.1, so would it make sense to modify the dependency to use 3.0.0?

---

<div class="post-metadata">

**Author:** ![olena.chaika](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/olena.chaika/32/62487_2.png) [@olena.chaika](https://devforum.zoom.us/u/olena.chaika)\
**Post date:** [October 21, 2024, 5:11pm UTC](https://devforum.zoom.us/t/dependency-conflict-with-com-google-android-flexbox-library-in-zoom-sdk-6-2-3/118582/3 "2024-10-21T17:11:58Z")

</div>

Thank you for the reply.

I tried changing the flexbox library dependency version to 3.0.0. It has no effect. And as I understand from the 6.2.0 changelog, the flexbox dependency in the MeetingSDK was not changed to 3.0.0, but removed.

---

<div class="post-metadata">

**Author:** ![csl](https://avatars.discourse-cdn.com/v4/letter/c/aeb1de/32.png) [@csl](https://devforum.zoom.us/u/csl)\
**Post date:** [October 23, 2024, 9:48am UTC](https://devforum.zoom.us/t/dependency-conflict-with-com-google-android-flexbox-library-in-zoom-sdk-6-2-3/118582/4 "2024-10-23T09:48:23Z")

</div>

Same problem coming in my project.

---

<div class="post-metadata">

**Author:** ![elaine.ku](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elaine.ku/32/40026_2.png) [@elaine.ku](https://devforum.zoom.us/u/elaine.ku)\
**Post date:** [October 23, 2024, 6:26pm UTC](https://devforum.zoom.us/t/dependency-conflict-with-com-google-android-flexbox-library-in-zoom-sdk-6-2-3/118582/5 "2024-10-23T18:26:37Z")

</div>

Hi @olena.chaika @csl ,

Thank you for posting on our dev forum.  
This issue should be fixed in our upcoming 6.2.5 release. We’ll release it before the early November. Please test using that version to see whether the issue still be seen.  
Thank you

Elaine

---

<div class="post-metadata">

**Author:** ![olena.chaika](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/olena.chaika/32/62487_2.png) [@olena.chaika](https://devforum.zoom.us/u/olena.chaika)\
**Post date:** [October 24, 2024, 9:38am UTC](https://devforum.zoom.us/t/dependency-conflict-with-com-google-android-flexbox-library-in-zoom-sdk-6-2-3/118582/6 "2024-10-24T09:38:54Z")

</div>

Hi @elaine.ku ,  
Thank you for the reply! Will be waiting for the new version.

---

<div class="post-metadata">

**Author:** ![aks](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/aks/32/50330_2.png) [@aks](https://devforum.zoom.us/u/aks)\
**Post date:** [November 12, 2024, 6:21am UTC](https://devforum.zoom.us/t/dependency-conflict-with-com-google-android-flexbox-library-in-zoom-sdk-6-2-3/118582/7 "2024-11-12T06:21:12Z")

</div>

Dear @olena.chaika can you try below

i tried changing the flexbox library version of my project to 3.0.0 and it worked.

please note that in 3.0.0 they have changed the groupId from `com.google.android` to `com.google.android.flexbox`

---

<div class="post-metadata">

**Author:** ![olena.chaika](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/olena.chaika/32/62487_2.png) [@olena.chaika](https://devforum.zoom.us/u/olena.chaika)\
**Post date:** [November 12, 2024, 11:58am UTC](https://devforum.zoom.us/t/dependency-conflict-with-com-google-android-flexbox-library-in-zoom-sdk-6-2-3/118582/8 "2024-11-12T11:58:26Z")

</div>

Hi @aks, thank you for the advice. Tried it when updating Zoom SDK to version 6.2.3, but doesn’t help, unfortunately. Haven’t tried the latest 6.2.5 yet.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [December 12, 2024, 9:59pm UTC](https://devforum.zoom.us/t/dependency-conflict-with-com-google-android-flexbox-library-in-zoom-sdk-6-2-3/118582/9 "2024-12-12T21:59:20Z")

</div>

Closed on December 12, 2024, 9:59pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
