Description
Upgrade the SDK version to 5.7.6, then app crash when open app
Which Android Meeting SDK version?
5.7.6
Smartphone (please complete the following information):
Device: Samsung Note 20
OS: Android 11
Error Log
2021-10-05 11:54:25.848 31682-32395/myapplication E/unknown:NativeModuleInitError: Failed to create NativeModule "UIManager"
java.lang.VerifyError: Verifier rejected class com.brentvatne.exoplayer.ReactExoplayerViewManager: android.view.View com.brentvatne.exoplayer.ReactExoplayerViewManager.createViewInstance(com.facebook.react.uimanager.k0) failed to verify: android.view.View com.brentvatne.exoplayer.ReactExoplayerViewManager.createViewInstance(com.facebook.react.uimanager.k0): [0x4] can't resolve returned type 'Reference: android.view.View' or 'Unresolved Reference: com.brentvatne.exoplayer.d' (declaration of 'com.brentvatne.exoplayer.ReactExoplayerViewManager' appears in /data/app/~~rOt2TZL6x_Inp8ThFF8s0A==/myapplication-1x117vtYx9KaSP60Rf7Z6g==/base.apk)
at f.d.a.b.createViewManagers(ReactVideoPackage.java:28)
at com.facebook.react.q.F(ReactInstanceManager.java:850)
at com.facebook.react.a.h(CoreModulesPackage.java:190)
at com.facebook.react.a.c(CoreModulesPackage.java:158)
at com.facebook.react.y$b.a(TurboReactPackage.java:159)
at com.facebook.react.y$b.get(TurboReactPackage.java:147)
at com.facebook.react.bridge.ModuleHolder.create(ModuleHolder.java:191)
at com.facebook.react.bridge.ModuleHolder.getModule(ModuleHolder.java:156)
at com.facebook.react.bridge.NativeModuleRegistry.getModule(NativeModuleRegistry.java:149)
at com.facebook.react.bridge.CatalystInstanceImpl.getNativeModule(CatalystInstanceImpl.java:596)
at com.facebook.react.bridge.CatalystInstanceImpl.getNativeModule(CatalystInstanceImpl.java:566)
at com.facebook.react.uimanager.q0.e(UIManagerHelper.java:70)
at com.facebook.react.uimanager.q0.d(UIManagerHelper.java:38)
at com.facebook.react.q.t(ReactInstanceManager.java:1136)
at com.facebook.react.q.g0(ReactInstanceManager.java:1083)
at com.facebook.react.q.i(ReactInstanceManager.java:131)
at com.facebook.react.q$e$b.run(ReactInstanceManager.java:1037)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:27)
at android.os.Looper.loop(Looper.java:246)
at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:226)
at java.lang.Thread.run(Thread.java:923)
2021-10-05 11:54:25.849 31682-32395/myapplication E/AndroidRuntime: FATAL EXCEPTION: mqt_native_modules
Process: myapplication, PID: 31682
java.lang.VerifyError: Verifier rejected class com.brentvatne.exoplayer.ReactExoplayerViewManager: android.view.View com.brentvatne.exoplayer.ReactExoplayerViewManager.createViewInstance(com.facebook.react.uimanager.k0) failed to verify: android.view.View com.brentvatne.exoplayer.ReactExoplayerViewManager.createViewInstance(com.facebook.react.uimanager.k0): [0x4] can't resolve returned type 'Reference: android.view.View' or 'Unresolved Reference: com.brentvatne.exoplayer.d' (declaration of 'com.brentvatne.exoplayer.ReactExoplayerViewManager' appears in /data/app/~~rOt2TZL6x_Inp8ThFF8s0A==/myapplication-1x117vtYx9KaSP60Rf7Z6g==/base.apk)
at f.d.a.b.createViewManagers(ReactVideoPackage.java:28)
at com.facebook.react.q.F(ReactInstanceManager.java:850)
at com.facebook.react.a.h(CoreModulesPackage.java:190)
at com.facebook.react.a.c(CoreModulesPackage.java:158)
at com.facebook.react.y$b.a(TurboReactPackage.java:159)
at com.facebook.react.y$b.get(TurboReactPackage.java:147)
at com.facebook.react.bridge.ModuleHolder.create(ModuleHolder.java:191)
at com.facebook.react.bridge.ModuleHolder.getModule(ModuleHolder.java:156)
at com.facebook.react.bridge.NativeModuleRegistry.getModule(NativeModuleRegistry.java:149)
at com.facebook.react.bridge.CatalystInstanceImpl.getNativeModule(CatalystInstanceImpl.java:596)
at com.facebook.react.bridge.CatalystInstanceImpl.getNativeModule(CatalystInstanceImpl.java:566)
at com.facebook.react.uimanager.q0.e(UIManagerHelper.java:70)
at com.facebook.react.uimanager.q0.d(UIManagerHelper.java:38)
at com.facebook.react.q.t(ReactInstanceManager.java:1136)
at com.facebook.react.q.g0(ReactInstanceManager.java:1083)
at com.facebook.react.q.i(ReactInstanceManager.java:131)
at com.facebook.react.q$e$b.run(ReactInstanceManager.java:1037)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:27)
at android.os.Looper.loop(Looper.java:246)
at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:226)
at java.lang.Thread.run(Thread.java:923)
I’m sorry, but I do not see anything indicating that the SDK is involved in this stack trace. Please let me know if I am missing something and I will be happy to help.
Since the SDK is not mentioned in the stack trace, we will not be able to assist further. Let me know if you find any new information indicating that the SDK is involved.
I have another problem when build the app listed below, would you please give some advise?
Task :app:minifyDebugWithR8 FAILED
AGPBI: {“kind”:“error”,“text”:“Type a.a.a.a.b is defined multiple times: /Users/administrator/.gradle/caches/transforms-2/files-2.1/fcec62ff4ba6793198c882ba039b9cb1/jetified-mtrecsdk-1.0.8.15-runtime.jar:a/a/a/a/b.class, /Users/administrator/Documents/project/android/zoommobilertc/build/.transforms/22fdd739dd600bae258cdb3c47075832/jetified-mobilertc-runtime.jar:a/a/a/a/b.class”,“sources”:[{“file”:“/Users/administrator/.gradle/caches/transforms-2/files-2.1/fcec62ff4ba6793198c882ba039b9cb1/jetified-mtrecsdk-1.0.8.15-runtime.jar”}],“tool”:“R8”}
Execution failed for task ‘:app:minifyDebugWithR8’.
com.android.tools.r8.CompilationFailedException: Compilation failed to complete, origin: /Users/administrator/.gradle/caches/transforms-2/files-2.1/fcec62ff4ba6793198c882ba039b9cb1/jetified-mtrecsdk-1.0.8.15-runtime.jar:a/a/a/a/b.class
Type a.a.a.a.b is defined multiple times: /Users/administrator/.gradle/caches/transforms-2/files-2.1/fcec62ff4ba6793198c882ba039b9cb1/jetified-mtrecsdk-1.0.8.15-runtime.jar:a/a/a/a/b.class, /Users/administrator/Documents/project/android/zoommobilertc/build/.transforms/22fdd739dd600bae258cdb3c47075832/jetified-mobilertc-runtime.jar:a/a/a/a/b.class
The above error metioned mobilertc, it is not related to Zoom SDK?
Type a.a.a.a.b is defined multiple times: /Users/administrator/.gradle/caches/transforms-2/files-2.1/fcec62ff4ba6793198c882ba039b9cb1/jetified-mtrecsdk-1.0.8.15-runtime.jar:a/a/a/a/b.class, /Users/administrator/Documents/project/android/mobilertc/build/.transforms/22fdd739dd600bae258cdb3c47075832/jetified-mobilertc-runtime.jar:a/a/a/a/b.class
Yes, mobilertc is one of the two SDK modules. However, your previous reply did not contain any mentions of the mobilertc module. Instead, a couple of the errors contained zoommobilertc. Did you rename the mobilertc module in your project at some point after installing the SDK to zoommobilertc?
This forum is only meant to assist with issues directly related to the Zoom Meeting SDK. If you need general assistance with an error unrelated to our SDK, please visit StackOverflow or a similar alternative.
The name of your mobilertc and commonlib modules should not matter, as long as they are being properly added to your project’s dependencies.
When you updated from the previous version of the SDK, did you update both the mobilertc.aar and commonlib.aar files in your project? If you are unsure, you can try removing these from your project entirely and adding the back in as if you were integrating them for the first time.
Thanks for confirming. Can you please provide your mobilertc/build.gradle file’s contents so that we can verify all of the required dependencies are properly setup?
There very well may be issues associated with not using the same version as the SDK. Can you please try changing the versions you are using to match what is in the sample app to see if the same issue is present?