# Android app crash when open app

**URL:** <https://devforum.zoom.us/t/android-app-crash-when-open-app/58390>\
**Category:** Android\
**Created:** [October 5, 2021, 4:24am UTC](https://devforum.zoom.us/t/android-app-crash-when-open-app/58390 "2021-10-05T04:24:40Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![shingshing6](https://avatars.discourse-cdn.com/v4/letter/s/f4b2a3/32.png) [@shingshing6](https://devforum.zoom.us/u/shingshing6)\
**Post date:** [October 5, 2021, 4:24am UTC](https://devforum.zoom.us/t/android-app-crash-when-open-app/58390/1 "2021-10-05T04:24:40Z")

</div>

**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**

```auto
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)

```

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [October 5, 2021, 5:20pm UTC](https://devforum.zoom.us/t/android-app-crash-when-open-app/58390/2 "2021-10-05T17:20:51Z")

</div>

Hi @shingshing6, thanks for the post.

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.

Thanks!

---

<div class="post-metadata">

**Author:** ![shingshing6](https://avatars.discourse-cdn.com/v4/letter/s/f4b2a3/32.png) [@shingshing6](https://devforum.zoom.us/u/shingshing6)\
**Post date:** [October 6, 2021, 1:35am UTC](https://devforum.zoom.us/t/android-app-crash-when-open-app/58390/3 "2021-10-06T01:35:26Z")

</div>

Hi @jon.zoom

I have no idea too. Previously i use SDK 5.4.3.613 and it works fine. After i use the new SDK, it caused this error.

I only replaced commonlib and mobiletrc folder with latest SDK in my project.

Thanks

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [October 6, 2021, 5:02pm UTC](https://devforum.zoom.us/t/android-app-crash-when-open-app/58390/4 "2021-10-06T17:02:24Z")

</div>

Hi @shingshing6,

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.

Thanks!

---

<div class="post-metadata">

**Author:** ![shingshing6](https://avatars.discourse-cdn.com/v4/letter/s/f4b2a3/32.png) [@shingshing6](https://devforum.zoom.us/u/shingshing6)\
**Post date:** [October 12, 2021, 4:24am UTC](https://devforum.zoom.us/t/android-app-crash-when-open-app/58390/5 "2021-10-12T04:24:47Z")

</div>

Hi @jon.zoom

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

Thanks

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [October 12, 2021, 5:09pm UTC](https://devforum.zoom.us/t/android-app-crash-when-open-app/58390/6 "2021-10-12T17:09:18Z")

</div>

Hi @shingshing6,

I am still not seeing any mentions of our SDK in these errors. As a reminder, we can only provide assistance with issues directly related to our SDK.

Thanks!

---

<div class="post-metadata">

**Author:** ![shingshing6](https://avatars.discourse-cdn.com/v4/letter/s/f4b2a3/32.png) [@shingshing6](https://devforum.zoom.us/u/shingshing6)\
**Post date:** [October 13, 2021, 6:53am UTC](https://devforum.zoom.us/t/android-app-crash-when-open-app/58390/7 "2021-10-13T06:53:18Z")

</div>

Hi @jon.zoom

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

Thanks.

---

<div class="post-metadata">

**Author:** ![osumeja27](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/osumeja27/32/24546_2.png) [@osumeja27](https://devforum.zoom.us/u/osumeja27)\
**Post date:** [October 13, 2021, 1:19pm UTC](https://devforum.zoom.us/t/android-app-crash-when-open-app/58390/8 "2021-10-13T13:19:52Z")

</div>

@shingshing6 Were you able to find solution for the bug above, for which you shared error log? I have very similar problem related to exoplayer

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [October 13, 2021, 6:04pm UTC](https://devforum.zoom.us/t/android-app-crash-when-open-app/58390/9 "2021-10-13T18:04:46Z")

</div>

Hi @shingshing6,

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`?

Thanks!

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [October 13, 2021, 6:06pm UTC](https://devforum.zoom.us/t/android-app-crash-when-open-app/58390/10 "2021-10-13T18:06:52Z")

</div>

Hi @osumeja27,

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](https://stackoverflow.com/) or a similar alternative. 🙂

Thanks!

---

<div class="post-metadata">

**Author:** ![shingshing6](https://avatars.discourse-cdn.com/v4/letter/s/f4b2a3/32.png) [@shingshing6](https://devforum.zoom.us/u/shingshing6)\
**Post date:** [October 15, 2021, 1:40am UTC](https://devforum.zoom.us/t/android-app-crash-when-open-app/58390/11 "2021-10-15T01:40:36Z")

</div>

hi @jon.zoom

Yes, i have renamed it before. However, it is the same case if i use the default name of the SDK. Any suggestions?

Thanks.

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [October 15, 2021, 8:53pm UTC](https://devforum.zoom.us/t/android-app-crash-when-open-app/58390/12 "2021-10-15T20:53:53Z")

</div>

Hi @shingshing6,

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!

---

<div class="post-metadata">

**Author:** ![shingshing6](https://avatars.discourse-cdn.com/v4/letter/s/f4b2a3/32.png) [@shingshing6](https://devforum.zoom.us/u/shingshing6)\
**Post date:** [October 18, 2021, 3:22am UTC](https://devforum.zoom.us/t/android-app-crash-when-open-app/58390/13 "2021-10-18T03:22:05Z")

</div>

Hi @jon.zoom

Yes. I am sure i have added both of them when integration them into my project.

Thanks

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [October 18, 2021, 6:24pm UTC](https://devforum.zoom.us/t/android-app-crash-when-open-app/58390/14 "2021-10-18T18:24:12Z")

</div>

Hi @shingshing6,

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?

Thanks!

---

<div class="post-metadata">

**Author:** ![shingshing6](https://avatars.discourse-cdn.com/v4/letter/s/f4b2a3/32.png) [@shingshing6](https://devforum.zoom.us/u/shingshing6)\
**Post date:** [October 19, 2021, 1:39am UTC](https://devforum.zoom.us/t/android-app-crash-when-open-app/58390/15 "2021-10-19T01:39:23Z")

</div>

Hi @jon.zoom

The mobilertc/build.gradle as below:

> configurations.maybeCreate(“default”)  
> artifacts.add(“default”, file(‘mobilertc.aar’))

While in app/build.gradle i put this

> implementation ‘androidx.security:security-crypto:1.1.0-alpha02’  
> implementation ‘com.google.crypto.tink:tink-android:1.5.0’  
> implementation ‘com.google.android.exoplayer:exoplayer-core:2.11.4’  
> implementation ‘com.google.android.exoplayer:exoplayer-ui:2.11.4’  
> implementation ‘androidx.swiperefreshlayout:swiperefreshlayout:1.0.0’
> 
> implementation ‘com.google.android:flexbox:2.0.1’  
> implementation ‘androidx.multidex:multidex:2.0.0’  
> implementation ‘com.google.code.gson:gson:2.8.1’  
> implementation ‘com.github.bumptech.glide:annotations:4.12.0’  
> implementation ‘com.github.bumptech.glide:glide:4.12.0’

> implementation ‘androidx.recyclerview:recyclerview:1.0.0’  
> implementation ‘androidx.appcompat:appcompat:1.3.0’  
> implementation ‘androidx.constraintlayout:constraintlayout:2.0.4’  
> implementation ‘com.google.android.material:material:1.4.0’

Some versions are changed due to my project need.

Thanks

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [October 19, 2021, 11:08pm UTC](https://devforum.zoom.us/t/android-app-crash-when-open-app/58390/16 "2021-10-19T23:08:42Z")

</div>

Hi @shingshing6,

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?

Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [November 19, 2021, 9:09am UTC](https://devforum.zoom.us/t/android-app-crash-when-open-app/58390/17 "2021-11-19T09:09:18Z")

</div>

Closed on November 19, 2021, 9:09am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
