NoSuchMethodError Crash on Selecting Background & Effects

Johnny
Wed, 07 May 2025 19:21:15 +0000
Meeting SDK

Meeting SDK Type and Version
Zoom SDK v6.4.5.29521

Description
I’m attempting to update to this SDK version, but running into a crash when selecting Background and Effects.

It looks like the Zoom SDK is using androidx.compose.material3:material3:1.2.1. Our app is using v1.3.0 of this library.

Are there any plans to update to 1.3.0 as we cannot downgrade to 1.2.1?

Error?

14:32:49.067  E  FATAL EXCEPTION: main (Ask Gemini)
                 Process: com.weightwatchers.mobile, PID: 18086
                 java.lang.NoSuchMethodError: No direct method <init>(ZLandroidx/compose/material3/SheetValue;Lkotlin/jvm/functions/Function1;Z)V in class Landroidx/compose/material3/SheetState; or its super classes (declaration of 'androidx.compose.material3.SheetState' appears in /data/app/~~0NJAfseKxWMIapCgqQ2R5Q==/com.weightwatchers.mobile-gGd-k-M_ZOAEMUD54H9uXA==/base.apk!classes41.dex)
                 	at us.zoom.prism.compose.widgets.bottomsheet.ZMPrismBottomSheetKt.rememberZMStandardBottomSheetState(ZMPrismBottomSheet.kt:74)

Troubleshooting Routes
I’ve tried to use the following, but it causes other issues in our app, so isn’t viable.

resolutionStrategry {
   force 'androidx.compose.material3:material3:1.2.1'
}

How To Reproduce

1. Join a Meeting

2. In the bottom bar, scroll to the right and select More

3. Select Background & effects

4. Crash occurs

Smartphone (please complete the following information):

Device: Samsung Galaxy S10e

OS: Android 12

6 posts - 5 participants