# java.lang.RuntimeException: cannot find a ZPTipLayer width id: us.zoom.androidlib.R.id.tipLayer when running our build with dexguard

**URL:** <https://devforum.zoom.us/t/java-lang-runtimeexception-cannot-find-a-zptiplayer-width-id-us-zoom-androidlib-r-id-tiplayer-when-running-our-build-with-dexguard/33719>\
**Category:** Android\
**Created:** [October 19, 2020, 11:00pm UTC](https://devforum.zoom.us/t/java-lang-runtimeexception-cannot-find-a-zptiplayer-width-id-us-zoom-androidlib-r-id-tiplayer-when-running-our-build-with-dexguard/33719 "2020-10-19T23:00:07Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![richard.shea](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/richard.shea/32/9587_2.png) [@richard.shea](https://devforum.zoom.us/u/richard.shea)\
**Post date:** [October 19, 2020, 11:00pm UTC](https://devforum.zoom.us/t/java-lang-runtimeexception-cannot-find-a-zptiplayer-width-id-us-zoom-androidlib-r-id-tiplayer-when-running-our-build-with-dexguard/33719/1 "2020-10-19T23:00:08Z")

</div>

**Description**  
I got the java.lang.RuntimeException: cannot find a ZPTipLayer width id: us.zoom.androidlib.R.id.tipLayer when running our build with dexguard.

**Which version?**  
zoom-sdk-android-5.2.41727.0928

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

1. Join the Meeting.
2. Join with Video
3. Enter into Waiting room
4. Start to connect with the meeting after host admits the guest to join.
5. Meeting is closed while connecting.
6. After trying to join the meeting again, the message pops up from toast saying Zoom SDK is not initialized successfully. The log in the additional context.

**Screenshots**  
Since it’s a mp4 video, I cannot added it here.

**Smartphone (please complete the following information):**

- Device: Pixel 3
- OS: Android
- Version 29

**Additional context**  
I added the following class configuration in our proguard rule.  
-keep class us.zoom.**{\*;}  
-keep class com.zipow.**{_;}  
-keep class us.zipow.\*\*{_;}  
-keep class org.webrtc.**{\*;}  
-keep class us.google.protobuf.**{\*;

After running the release build with dexguard, the build got passed on the ZoomSDK.getInstance().initialize(…). But when I joined the meeting and connected with it, the zoom meeting window was closed.I tried to join again, the message pops up from toast saying Zoom SDK is not initialized successfully.

From logcat:  
2020-10-19 15:49:59.246 1426-1457/? W/ActivityTaskManager: Activity top resumed state loss timeout for ActivityRecord{d0209d6 u0 com.mindstrong/com.zipow.videobox.ConfActivityNormal t-1 f}  
2020-10-19 16:09:59.664 1426-8498/? I/ActivityTaskManager: START u0 {act=android.intent.action.VIEW cat=[android.intent.category.BROWSABLE] dat=zoomus://zoom.us/join?confno=4365185651&uname=Zoom+Sample&show\_water\_mark=1&no\_invite=1&no\_meeting\_end\_message=1&no\_dial\_in\_via\_phone=1&no\_dial\_out\_to\_phone=1&no\_share=1&meeting\_views\_options=0&invite\_options=255&zc=0 flg=0x10000000 cmp=com.mindstrong/com.zipow.videobox.JoinByURLActivity} from uid 10857  
2020-10-19 16:09:59.980 1426-8591/? I/ActivityTaskManager: START u0 {act=com.zipow.videobox.ConfActivity.action.JOIN\_BY\_URL cmp=com.mindstrong/com.zipow.videobox.ConfActivityNormal (has extras)} from uid 10857  
2020-10-19 16:10:00.159 1426-2119/? W/ActivityTaskManager: Duplicate finish request for ActivityRecord{2b19dcc u0 com.mindstrong/com.zipow.videobox.JoinByURLActivity t7841 f}  
2020-10-19 16:10:07.883 1426-8591/? I/ActivityTaskManager: START u0 {act=com.zipow.videobox.MeetingEndMessageActivity.action.ACTION\_SHOW\_LEAVING\_MESSAGE flg=0x58800000 cmp=com.mindstrong/com.zipow.videobox.MeetingEndMessageActivity (has extras)} from uid 10857  
2020-10-19 16:10:08.366 1426-1457/? W/ActivityTaskManager: Activity pause timeout for ActivityRecord{2275b3d u0 com.mindstrong/com.zipow.videobox.ConfActivityNormal t7841 f}  
2020-10-19 16:10:10.130 1426-1447/? I/ActivityTaskManager: START u0 {flg=0x10020000 cmp=com.mindstrong/com.zipow.videobox.ConfActivityNormal} from uid 10857  
2020-10-19 16:10:10.242 1426-1447/? W/ActivityTaskManager: Duplicate finish request for ActivityRecord{c549016 u0 com.mindstrong/com.zipow.videobox.MeetingEndMessageActivity t7841 f}  
2020-10-19 16:10:13.001 5918-5918/? E/AndroidRuntime: FATAL EXCEPTION: main  
Process: com.mindstrong, PID: 5918  
java.lang.RuntimeException: cannot find a ZPTipLayer width id: us.zoom.androidlib.R.id.tipLayer  
at us.zoom.androidlib.app.ZMTipFragment.performResume(:112)  
at us.zoom.androidlib.app.ZMTipFragment.onResume(:101)  
at com.zipow.videobox.view.d.onResume(:160)  
at androidx.fragment.app.Fragment.performResume(:2649)  
at o.setSupportButtonTintMode.write(:922)  
at o.setSupportButtonTintMode.MediaBrowserCompat$ItemReceiver(:1238)  
at o.setSupportButtonTintMode.read(:1303)  
at o.getAutoSizeTextAvailableSizes.read(:439)  
at o.setSupportButtonTintMode.MediaBrowserCompat$CustomActionResultReceiver(:2079)  
at o.setSupportButtonTintMode.write(:1869)  
at o.setSupportButtonTintMode.IconCompatParcelizer(:1824)  
at o.setSupportButtonTintMode.RatingCompat(:1727)  
at o.setSupportButtonTintMode$5.run(:150)  
at android.os.Handler.handleCallback(Handler.java:883)  
at android.os.Handler.dispatchMessage(Handler.java:100)  
at android.os.Looper.loop(Looper.java:214)  
at android.app.ActivityThread.main(ActivityThread.java:7356)  
at java.lang.reflect.Method.invoke(Native Method)  
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)  
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)  
2020-10-19 16:10:13.157 1426-2119/? W/ActivityTaskManager: Force finishing activity com.mindstrong/com.zipow.videobox.ConfActivityNormal  
2020-10-19 16:10:13.222 1426-1799/? W/InputDispatcher: channel ‘ec4c6e6 com.mindstrong/com.zipow.videobox.ConfActivityNormal (server)’ ~ Consumer closed input channel or an error occurred. events=0x9  
2020-10-19 16:10:13.222 1426-1799/? E/InputDispatcher: channel ‘ec4c6e6 com.mindstrong/com.zipow.videobox.ConfActivityNormal (server)’ ~ Channel is unrecoverably broken and will be disposed!  
2020-10-19 16:10:13.268 1426-8499/? I/WindowManager: WIN DEATH: Window{ec4c6e6 u0 com.mindstrong/com.zipow.videobox.ConfActivityNormal}  
2020-10-19 16:10:13.268 1426-8499/? W/InputDispatcher: Attempted to unregister already unregistered input channel ‘ec4c6e6 com.mindstrong/com.zipow.videobox.ConfActivityNormal (server)’  
2020-10-19 16:10:13.303 670-697/? E/BufferQueueProducer: [SurfaceView - com.mindstrong/com.zipow.videobox.ConfActivityNormal#0] cancelBuffer: BufferQueue has been abandoned  
2020-10-19 16:10:13.316 670-697/? E/BufferQueueProducer: [SurfaceView - com.mindstrong/com.zipow.videobox.ConfActivityNormal#0] dequeueBuffer: BufferQueue has been abandoned  
2020-10-19 16:10:13.337 670-697/? E/BufferQueueProducer: [SurfaceView - com.mindstrong/com.zipow.videobox.ConfActivityNormal#0] cancelBuffer: BufferQueue has been abandoned  
2020-10-19 16:10:13.668 1426-1457/? W/ActivityTaskManager: Activity top resumed state loss timeout for ActivityRecord{f05475e u0 com.mindstrong/com.zipow.videobox.ConfActivityNormal t-1 f}

---

<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 20, 2020, 4:48pm UTC](https://devforum.zoom.us/t/java-lang-runtimeexception-cannot-find-a-zptiplayer-width-id-us-zoom-androidlib-r-id-tiplayer-when-running-our-build-with-dexguard/33719/2 "2020-10-20T16:48:11Z")

</div>

Hi @richard.shea, thanks for using the devforum.

Sorry to hear you’re running into this issue. Can you please provide some code snippets showing how you are using the SDK to join the meeting and confirm that you have both the `mobilertc` and `commonlib` modules imported into your project?

Additionally, since DexGuard is a paid product that we do not have access to, the level of support we can offer in resolving this will be limited. If possible, reproducing the behavior you are seeing through proguard would be extremely helpful in enabling us to investigate on our end.

Thanks!

---

<div class="post-metadata">

**Author:** ![richard.shea](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/richard.shea/32/9587_2.png) [@richard.shea](https://devforum.zoom.us/u/richard.shea)\
**Post date:** [October 20, 2020, 6:35pm UTC](https://devforum.zoom.us/t/java-lang-runtimeexception-cannot-find-a-zptiplayer-width-id-us-zoom-androidlib-r-id-tiplayer-when-running-our-build-with-dexguard/33719/3 "2020-10-20T18:35:52Z")

</div>

Hi @jon.zoom, thanks for your quick response.

I have confirmed that we use the mobilertc and `commonlib` modules from zoom-sdk-android-5.2.41727.0928. The Zoom SDK is initialized successfully and I can join the meeting in the debugging build but not in the release build, Here is code snippet.

BTW, I have another two questions:  
1). how can I get the overlay feature from your zoom sdk customized ui. Is this provided in the meeting options?  
2). how can I remove the “dial in” option from meeting options.

**Here is the code I do Zoom SDK initialization:**

```
private void initZoomSDK(Context appContext) {
    ZoomSDK sdk = ZoomSDK.getInstance();

    ZoomSDKInitParams params = new ZoomSDKInitParams();
    params.jwtToken = JobManager.apiKeys.zoomJWTToken(); //Retrieve your SDK key and enter it here
    params.domain = "zoom.us";
    params.enableLog = true;
    params.enableGenerateDump =true;
    params.logSize = 50;
    params.videoRawDataMemoryMode = ZoomSDKRawDataMemoryMode.ZoomSDKRawDataMemoryModeStack;

    // TODO: Add functionality to this listener (e.g. logs for debugging)
    ZoomSDKInitializeListener listener = new ZoomSDKInitializeListener() {
        /**
         * @param errorCode {@link us.zoom.sdk.ZoomError#ZOOM_ERROR_SUCCESS} if the SDK has been initialized successfully.
         */
        @Override
        public void onZoomSDKInitializeResult(int errorCode, int internalErrorCode) {
            Log.i(TAG, "onZoomSDKInitializeResult, errorCode=" + errorCode + ", internalErrorCode=" + internalErrorCode);
            if (errorCode != ZoomError.ZOOM_ERROR_SUCCESS) {
                Toast.makeText(ContextHelper.getAppContext(), "Failed to initialize Zoom SDK. Error: " + errorCode + ", internalErrorCode=" + internalErrorCode, Toast.LENGTH_LONG).show();
            } else {
                Toast.makeText(ContextHelper.getAppContext(), "Initialize Zoom SDK successfully.", Toast.LENGTH_LONG).show();
            }
        }

        @Override
        public void onZoomAuthIdentityExpired() {

        }
    };
    sdk.initialize(this, listener, params);
}

```

//\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
**Here is the code to start join a meeting:**

```
private void joinZoomMeeting() {
    ZoomSDK zoomSDK = ZoomSDK.getInstance();

    if(!zoomSDK.isInitialized()) {
        Toast.makeText(this, "ZoomSDK has not been initialized successfully", Toast.LENGTH_LONG).show();
        //InitAuthSDKHelper.getInstance().initSDK(this, this);
        return;
    }

    ZoomSDK.getInstance().getSmsService().enableZoomAuthRealNameMeetingUIShown(false);

```

// if (ZoomSDK.getInstance().getMeetingSettingsHelper().isCustomizedMeetingUIEnabled()) {  
// ZoomSDK.getInstance().getSmsService().enableZoomAuthRealNameMeetingUIShown(false);  
// } else {  
// ZoomSDK.getInstance().getSmsService().enableZoomAuthRealNameMeetingUIShown(true);  
// }

```
    JoinMeetingParams params = new JoinMeetingParams();
    params.meetingNo = "4365185651";
    params.displayName = "Zoom Sample";
    JoinMeetingOptions options=new JoinMeetingOptions();
    ZoomSDK.getInstance().getMeetingService().joinMeetingWithParams(this, params, ZoomMeetingUISettingHelper.getJoinMeetingOptions());
}

```

//\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*  
**Here is the meeting options I set for our app user:**

```
public static JoinMeetingOptions getJoinMeetingOptions() {
    JoinMeetingOptions opts = new JoinMeetingOptions();
    fillMeetingOption(opts);
    opts.no_audio = meetingOptions.no_audio;
    return opts;
}

private static MeetingOptions fillMeetingOption(MeetingOptions opts)
{
    opts.no_driving_mode = meetingOptions.no_driving_mode;
    opts.no_invite = true; //meetingOptions.no_invite;
    opts.no_meeting_end_message = true; //meetingOptions.no_meeting_end_message;
    opts.no_titlebar = meetingOptions.no_titlebar;
    opts.no_bottom_toolbar = meetingOptions.no_bottom_toolbar;
    opts.no_dial_in_via_phone = true; //meetingOptions.no_dial_in_via_phone;
    opts.no_dial_out_to_phone = true; //meetingOptions.no_dial_out_to_phone;
    opts.no_disconnect_audio = meetingOptions.no_disconnect_audio;
    opts.no_share = true; //meetingOptions.no_share;
    opts.invite_options = meetingOptions.invite_options;
    opts.no_video = meetingOptions.no_video;
    opts.meeting_views_options = meetingOptions.meeting_views_options;
    opts.no_meeting_error_message = meetingOptions.no_meeting_error_message;
    opts.participant_id = meetingOptions.participant_id;
    return opts;
}

```

Thanks  
Richard

---

<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 21, 2020, 6:28pm UTC](https://devforum.zoom.us/t/java-lang-runtimeexception-cannot-find-a-zptiplayer-width-id-us-zoom-androidlib-r-id-tiplayer-when-running-our-build-with-dexguard/33719/4 "2020-10-21T18:28:38Z")

</div>

Hi @richard.shea, thanks for providing the additional info.

Looking at the code, it seems like there shouldn’t be any issues with that piece of your implementation. If this issue persists and is not reproducible while using proguard, I would strongly encourage you to contact dexguard’s support.

> how can I get the overlay feature from your zoom sdk customized ui. Is this provided in the meeting options?

This is actually not part of the SDK’s functionality and is implemented in the sample app to exemplify what is possible with the customized UI. If you would like to implement this in your own UI, looking at the sample app’s implementation would be a good place to start. Unfortunately this is outside of the scope of the SDK, so we would not be able to assist with/support your implementation of this.

> how can I remove the “dial in” option from meeting options.

This is actually already being disabled in your code by the looks of it. ` opts.no_dial_in_via_phone = true;` is the line in which you are disabling this. Please note that if you choose to implement a customized UI, the meeting options will not have any effect as you are solely responsible for maintaining the customized UI.

Thanks!

---

<div class="post-metadata">

**Author:** ![richard.shea](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/richard.shea/32/9587_2.png) [@richard.shea](https://devforum.zoom.us/u/richard.shea)\
**Post date:** [October 22, 2020, 1:22am UTC](https://devforum.zoom.us/t/java-lang-runtimeexception-cannot-find-a-zptiplayer-width-id-us-zoom-androidlib-r-id-tiplayer-when-running-our-build-with-dexguard/33719/5 "2020-10-22T01:22:31Z")

</div>

Hi @jon.zoom

Thanks for your reply.

Since the Overlay does not come free from Zoom SDK on Android, I need to create our own custom UI. Here is another problem from sample app (not sample2). I can see shrink icon from top option bar. After tapping it, I could see the zoom meeting window overlaying on the top of the main activity. When I tapped the zoom meeting window again to resume the zoom meeting for full screen, the sample app is crashed. Is this a bug from sample app or SDK itself? Here is the crash log:

2020-10-21 16:56:36.128 1426-8159/? I/ActivityTaskManager: START u0 {act=android.intent.action.VIEW cat=[android.intent.category.BROWSABLE] dat=zoomus://zoom.us/join?confno=4365185651&uname=Zoom+Sample&show\_water\_mark=1&meeting\_views\_options=0&invite\_options=255&zc=0 flg=0x10000000 cmp=us.zoom.sdkexample/com.zipow.videobox.JoinByURLActivity} from uid 10858  
2020-10-21 16:56:36.451 1426-8156/? I/ActivityTaskManager: START u0 {act=com.zipow.videobox.ConfActivity.action.JOIN\_BY\_URL cmp=us.zoom.sdkexample/us.zoom.sdksample.inmeetingfunction.zoommeetingui.CustomZoomUIActivity (has extras)} from uid 10858  
2020-10-21 16:56:36.786 1426-8156/? W/ActivityTaskManager: Duplicate finish request for ActivityRecord{4fd99a5 u0 us.zoom.sdkexample/com.zipow.videobox.JoinByURLActivity t7892 f}  
2020-10-21 16:56:52.748 1426-8786/? I/ActivityTaskManager: START u0 {act=com.zipow.videobox.MeetingEndMessageActivity.action.ACTION\_SHOW\_LEAVING\_MESSAGE flg=0x58800000 cmp=us.zoom.sdkexample/com.zipow.videobox.MeetingEndMessageActivity (has extras)} from uid 10858  
2020-10-21 16:57:15.673 1426-8159/? I/ActivityTaskManager: START u0 {act=com.zipow.videobox.MeetingEndMessageActivity.action.ACTION\_SHOW\_LEAVING\_MESSAGE flg=0x58800000 cmp=us.zoom.sdkexample/com.zipow.videobox.MeetingEndMessageActivity (has extras)} from uid 10858  
2020-10-21 17:05:08.327 26621-26621/us.zoom.sdkexample A/zoom.sdkexampl: java\_vm\_ext.cc:570] at void com.zipow.videobox.confapp.SdkConfUIBridge.onConfSilentModeChangedNotification(boolean, java.util.List, boolean) (SdkConfUIBridge.java:440)  
2020-10-21 17:05:08.327 26621-26621/us.zoom.sdkexample A/zoom.sdkexampl: java\_vm\_ext.cc:570] at void com.zipow.videobox.ptapp.SdkConfInjectorMgr.onConfSilentModeChangedNotification(boolean, java.util.List, boolean) (SdkConfInjectorMgr.java:64)  
2020-10-21 17:05:08.327 26621-26621/us.zoom.sdkexample A/zoom.sdkexampl: java\_vm\_ext.cc:570] at void com.zipow.cmmlib.CmmTimer.callNativeTimerProc(long, com.zipow.cmmlib.CmmTimer) (CmmTimer.java:-2)  
2020-10-21 17:05:08.327 26621-26621/us.zoom.sdkexample A/zoom.sdkexampl: java\_vm\_ext.cc:570] at void com.zipow.cmmlib.CmmTimer.access$100(com.zipow.cmmlib.CmmTimer, long, com.zipow.cmmlib.CmmTimer) (CmmTimer.java:18)  
2020-10-21 17:05:08.327 26621-26621/us.zoom.sdkexample A/zoom.sdkexampl: java\_vm\_ext.cc:570] at void com.zipow.cmmlib.CmmTimer$1.run() (CmmTimer.java:33)  
2020-10-21 17:05:08.327 26621-26621/us.zoom.sdkexample A/zoom.sdkexampl: java\_vm\_ext.cc:570] from void com.zipow.cmmlib.CmmTimer.callNativeTimerProc(long, com.zipow.cmmlib.CmmTimer)  
2020-10-21 17:05:08.504 26621-26621/us.zoom.sdkexample A/zoom.sdkexampl: runtime.cc:630] native: #33 pc 0000000000028c30 /data/app/us.zoom.sdkexample-MzrAGRzdm5-jSaUwodOgmA==/lib/arm64/libcmmlib.so (Java\_com\_zipow\_cmmlib\_CmmTimer\_callNativeTimerProc+36)  
2020-10-21 17:05:08.504 26621-26621/us.zoom.sdkexample A/zoom.sdkexampl: runtime.cc:630] at com.zipow.cmmlib.CmmTimer.callNativeTimerProc(Native method)  
2020-10-21 17:05:08.504 26621-26621/us.zoom.sdkexample A/zoom.sdkexampl: runtime.cc:630] at com.zipow.cmmlib.CmmTimer.access$100(CmmTimer.java:18)  
2020-10-21 17:05:08.504 26621-26621/us.zoom.sdkexample A/zoom.sdkexampl: runtime.cc:630] at com.zipow.cmmlib.CmmTimer$1.run(CmmTimer.java:33)  
2020-10-21 17:05:08.949 1426-1447/? W/ActivityManager: Scheduling restart of crashed service us.zoom.sdkexample/com.zipow.videobox.share.ScreenShareServiceForSDK in 1000ms  
2020-10-21 17:05:09.977 1426-1464/? I/ActivityManager: Start proc 2250:us.zoom.sdkexample/u0a858 for service {us.zoom.sdkexample/com.zipow.videobox.share.ScreenShareServiceForSDK}

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 22, 2020, 5:13pm UTC](https://devforum.zoom.us/t/java-lang-runtimeexception-cannot-find-a-zptiplayer-width-id-us-zoom-androidlib-r-id-tiplayer-when-running-our-build-with-dexguard/33719/6 "2020-10-22T17:13:59Z")

</div>

Hi @richard.shea,

I have not been able to reproduce the crash you are describing. The steps I took to reproduce are as follows:

- Join a meeting with custom UI enabled
- Press minimize button
- After meeting UI is minimized, return to the full meeting UI (I did this both by tapping the minimized UI and by using the return to meeting button)

Thanks!

---

<div class="post-metadata">

**Author:** ![richard.shea](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/richard.shea/32/9587_2.png) [@richard.shea](https://devforum.zoom.us/u/richard.shea)\
**Post date:** [October 22, 2020, 10:40pm UTC](https://devforum.zoom.us/t/java-lang-runtimeexception-cannot-find-a-zptiplayer-width-id-us-zoom-androidlib-r-id-tiplayer-when-running-our-build-with-dexguard/33719/7 "2020-10-22T22:40:03Z")

</div>

Hi @jon.zoom,

I don’t know why I still can reproduce it using the same steps you provided. Here is the log. It seems like it could not find the child to add the layout:  
2020-10-22 15:36:49.059 27791-27791/us.zoom.sdkexample E/AndroidRuntime: FATAL EXCEPTION: main  
Process: us.zoom.sdkexample, PID: 27791  
java.lang.RuntimeException: Unable to resume activity {us.zoom.sdkexample/us.zoom.sdksample.inmeetingfunction.customizedmeetingui.MyMeetingActivity}: java.lang.IllegalArgumentException: Cannot add a null child view to a ViewGroup  
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:4205)  
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:4237)  
at android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:52)  
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:2016)  
at android.os.Handler.dispatchMessage(Handler.java:107)  
at android.os.Looper.loop(Looper.java:214)  
at android.app.ActivityThread.main(ActivityThread.java:7356)  
at java.lang.reflect.Method.invoke(Native Method)  
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)  
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)  
Caused by: java.lang.IllegalArgumentException: Cannot add a null child view to a ViewGroup  
at android.view.ViewGroup.addView(ViewGroup.java:4910)  
at android.view.ViewGroup.addView(ViewGroup.java:4892)  
at us.zoom.sdksample.inmeetingfunction.customizedmeetingui.view.VideoListLayout.setVisibility(VideoListLayout.java:75)  
at us.zoom.sdksample.inmeetingfunction.customizedmeetingui.MyMeetingActivity.showVideoListLayout(MyMeetingActivity.java:545)  
at us.zoom.sdksample.inmeetingfunction.customizedmeetingui.MyMeetingActivity.addNewLayout(MyMeetingActivity.java:492)  
at us.zoom.sdksample.inmeetingfunction.customizedmeetingui.MyMeetingActivity.checkShowVideoLayout(MyMeetingActivity.java:390)  
at us.zoom.sdksample.inmeetingfunction.customizedmeetingui.MyMeetingActivity.onResume(MyMeetingActivity.java:635)  
at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1453)  
at android.app.Activity.performResume(Activity.java:7962)  
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:4195)  
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:4237)  
at android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:52)  
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:2016)  
at android.os.Handler.dispatchMessage(Handler.java:107)  
at android.os.Looper.loop(Looper.java:214)  
at android.app.ActivityThread.main(ActivityThread.java:7356)  
at java.lang.reflect.Method.invoke(Native Method)  
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)  
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)  
2020-10-22 15:36:49.080 27791-27791/us.zoom.sdkexample W/Settings: Setting android\_id has moved from android.provider.Settings.System to android.provider.Settings.Secure, returning read-only value.

Thanks!

---

<div class="post-metadata">

**Author:** ![richard.shea](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/richard.shea/32/9587_2.png) [@richard.shea](https://devforum.zoom.us/u/richard.shea)\
**Post date:** [October 27, 2020, 12:11am UTC](https://devforum.zoom.us/t/java-lang-runtimeexception-cannot-find-a-zptiplayer-width-id-us-zoom-androidlib-r-id-tiplayer-when-running-our-build-with-dexguard/33719/8 "2020-10-27T00:11:25Z")

</div>

Hi @jon.zoom,

It was nice to talk to you. After the meeting, I still can reproduce the issue of not being able to return to the zoom meeting screen after tap the “Return Meeting” button. I have shot a mp4 video. Since I don’t know your email address, I will send it to Anthony.

Thanks  
Richard

Here is the crash log with more details:  
2020-10-26 16:55:07.060 8177-8177/us.zoom.sdkexample I/zoom.sdkexampl: Late-enabling -Xcheck:jni  
2020-10-26 16:55:07.075 8177-8177/us.zoom.sdkexample E/zoom.sdkexampl: Unknown bits set in runtime\_flags: 0x8000  
2020-10-26 16:55:07.390 8177-8177/us.zoom.sdkexample I/MultiDex: VM with version 2.1.0 has multidex support  
2020-10-26 16:55:07.390 8177-8177/us.zoom.sdkexample I/MultiDex: Installing application  
2020-10-26 16:55:07.390 8177-8177/us.zoom.sdkexample I/MultiDex: VM has multidex support, MultiDex support library is disabled.  
2020-10-26 16:55:07.577 8177-8177/us.zoom.sdkexample D/[BreakpadHandler::BreakpadHandler]: initialized BreakpadHandler  
2020-10-26 16:55:07.577 8177-8177/us.zoom.sdkexample I/Mainboard: installNativeCrashHandler, res=0  
2020-10-26 16:55:07.640 8177-8196/us.zoom.sdkexample D/BluetoothHeadset: Proxy object connected  
2020-10-26 16:55:07.763 8177-8177/us.zoom.sdkexample W/Settings: Setting android\_id has moved from android.provider.Settings.System to android.provider.Settings.Secure, returning read-only value.  
2020-10-26 16:55:07.775 8177-8177/us.zoom.sdkexample I/ZoomSDK: setDomain, set Zoom domain as [zoom.us](http://zoom.us)  
2020-10-26 16:55:07.811 8177-8199/us.zoom.sdkexample I/AdrenoGLES: QUALCOMM build : ba734b1, I0a3e8c4129  
Build Date : 11/08/19  
OpenGL ES Shader Compiler Version: EV031.27.05.02  
Local Branch :  
Remote Branch : refs/tags/AU\_LINUX\_ANDROID\_LA.UM.7.8.9.C1.08.00.00.516.287  
Remote Branch : NONE  
Reconstruct Branch : NOTHING  
2020-10-26 16:55:07.811 8177-8199/us.zoom.sdkexample I/AdrenoGLES: Build Config : S P 8.0.11 AArch64  
2020-10-26 16:55:07.814 8177-8199/us.zoom.sdkexample I/AdrenoGLES: PFP: 0x016ee183, ME: 0x00000000  
2020-10-26 16:55:07.839 8177-8199/us.zoom.sdkexample W/Gralloc3: mapper 3.x is not supported  
2020-10-26 16:55:07.836 8177-8177/us.zoom.sdkexample W/RenderThread: type=1400 audit(0.0:1115257): avc: denied { read } for name=“u:object\_r:vendor\_default\_prop:s0” dev=“tmpfs” ino=20176 scontext=u:r:untrusted\_app:s0:c90,c259,c512,c768 tcontext=u:object\_r:vendor\_default\_prop:s0 tclass=file permissive=0  
2020-10-26 16:55:07.841 8177-8199/us.zoom.sdkexample E/libc: Access denied finding property “vendor.gralloc.disable\_ahardware\_buffer”  
2020-10-26 16:55:08.458 8177-8177/us.zoom.sdkexample I/InitAuthSDKHelper: onZoomSDKInitializeResult, errorCode=0, internalErrorCode=0  
2020-10-26 16:55:08.458 8177-8177/us.zoom.sdkexample I/ZoomSDKExample: onZoomSDKInitializeResult, errorCode=0, internalErrorCode=0  
2020-10-26 16:55:10.075 8177-8177/us.zoom.sdkexample I/MeetingService: joinMeetingWithParams: sUri=zoomus://zoom.us/join?confno=4365185651&uname=Zoom+Sample&show\_water\_mark=1&meeting\_views\_options=0&invite\_options=255&zc=0  
2020-10-26 16:55:10.079 8177-8177/us.zoom.sdkexample W/Settings: Setting android\_id has moved from android.provider.Settings.System to android.provider.Settings.Secure, returning read-only value.  
2020-10-26 16:55:10.413 8177-8177/us.zoom.sdkexample W/Settings: Setting android\_id has moved from android.provider.Settings.System to android.provider.Settings.Secure, returning read-only value.  
2020-10-26 16:55:10.846 8177-8177/us.zoom.sdkexample D/ZoomSDKExample: onMeetingStatusChanged MEETING\_STATUS\_CONNECTING:0  
2020-10-26 16:55:10.860 8177-8177/us.zoom.sdkexample W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@b88f47b  
2020-10-26 16:55:11.086 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: surfaceCreated group index =118355621  
2020-10-26 16:55:11.089 8177-8291/us.zoom.sdkexample I/MobileRTCVideoView: onGLSurfaceChanged group index =118355621, width=1080, height=2028  
2020-10-26 16:55:11.089 8177-8291/us.zoom.sdkexample I/MobileRTCVideoView: onGLSurfaceChanged group index =118355621, width=1080, height=2028  
2020-10-26 16:55:11.103 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: onGLSurfaceChanged: groupIndex = 118355621, width=1080, height=2028  
2020-10-26 16:55:11.109 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: startRender: group index = 118355621  
2020-10-26 16:55:11.456 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: onGLSurfaceChanged: groupIndex = 118355621, width=1080, height=2028  
2020-10-26 16:55:11.456 8177-8197/us.zoom.sdkexample W/Gralloc3: allocator 3.x is not supported  
2020-10-26 16:55:12.370 8177-8177/us.zoom.sdkexample W/AudioTrack: Use of stream types is deprecated for operations other than volume control  
2020-10-26 16:55:12.371 8177-8177/us.zoom.sdkexample W/AudioTrack: See the documentation of AudioTrack() for what to use instead with android.media.AudioAttributes to qualify your playback use case  
2020-10-26 16:55:12.443 8177-8177/us.zoom.sdkexample W/zoom.sdkexample: type=1400 audit(0.0:1115273): avc: denied { ioctl } for path=“socket:[13786837]” dev=“sockfs” ino=13786837 ioctlcmd=0x8927 scontext=u:r:untrusted\_app:s0:c90,c259,c512,c768 tcontext=u:r:untrusted\_app:s0:c90,c259,c512,c768 tclass=udp\_socket permissive=0  
2020-10-26 16:55:12.459 8177-8177/us.zoom.sdkexample W/AudioTrack: Use of stream types is deprecated for operations other than volume control  
2020-10-26 16:55:12.459 8177-8177/us.zoom.sdkexample W/AudioTrack: See the documentation of AudioTrack() for what to use instead with android.media.AudioAttributes to qualify your playback use case  
2020-10-26 16:55:15.457 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: onDestroy: group index = 118355621  
2020-10-26 16:55:15.509 8177-8177/us.zoom.sdkexample D/AudioTrack: stop(622): called with 136800 frames delivered  
2020-10-26 16:55:16.150 8177-8177/us.zoom.sdkexample I/Choreographer: Skipped 41 frames! The application may be doing too much work on its main thread.  
2020-10-26 16:55:16.167 8177-8199/us.zoom.sdkexample I/OpenGLRenderer: Davey! duration=715ms; Flags=1, IntendedVsync=783619691391275, Vsync=783620374724581, OldestInputEvent=9223372036854775807, NewestInputEvent=0, HandleInputStart=783620390862790, AnimationStart=783620390910602, PerformTraversalsStart=783620390914300, DrawStart=783620404661125, SyncQueued=783620405258885, SyncStart=783620405658833, IssueDrawCommandsStart=783620405740708, SwapBuffers=783620406468052, FrameCompleted=783620407058156, DequeueBufferDuration=170000, QueueBufferDuration=217000,  
2020-10-26 16:55:16.193 8177-8177/us.zoom.sdkexample W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@a3841ea  
2020-10-26 16:55:16.672 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: surfaceDestroyed group index =118355621  
2020-10-26 16:55:16.672 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: onDestroy: group index = 118355621  
2020-10-26 16:55:17.073 8177-8177/us.zoom.sdkexample W/Settings: Setting android\_id has moved from android.provider.Settings.System to android.provider.Settings.Secure, returning read-only value.  
2020-10-26 16:55:17.105 8177-8177/us.zoom.sdkexample D/ZoomSDKExample: onMeetingStatusChanged MEETING\_STATUS\_IDLE:0  
2020-10-26 16:55:17.549 8177-8177/us.zoom.sdkexample D/ZoomSDKExample: onMeetingStatusChanged MEETING\_STATUS\_CONNECTING:0  
2020-10-26 16:55:17.560 8177-8177/us.zoom.sdkexample W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@62ca9b5  
2020-10-26 16:55:17.664 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: surfaceCreated group index =239591851  
2020-10-26 16:55:17.667 8177-8483/us.zoom.sdkexample I/MobileRTCVideoView: onGLSurfaceChanged group index =239591851, width=1080, height=2028  
2020-10-26 16:55:17.667 8177-8483/us.zoom.sdkexample I/MobileRTCVideoView: onGLSurfaceChanged group index =239591851, width=1080, height=2028  
2020-10-26 16:55:17.686 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: onGLSurfaceChanged: groupIndex = 239591851, width=1080, height=2028  
2020-10-26 16:55:17.687 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: startRender: group index = 239591851  
2020-10-26 16:55:18.019 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: onGLSurfaceChanged: groupIndex = 239591851, width=1080, height=2028  
2020-10-26 16:55:18.048 8177-8177/us.zoom.sdkexample W/AudioTrack: Use of stream types is deprecated for operations other than volume control  
2020-10-26 16:55:18.048 8177-8177/us.zoom.sdkexample W/AudioTrack: See the documentation of AudioTrack() for what to use instead with android.media.AudioAttributes to qualify your playback use case  
2020-10-26 16:55:18.899 8177-8177/us.zoom.sdkexample I/Choreographer: Skipped 52 frames! The application may be doing too much work on its main thread.  
2020-10-26 16:55:18.934 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: surfaceCreated group index =251499381  
2020-10-26 16:55:18.936 8177-8588/us.zoom.sdkexample I/MobileRTCVideoView: onGLSurfaceChanged group index =251499381, width=254, height=254  
2020-10-26 16:55:18.936 8177-8588/us.zoom.sdkexample I/MobileRTCVideoView: onGLSurfaceChanged group index =251499381, width=254, height=254  
2020-10-26 16:55:18.937 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: surfaceCreated group index =146298264  
2020-10-26 16:55:18.938 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: surfaceCreated group index =191646807  
2020-10-26 16:55:18.941 8177-8590/us.zoom.sdkexample I/MobileRTCVideoView: onGLSurfaceChanged group index =146298264, width=254, height=254  
2020-10-26 16:55:18.941 8177-8590/us.zoom.sdkexample I/MobileRTCVideoView: onGLSurfaceChanged group index =146298264, width=254, height=254  
2020-10-26 16:55:18.941 8177-8594/us.zoom.sdkexample I/MobileRTCVideoView: onGLSurfaceChanged group index =191646807, width=254, height=254  
2020-10-26 16:55:18.942 8177-8594/us.zoom.sdkexample I/MobileRTCVideoView: onGLSurfaceChanged group index =191646807, width=254, height=254  
2020-10-26 16:55:18.945 8177-8199/us.zoom.sdkexample I/OpenGLRenderer: Davey! duration=923ms; Flags=1, IntendedVsync=783622260875764, Vsync=783623127542396, OldestInputEvent=9223372036854775807, NewestInputEvent=0, HandleInputStart=783623139947751, AnimationStart=783623140045668, PerformTraversalsStart=783623140352282, DrawStart=783623181638589, SyncQueued=783623182947287, SyncStart=783623183152808, IssueDrawCommandsStart=783623183311766, SwapBuffers=783623184470829, FrameCompleted=783623184971349, DequeueBufferDuration=307000, QueueBufferDuration=85000,  
2020-10-26 16:55:19.002 8177-8177/us.zoom.sdkexample W/AudioTrack: Use of stream types is deprecated for operations other than volume control  
2020-10-26 16:55:19.003 8177-8177/us.zoom.sdkexample W/AudioTrack: See the documentation of AudioTrack() for what to use instead with android.media.AudioAttributes to qualify your playback use case  
2020-10-26 16:55:19.197 8177-8177/us.zoom.sdkexample D/MeetingVideoCallback: onMeetingActiveVideo:16778240  
2020-10-26 16:55:19.197 8177-8177/us.zoom.sdkexample D/MeetingVideoCallback: onMeetingActiveVideo:16778240  
2020-10-26 16:55:19.208 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: onGLSurfaceChanged: groupIndex = 251499381, width=254, height=254  
2020-10-26 16:55:19.208 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: startRender: group index = 251499381  
2020-10-26 16:55:19.217 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: onGLSurfaceChanged: groupIndex = 251499381, width=254, height=254  
2020-10-26 16:55:19.218 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: onGLSurfaceChanged: groupIndex = 146298264, width=254, height=254  
2020-10-26 16:55:19.218 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: startRender: group index = 146298264  
2020-10-26 16:55:19.227 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: onGLSurfaceChanged: groupIndex = 146298264, width=254, height=254  
2020-10-26 16:55:19.228 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: onGLSurfaceChanged: groupIndex = 191646807, width=254, height=254  
2020-10-26 16:55:19.228 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: startRender: group index = 191646807  
2020-10-26 16:55:19.235 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: onGLSurfaceChanged: groupIndex = 191646807, width=254, height=254  
2020-10-26 16:55:19.243 8177-8177/us.zoom.sdkexample D/MeetingVideoCallback: onMeetingActiveVideo:16778240  
2020-10-26 16:55:19.243 8177-8177/us.zoom.sdkexample D/MeetingVideoCallback: onMeetingActiveVideo:16778240  
2020-10-26 16:55:19.254 8177-8177/us.zoom.sdkexample D/ZoomSDKExample: onMeetingStatusChanged MEETING\_STATUS\_INMEETING:0  
2020-10-26 16:55:24.025 8177-8177/us.zoom.sdkexample W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@a3841ea  
2020-10-26 16:55:24.109 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: surfaceCreated group index =11473723  
2020-10-26 16:55:24.112 8177-8747/us.zoom.sdkexample I/MobileRTCVideoView: onGLSurfaceChanged group index =11473723, width=330, height=495  
2020-10-26 16:55:24.112 8177-8747/us.zoom.sdkexample I/MobileRTCVideoView: onGLSurfaceChanged group index =11473723, width=330, height=495  
2020-10-26 16:55:24.158 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: onGLSurfaceChanged: groupIndex = 11473723, width=330, height=495  
2020-10-26 16:55:24.159 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: startRender: group index = 11473723  
2020-10-26 16:55:24.169 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: onGLSurfaceChanged: groupIndex = 11473723, width=330, height=495  
2020-10-26 16:55:24.260 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: surfaceDestroyed group index =191646807  
2020-10-26 16:55:24.261 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: onDestroy: group index = 191646807  
2020-10-26 16:55:24.263 8177-8594/us.zoom.sdkexample E/libEGL: call to OpenGL ES API with no current context (logged once per thread)  
2020-10-26 16:55:24.267 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: surfaceDestroyed group index =146298264  
2020-10-26 16:55:24.270 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: onDestroy: group index = 146298264  
2020-10-26 16:55:24.272 8177-8590/us.zoom.sdkexample E/libEGL: call to OpenGL ES API with no current context (logged once per thread)  
2020-10-26 16:55:24.277 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: surfaceDestroyed group index =251499381  
2020-10-26 16:55:24.278 8177-8177/us.zoom.sdkexample I/MobileRTCVideoView: onDestroy: group index = 251499381  
2020-10-26 16:55:24.280 8177-8588/us.zoom.sdkexample E/libEGL: call to OpenGL ES API with no current context (logged once per thread)  
2020-10-26 16:55:24.556 8177-8177/? I/MobileRTCVideoView: surfaceDestroyed group index =239591851  
2020-10-26 16:55:24.556 8177-8177/? I/MobileRTCVideoView: onDestroy: group index = 239591851  
2020-10-26 16:55:24.577 8177-8483/? E/libEGL: call to OpenGL ES API with no current context (logged once per thread)  
2020-10-26 16:55:27.305 8177-8177/? I/MobileRTCVideoView: surfaceDestroyed group index =11473723  
2020-10-26 16:55:27.306 8177-8177/? I/MobileRTCVideoView: onDestroy: group index = 11473723  
2020-10-26 16:55:27.316 8177-8177/? W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@62ca9b5  
2020-10-26 16:55:27.454 8177-8177/? D/AndroidRuntime: Shutting down VM  
2020-10-26 16:55:27.455 8177-8177/? E/AndroidRuntime: FATAL EXCEPTION: main  
Process: us.zoom.sdkexample, PID: 8177  
java.lang.RuntimeException: Unable to resume activity {us.zoom.sdkexample/us.zoom.sdksample.inmeetingfunction.customizedmeetingui.MyMeetingActivity}: java.lang.IllegalArgumentException: Cannot add a null child view to a ViewGroup  
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:4205)  
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:4237)  
at android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:52)  
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:2016)  
at android.os.Handler.dispatchMessage(Handler.java:107)  
at android.os.Looper.loop(Looper.java:214)  
at android.app.ActivityThread.main(ActivityThread.java:7356)  
at java.lang.reflect.Method.invoke(Native Method)  
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)  
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)  
Caused by: java.lang.IllegalArgumentException: Cannot add a null child view to a ViewGroup  
at android.view.ViewGroup.addView(ViewGroup.java:4910)  
at android.view.ViewGroup.addView(ViewGroup.java:4892)  
at us.zoom.sdksample.inmeetingfunction.customizedmeetingui.view.VideoListLayout.setVisibility(VideoListLayout.java:75)  
at us.zoom.sdksample.inmeetingfunction.customizedmeetingui.MyMeetingActivity.showVideoListLayout(MyMeetingActivity.java:545)  
at us.zoom.sdksample.inmeetingfunction.customizedmeetingui.MyMeetingActivity.addNewLayout(MyMeetingActivity.java:492)  
at us.zoom.sdksample.inmeetingfunction.customizedmeetingui.MyMeetingActivity.checkShowVideoLayout(MyMeetingActivity.java:390)  
at us.zoom.sdksample.inmeetingfunction.customizedmeetingui.MyMeetingActivity.onResume(MyMeetingActivity.java:635)  
at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1453)  
at android.app.Activity.performResume(Activity.java:7962)  
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:4195)  
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:4237)  
at android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:52)  
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:2016)  
at android.os.Handler.dispatchMessage(Handler.java:107)  
at android.os.Looper.loop(Looper.java:214)  
at android.app.ActivityThread.main(ActivityThread.java:7356)  
at java.lang.reflect.Method.invoke(Native Method)  
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)  
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)  
2020-10-26 16:55:27.490 8177-8177/? W/Settings: Setting android\_id has moved from android.provider.Settings.System to android.provider.Settings.Secure, returning read-only value.

---

<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 27, 2020, 10:19pm UTC](https://devforum.zoom.us/t/java-lang-runtimeexception-cannot-find-a-zptiplayer-width-id-us-zoom-androidlib-r-id-tiplayer-when-running-our-build-with-dexguard/33719/9 "2020-10-27T22:19:09Z")

</div>

Hi @richard.shea, thank you for the additional info.

After following the steps in your video, I was still not able to reproduce this. Regardless, I will forward this to our engineering team, since this seems like something that shouldn’t be too difficult to track down the cause of based on the logs.

Thanks!

---

<div class="post-metadata">

**Author:** ![richard.shea](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/richard.shea/32/9587_2.png) [@richard.shea](https://devforum.zoom.us/u/richard.shea)\
**Post date:** [October 27, 2020, 10:28pm UTC](https://devforum.zoom.us/t/java-lang-runtimeexception-cannot-find-a-zptiplayer-width-id-us-zoom-androidlib-r-id-tiplayer-when-running-our-build-with-dexguard/33719/10 "2020-10-27T22:28:39Z")

</div>

Hi @jon.zoom,

Did you receive the email I sent with video?

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 27, 2020, 11:16pm UTC](https://devforum.zoom.us/t/java-lang-runtimeexception-cannot-find-a-zptiplayer-width-id-us-zoom-androidlib-r-id-tiplayer-when-running-our-build-with-dexguard/33719/11 "2020-10-27T23:16:04Z")

</div>

Hi @richard.shea,

Yes I did receive the video explaining how you’re reproducing this issue. The engineering team has access to that video as well as the logs you provided. I’ll be sure to update you as soon as there is more information available. 🙂

Thanks!

---

<div class="post-metadata">

**Author:** ![richard.shea](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/richard.shea/32/9587_2.png) [@richard.shea](https://devforum.zoom.us/u/richard.shea)\
**Post date:** [October 27, 2020, 11:18pm UTC](https://devforum.zoom.us/t/java-lang-runtimeexception-cannot-find-a-zptiplayer-width-id-us-zoom-androidlib-r-id-tiplayer-when-running-our-build-with-dexguard/33719/12 "2020-10-27T23:18:00Z")

</div>

Hi @jon.zoom

Thank you so much! 👍

---

<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:** [November 17, 2020, 6:16pm UTC](https://devforum.zoom.us/t/java-lang-runtimeexception-cannot-find-a-zptiplayer-width-id-us-zoom-androidlib-r-id-tiplayer-when-running-our-build-with-dexguard/33719/13 "2020-11-17T18:16:15Z")

</div>

Hi @richard.shea, hope all is well.

We have released a new version of the Android SDK today. Can you please check if this issue is still reproducible on the latest version and let me know?

Thanks!

---

<div class="post-metadata">

**Author:** ![richard.shea](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/richard.shea/32/9587_2.png) [@richard.shea](https://devforum.zoom.us/u/richard.shea)\
**Post date:** [November 17, 2020, 7:09pm UTC](https://devforum.zoom.us/t/java-lang-runtimeexception-cannot-find-a-zptiplayer-width-id-us-zoom-androidlib-r-id-tiplayer-when-running-our-build-with-dexguard/33719/14 "2020-11-17T19:09:26Z")

</div>

Great News! I will try it right away. Thanks for letting me know. Will keep you posted.

👍

Regards  
Richard

---

<div class="post-metadata">

**Author:** ![richard.shea](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/richard.shea/32/9587_2.png) [@richard.shea](https://devforum.zoom.us/u/richard.shea)\
**Post date:** [December 17, 2020, 12:04am UTC](https://devforum.zoom.us/t/java-lang-runtimeexception-cannot-find-a-zptiplayer-width-id-us-zoom-androidlib-r-id-tiplayer-when-running-our-build-with-dexguard/33719/15 "2020-12-17T00:04:30Z")

</div>

Hi Jon,

Sorry, I have not got a chance to test it using new SDK. I will give you the feed back next week. Thanks!

Richard

---

<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:** [December 17, 2020, 6:42pm UTC](https://devforum.zoom.us/t/java-lang-runtimeexception-cannot-find-a-zptiplayer-width-id-us-zoom-androidlib-r-id-tiplayer-when-running-our-build-with-dexguard/33719/16 "2020-12-17T18:42:34Z")

</div>

Hi @richard.shea,

No worries on the delay! Please test this at your convenience and let me know once you have determined whether or not the issue is still present.

Thanks!

---

<div class="post-metadata">

**Author:** ![richard.shea](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/richard.shea/32/9587_2.png) [@richard.shea](https://devforum.zoom.us/u/richard.shea)\
**Post date:** [December 23, 2020, 1:19am UTC](https://devforum.zoom.us/t/java-lang-runtimeexception-cannot-find-a-zptiplayer-width-id-us-zoom-androidlib-r-id-tiplayer-when-running-our-build-with-dexguard/33719/17 "2020-12-23T01:19:22Z")

</div>

Hi @jon.zoom,

I wish you the best for this holiday season. 🙂

I have tested the latest version [v5.2.42043.1112](https://github.com/zoom/zoom-sdk-android/releases/tag/v5.2.42043.1112) to play with the overlay feature on zoom sample app. Unfortunately I still get the crash in the sample app. I will upload the video in the email for your reference.

Thanks  
Richard

\*\*\*\*\*\*Here is the crash log:

020-12-22 17:01:09.634 803-803/us.zoom.sdkexample I/zoom.sdkexampl: Late-enabling -Xcheck:jni  
2020-12-22 17:01:09.650 803-803/us.zoom.sdkexample E/zoom.sdkexampl: Unknown bits set in runtime\_flags: 0x8000  
2020-12-22 17:01:10.055 803-803/us.zoom.sdkexample I/MultiDex: VM with version 2.1.0 has multidex support  
2020-12-22 17:01:10.055 803-803/us.zoom.sdkexample I/MultiDex: Installing application  
2020-12-22 17:01:10.055 803-803/us.zoom.sdkexample I/MultiDex: VM has multidex support, MultiDex support library is disabled.  
2020-12-22 17:01:10.266 803-803/us.zoom.sdkexample D/[BreakpadHandler::BreakpadHandler]: initialized BreakpadHandler  
2020-12-22 17:01:10.322 803-864/us.zoom.sdkexample D/BluetoothHeadset: Proxy object connected  
2020-12-22 17:01:10.845 803-882/us.zoom.sdkexample I/AdrenoGLES: QUALCOMM build : ba734b1, I0a3e8c4129  
Build Date : 11/08/19  
OpenGL ES Shader Compiler Version: EV031.27.05.02  
Local Branch :  
Remote Branch : refs/tags/AU\_LINUX\_ANDROID\_LA.UM.7.8.9.C1.08.00.00.516.287  
Remote Branch : NONE  
Reconstruct Branch : NOTHING  
2020-12-22 17:01:10.845 803-882/us.zoom.sdkexample I/AdrenoGLES: Build Config : S P 8.0.11 AArch64  
2020-12-22 17:01:10.861 803-882/us.zoom.sdkexample I/AdrenoGLES: PFP: 0x016ee183, ME: 0x00000000  
2020-12-22 17:01:10.873 803-882/us.zoom.sdkexample W/Gralloc3: mapper 3.x is not supported  
2020-12-22 17:01:10.877 803-882/us.zoom.sdkexample E/libc: Access denied finding property “vendor.gralloc.disable\_ahardware\_buffer”  
2020-12-22 17:01:10.872 803-803/us.zoom.sdkexample W/RenderThread: type=1400 audit(0.0:650036): avc: denied { read } for name=“u:object\_r:vendor\_default\_prop:s0” dev=“tmpfs” ino=20082 scontext=u:r:untrusted\_app:s0:c194,c259,c512,c768 tcontext=u:object\_r:vendor\_default\_prop:s0 tclass=file permissive=0  
2020-12-22 17:01:11.391 803-803/us.zoom.sdkexample I/InitAuthSDKHelper: onZoomSDKInitializeResult, errorCode=0, internalErrorCode=0  
2020-12-22 17:01:11.391 803-803/us.zoom.sdkexample I/ZoomSDKExample: onZoomSDKInitializeResult, errorCode=0, internalErrorCode=0  
2020-12-22 17:01:14.370 803-803/us.zoom.sdkexample D/ZoomSDKExample: onMeetingStatusChanged MEETING\_STATUS\_CONNECTING:0:0  
2020-12-22 17:01:14.382 803-803/us.zoom.sdkexample W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@d9b6f37  
2020-12-22 17:01:15.023 803-864/us.zoom.sdkexample W/Gralloc3: allocator 3.x is not supported  
2020-12-22 17:01:15.656 803-803/us.zoom.sdkexample W/AudioTrack: Use of stream types is deprecated for operations other than volume control  
2020-12-22 17:01:15.656 803-803/us.zoom.sdkexample W/AudioTrack: See the documentation of AudioTrack() for what to use instead with android.media.AudioAttributes to qualify your playback use case  
2020-12-22 17:01:15.718 803-803/us.zoom.sdkexample W/AudioTrack: Use of stream types is deprecated for operations other than volume control  
2020-12-22 17:01:15.719 803-803/us.zoom.sdkexample W/AudioTrack: See the documentation of AudioTrack() for what to use instead with android.media.AudioAttributes to qualify your playback use case  
2020-12-22 17:01:18.976 803-803/us.zoom.sdkexample D/AudioTrack: stop(72): called with 145440 frames delivered  
2020-12-22 17:01:19.792 803-803/us.zoom.sdkexample W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@7b2f042  
2020-12-22 17:01:20.702 803-803/us.zoom.sdkexample D/ZoomSDKExample: onMeetingStatusChanged MEETING\_STATUS\_IDLE:0:0  
2020-12-22 17:01:21.188 803-803/us.zoom.sdkexample D/ZoomSDKExample: onMeetingStatusChanged MEETING\_STATUS\_CONNECTING:0:0  
2020-12-22 17:01:21.196 803-803/us.zoom.sdkexample W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@f348e1a  
2020-12-22 17:01:21.710 803-803/us.zoom.sdkexample W/AudioTrack: Use of stream types is deprecated for operations other than volume control  
2020-12-22 17:01:21.710 803-803/us.zoom.sdkexample W/AudioTrack: See the documentation of AudioTrack() for what to use instead with android.media.AudioAttributes to qualify your playback use case  
2020-12-22 17:01:22.659 803-803/us.zoom.sdkexample I/Choreographer: Skipped 58 frames! The application may be doing too much work on its main thread.  
2020-12-22 17:01:22.672 803-803/us.zoom.sdkexample W/zoom.sdkexampl: Accessing hidden field Landroid/view/View;-\>mAccessibilityDelegate:Landroid/view/View$AccessibilityDelegate; (greylist, reflection, allowed)  
2020-12-22 17:01:22.707 803-882/us.zoom.sdkexample I/OpenGLRenderer: Davey! duration=1018ms; Flags=1, IntendedVsync=450099389074121, Vsync=450100355740749, OldestInputEvent=9223372036854775807, NewestInputEvent=0, HandleInputStart=450100360223901, AnimationStart=450100360273120, PerformTraversalsStart=450100360277964, DrawStart=450100404116302, SyncQueued=450100405299166, SyncStart=450100405448541, IssueDrawCommandsStart=450100405584583, SwapBuffers=450100407139531, FrameCompleted=450100407621875, DequeueBufferDuration=271000, QueueBufferDuration=102000,  
2020-12-22 17:01:22.739 803-803/us.zoom.sdkexample W/zoom.sdkexample: type=1400 audit(0.0:650056): avc: denied { ioctl } for path=“socket:[10713224]” dev=“sockfs” ino=10713224 ioctlcmd=0x8927 scontext=u:r:untrusted\_app:s0:c194,c259,c512,c768 tcontext=u:r:untrusted\_app:s0:c194,c259,c512,c768 tclass=udp\_socket permissive=0  
2020-12-22 17:01:22.752 803-803/us.zoom.sdkexample W/AudioTrack: Use of stream types is deprecated for operations other than volume control  
2020-12-22 17:01:22.752 803-803/us.zoom.sdkexample W/AudioTrack: See the documentation of AudioTrack() for what to use instead with android.media.AudioAttributes to qualify your playback use case  
2020-12-22 17:01:22.940 803-803/us.zoom.sdkexample D/MeetingVideoCallback: onMeetingActiveVideo:16778240  
2020-12-22 17:01:22.940 803-803/us.zoom.sdkexample D/MeetingVideoCallback: onMeetingActiveVideo:16778240  
2020-12-22 17:01:22.980 803-803/us.zoom.sdkexample D/MeetingVideoCallback: onMeetingActiveVideo:16778240  
2020-12-22 17:01:22.981 803-803/us.zoom.sdkexample D/MeetingVideoCallback: onMeetingActiveVideo:16778240  
2020-12-22 17:01:22.992 803-803/us.zoom.sdkexample D/ZoomSDKExample: onMeetingStatusChanged MEETING\_STATUS\_INMEETING:0:0  
2020-12-22 17:01:29.209 803-803/us.zoom.sdkexample W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@7b2f042  
2020-12-22 17:01:29.472 803-1631/us.zoom.sdkexample E/libEGL: call to OpenGL ES API with no current context (logged once per thread)  
2020-12-22 17:01:29.479 803-1629/us.zoom.sdkexample E/libEGL: call to OpenGL ES API with no current context (logged once per thread)  
2020-12-22 17:01:29.760 803-1495/us.zoom.sdkexample E/libEGL: call to OpenGL ES API with no current context (logged once per thread)  
2020-12-22 17:01:30.870 803-803/us.zoom.sdkexample W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@f348e1a  
2020-12-22 17:01:30.999 803-803/us.zoom.sdkexample D/AndroidRuntime: Shutting down VM  
2020-12-22 17:01:31.000 803-803/us.zoom.sdkexample E/AndroidRuntime: FATAL EXCEPTION: main  
Process: us.zoom.sdkexample, PID: 803  
java.lang.RuntimeException: Unable to resume activity {us.zoom.sdkexample/us.zoom.sdksample.inmeetingfunction.customizedmeetingui.MyMeetingActivity}: java.lang.IllegalArgumentException: Cannot add a null child view to a ViewGroup  
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:4205)  
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:4237)  
at android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:52)  
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:2016)  
at android.os.Handler.dispatchMessage(Handler.java:107)  
at android.os.Looper.loop(Looper.java:214)  
at android.app.ActivityThread.main(ActivityThread.java:7356)  
at java.lang.reflect.Method.invoke(Native Method)  
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)  
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)  
Caused by: java.lang.IllegalArgumentException: Cannot add a null child view to a ViewGroup  
at android.view.ViewGroup.addView(ViewGroup.java:4910)  
at android.view.ViewGroup.addView(ViewGroup.java:4892)  
at us.zoom.sdksample.inmeetingfunction.customizedmeetingui.view.VideoListLayout.setVisibility(VideoListLayout.java:70)  
at us.zoom.sdksample.inmeetingfunction.customizedmeetingui.MyMeetingActivity.showVideoListLayout(MyMeetingActivity.java:561)  
at us.zoom.sdksample.inmeetingfunction.customizedmeetingui.MyMeetingActivity.addNewLayout(MyMeetingActivity.java:508)  
at us.zoom.sdksample.inmeetingfunction.customizedmeetingui.MyMeetingActivity.checkShowVideoLayout(MyMeetingActivity.java:406)  
at us.zoom.sdksample.inmeetingfunction.customizedmeetingui.MyMeetingActivity.onResume(MyMeetingActivity.java:654)  
at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1453)  
at android.app.Activity.performResume(Activity.java:7962)  
at android.app.ActivityThread.performResumeActivity(ActivityThread.java:4195)  
at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:4237)  
at android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:52)  
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:2016)  
at android.os.Handler.dispatchMessage(Handler.java:107)  
at android.os.Looper.loop(Looper.java:214)  
at android.app.ActivityThread.main(ActivityThread.java:7356)  
at java.lang.reflect.Method.invoke(Native Method)  
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)  
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)

---

<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:** [December 23, 2020, 7:20pm UTC](https://devforum.zoom.us/t/java-lang-runtimeexception-cannot-find-a-zptiplayer-width-id-us-zoom-androidlib-r-id-tiplayer-when-running-our-build-with-dexguard/33719/18 "2020-12-23T19:20:49Z")

</div>

Hi @richard.shea,

Thanks for the holiday wishes, I hope all is well!

In a recent release, we have added the minimization feature to the default meeting UI. This can be enabled by calling [`enableMinimizeMeeting`](https://marketplacefront.zoom.us/sdk/meeting/android/us/zoom/sdk/ZoomUIService.html#enableMinimizeMeeting-boolean-) like so:

```auto
ZoomSDK.getInstance().getZoomUIService().enableMinimizeMeeting(true);

```

Does this feature work for your use case?

Thanks!

---

<div class="post-metadata">

**Author:** ![richard.shea](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/richard.shea/32/9587_2.png) [@richard.shea](https://devforum.zoom.us/u/richard.shea)\
**Post date:** [December 23, 2020, 8:18pm UTC](https://devforum.zoom.us/t/java-lang-runtimeexception-cannot-find-a-zptiplayer-width-id-us-zoom-androidlib-r-id-tiplayer-when-running-our-build-with-dexguard/33719/19 "2020-12-23T20:18:39Z")

</div>

Hi @jon.zoom,

That is an awesome news. I will try it today using the latest SDK version. Will keep you posted.

Thanks  
Richard

---

<div class="post-metadata">

**Author:** ![richard.shea](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/richard.shea/32/9587_2.png) [@richard.shea](https://devforum.zoom.us/u/richard.shea)\
**Post date:** [December 23, 2020, 8:57pm UTC](https://devforum.zoom.us/t/java-lang-runtimeexception-cannot-find-a-zptiplayer-width-id-us-zoom-androidlib-r-id-tiplayer-when-running-our-build-with-dexguard/33719/20 "2020-12-23T20:57:32Z")

</div>

Hi @jon.zoom,

Thanks for your information! I did see the meeting is minimized as a small window and overlay on the other app or Android home screen. But how can I make it overlay in our own app and let our users to browse the content in our app? Currently it will not overlay on our app.

Best  
Richard

[Next page](https://devforum.zoom.us/t/java-lang-runtimeexception-cannot-find-a-zptiplayer-width-id-us-zoom-androidlib-r-id-tiplayer-when-running-our-build-with-dexguard/33719.md?page=2)
