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:
Include com.google.android:flexbox:2.0.1 as a dependency in the project.
Add Zoom SDK 6.2.3 as a local AAR file.
Build the project with R8 enabled for minification.
Observe the error during the minifyDebugWithR8 task.
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?
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.
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
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.