# Android app crash on participants list close

**URL:** <https://devforum.zoom.us/t/android-app-crash-on-participants-list-close/10587>\
**Category:** Android\
**Created:** [April 2, 2020, 6:49am UTC](https://devforum.zoom.us/t/android-app-crash-on-participants-list-close/10587 "2020-04-02T06:49:29Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jaiprakash](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jaiprakash/32/4698_2.png) [@jaiprakash](https://devforum.zoom.us/u/jaiprakash)\
**Post date:** [April 2, 2020, 6:49am UTC](https://devforum.zoom.us/t/android-app-crash-on-participants-list-close/10587/1 "2020-04-02T06:49:30Z")

</div>

**Description**  
Hello Team,

We are working on react-native app. The iOS app is working fine but in the Android app, we are facing app crash when we click on close participants list in the meeting.

**Here is the error response we are getting**  
Unable to stop activity {Myapp/com.zipow.videobox.ConfActivityNormal}: java.lang.ILLegalArgumentException: attempt to remove OnFrameMetricsAvailableListener that was never added

**Which version?**  
Android version - 28  
Zoom version - v4.6.15084.0206

**To Reproduce(If applicable)**  
Steps to reproduce the behavior:

1. Go to zoom video
2. Click on participants
3. close participants list
4. app crashed

**Screenshots**  
error related screenshots to help

 ![ezgif.com-video-to-gif](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/c/c874c83dafc10681fe914636e8fb69674be0ead7.gif)

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [April 3, 2020, 4:43am UTC](https://devforum.zoom.us/t/android-app-crash-on-participants-list-close/10587/2 "2020-04-03T04:43:04Z")

</div>

Hi [jaiprakash](https://devforum.zoom.us/u/jaiprakash),

Thanks for using Zoom SDK. Our SDK does not support React Native so we could not guarantee the SDK would work with React Native.

I tried to reproduce the issue you are mentioning with our Android demo app([https://github.com/zoom/zoom-sdk-android](https://github.com/zoom/zoom-sdk-android)) but I did not encounter any issues. Could you have a try with our demo app and see if you could reproduce this issue? If yes, please let us know the steps to reproduce. In the meantime, it would be very helpful if you could provide the SDK log for us to further investigate.

Thanks!

---

<div class="post-metadata">

**Author:** ![schoollog](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/schoollog/32/8426_2.png) [@schoollog](https://devforum.zoom.us/u/schoollog)\
**Post date:** [May 14, 2020, 5:08am UTC](https://devforum.zoom.us/t/android-app-crash-on-participants-list-close/10587/3 "2020-05-14T05:08:50Z")

</div>

FATAL EXCEPTION: main  
Process: base, PID: 4714  
java.lang.RuntimeException: Unable to stop activity {in.schoollog.testseries.base/com.zipow.videobox.ConfActivityNormal}: java.lang.IllegalArgumentException: attempt to remove OnFrameMetricsAvailableListener that was never added  
at android.app.ActivityThread.callActivityOnStop(ActivityThread.java:4741)  
at android.app.ActivityThread.performStopActivityInner(ActivityThread.java:4711)  
at android.app.ActivityThread.handleStopActivity(ActivityThread.java:4786)  
at android.app.servertransaction.StopActivityItem.execute(StopActivityItem.java:41)  
at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:176)  
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)  
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2109)  
at android.os.Handler.dispatchMessage(Handler.java:107)  
at android.os.Looper.loop(Looper.java:214)  
at android.app.ActivityThread.main(ActivityThread.java:7682)  
at java.lang.reflect.Method.invoke(Native Method)  
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:516)  
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)  
Caused by: java.lang.IllegalArgumentException: attempt to remove OnFrameMetricsAvailableListener that was never added  
at android.view.View.removeFrameMetricsListener(View.java:7098)  
at android.view.Window.removeOnFrameMetricsAvailableListener(Window.java:898)  
at androidx.core.app.FrameMetricsAggregator$FrameMetricsApi24Impl.remove(FrameMetricsAggregator.java:433)  
at androidx.core.app.FrameMetricsAggregator.remove(FrameMetricsAggregator.java:243)  
at com.google.firebase.perf.internal.zza.onActivityStopped(Unknown Source:64)  
at android.app.Application.dispatchActivityStopped(Application.java:530)  
at android.app.Activity.dispatchActivityStopped(Activity.java:1331)  
at android.app.Activity.onStop(Activity.java:2459)  
at androidx.fragment.app.FragmentActivity.onStop(FragmentActivity.java:559)  
at us.zoom.androidlib.app.ZMActivity.onStop(ZMActivity.java:666)  
at com.zipow.videobox.ConfActivityNormal.onStop(ConfActivityNormal.java:1222)  
at android.app.Instrumentation.callActivityOnStop(Instrumentation.java:1591)  
at android.app.Activity.performStop(Activity.java:8031)  
at android.app.ActivityThread.callActivityOnStop(ActivityThread.java:4733)  
… 12 more

I am facing the same issue. here is the log.  
sdk version : v4.6.21666.0429

- react-native
- compileSdkVersion = 29
- targetSdkVersion = 29

it happens when switching participants or app goes in background. Help me solve this issue. Thanks

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [May 29, 2020, 6:02am UTC](https://devforum.zoom.us/t/android-app-crash-on-participants-list-close/10587/4 "2020-05-29T06:02:14Z")

</div>

Hi @schoollog,

Thanks for the reply. Based on the error message, this is caused by the hardware acceleration has been disabled. You may enable the hardware acceleration like the following:

```auto
   <activity
            tools:replace="android:configChanges"
            android:name="com.zipow.videobox.ConfActivityNormal"
            android:configChanges="orientation|screenSize|smallestScreenSize|layoutDirection|screenLayout|keyboardHidden|uiMode|colorMode"
            android:hardwareAccelerated="true"
            android:theme="@style/ZMTheme.SubWindow" />

```

Hope this helps. Thanks!

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 9:36pm UTC](https://devforum.zoom.us/t/android-app-crash-on-participants-list-close/10587/5 "2020-08-21T21:36:23Z")

</div>

Closed on August 21, 2020, 9:36pm UTC


