Binary XML file line #2 Caused by: java.lang.ClassNotFoundException

Description
SDK initializing successfully but when try to join meeting, then getting crashed, error given below.

*Error
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.helloparent/com.zipow.videobox.ConfActivityNormal}: android.view.InflateException: Binary XML file line #24 in com.helloparent:layout/zm_conf_main_screen: Binary XML file line #2 in com.helloparent:layout/zm_panel_float_btn: Error inflating class com.google.android.flexbox.FlexboxLayout
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3430)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3594)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85)
at
Caused by: android.view.InflateException: Binary XML file line #24 in com.helloparent:layout/zm_conf_main_screen: Binary XML file line #2 in com.helloparent:layout/zm_panel_float_btn: Error inflating class com.google.android.flexbox.FlexboxLayout
Caused by: android.view.InflateException: Binary XML file line #2 in com.helloparent:layout/zm_panel_float_btn: Error inflating class com.google.android.flexbox.FlexboxLayout
Caused by: java.lang.ClassNotFoundException: com.google.android.flexbox.FlexboxLayout
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:454)
at android.view.LayoutInflater.createView(LayoutInflater.java:813)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:1004)
at android.view.LayoutInflater.parseInclude(LayoutInflater.java:1231)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:1117)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1082)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:1124)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1082)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:1124)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1082)
at android.view.LayoutInflater.parseInclude(LayoutInflater.java:1261)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:1117)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1082)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:1124)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1082)
at android.view.LayoutInflater.inflate(LayoutInflater.java:680)
at android.view.LayoutInflater.inflate(LayoutInflater.java:532)
at android.view.LayoutInflater.inflate(LayoutInflater.java:479)
at com.android.internal.policy.PhoneWindow.setContentView(PhoneWindow.java:455)
at android.app.Activity.setContentView(Activity.java:3468)
at com.zipow.videobox.ConfActivityNormal.onCreate(ConfActivityNormal.java:624)
at android.app.Activity.performCreate(Activity.java:8000)
at android.app.Activity.performCreate(Activity.java:7984)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1310)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3403)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3594)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
2021-02-10 16:54:55.634 12661-12661/com.helloparent E/AndroidRuntime: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2067)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:223)
at android.app.ActivityThread.main(ActivityThread.java:7698)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:952)
Caused by: java.lang.ClassNotFoundException: Didn’t find class “com.google.android.flexbox.FlexboxLayout” on path: DexPathList[[zip file “/data/app/~~rQpWPNBTlVTHiuVDT5Z99A==/com.helloparent-ZMKpVC1lq_T0YWz1CCKScg==/base.apk”, zip file “/data/app/~~rQpWPNBTlVTHiuVDT5Z99A==/com.helloparent-ZMKpVC1lq_T0YWz1CCKScg==/split_config.arm64_v8a.apk”, zip file “/data/app/~~rQpWPNBTlVTHiuVDT5Z99A==/com.helloparent-ZMKpVC1lq_T0YWz1CCKScg==/split_config.xhdpi.apk”],nativeLibraryDirectories=[/data/app/~~rQpWPNBTlVTHiuVDT5Z99A==/com.helloparent-ZMKpVC1lq_T0YWz1CCKScg==/lib/arm64, /data/app/~~rQpWPNBTlVTHiuVDT5Z99A==/com.helloparent-ZMKpVC1lq_T0YWz1CCKScg==/base.apk!/lib/arm64-v8a, /data/app/~~rQpWPNBTlVTHiuVDT5Z99A==/com.helloparent-ZMKpVC1lq_T0YWz1CCKScg==/split_config.arm64_v8a.apk!/lib/arm64-v8a, /data/app/~~rQpWPNBTlVTHiuVDT5Z99A==/com.helloparent-ZMKpVC1lq_T0YWz1CCKScg==/split_config.xhdpi.apk!/lib/arm64-v8a, /system/lib64,
Suppressed: java.io.IOException: No original dex files found for dex location (arm64) /data/app/~~rQpWPNBTlVTHiuVDT5Z99A==/com.helloparent-ZMKpVC1lq_T0YWz1CCKScg==/split_config.arm64_v8a.apk
at dalvik.system.DexFile.openDexFileNative(Native Method)
at dalvik.system.DexFile.openDexFile(DexFile.java:367)
at dalvik.system.DexFile.(DexFile.java:109)
at dalvik.system.DexFile.(DexFile.java:82)
Suppressed: java.io.IOException: No original dex files found for dex location (arm64) /data/app/~~rQpWPNBTlVTHiuVDT5Z99A==/com.helloparent-ZMKpVC1lq_T0YWz1CCKScg==/split_config.xhdpi.apk
at dalvik.system.DexFile.openDexFileNative(Native Method)
at dalvik.system.DexFile.openDexFile(DexFile.java:367)
at dalvik.system.DexFile.(DexFile.java:109)
at dalvik.system.DexFile.(DexFile.java:82)

Which version?
v5.2.42043.1112

Hi @helloparent, thanks for the post.

This can be resolved by adding the following dependency to your app’s build.gradle:

implementation 'com.google.android:flexbox:2.0.1'

Thanks!