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

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.

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?

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.

Same problem coming in my project.

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

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