Error inflating class us.zoom.sdk.MobileRTCShareView

Description
I am using the old version well (5.2.41727.0928)
If the latest version(5.4.3.603) is applied, the following error occurs.
I just replaced commonlib.aar and mobilcrtc.aar.

Error inflating class us.zoom.sdk.MobileRTCShareView

Which version?
Zoom Android SDK (5.4.3.603)

Smartphone (please complete the following information):

  • Device: Samsung SM-T380 (All Devices)
  • OS: Android 9, 20
  • Version 28, 29

Additional context

2021-01-19 17:31:52.945 8023-8023/com.test.sensei E/tteacher.sense: No implementation found for long com.zipow.annotate.AnnoContentRender.nativeInit() (tried Java_com_zipow_annotate_AnnoContentRender_nativeInit and Java_com_zipow_annotate_AnnoContentRender_nativeInit__)
2021-01-19 17:31:52.947 8023-8023/com.test.sensei D/AndroidRuntime: Shutting down VM

--------- beginning of crash

2021-01-19 17:31:52.949 8023-8023/com.test.sensei E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.test.sensei, PID: 8023
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.test.sensei/us.zoom.sdksample.tomo.ActivityTomoClassRoom}: android.view.InflateException: Binary XML file line #223 in com.test.sensei:layout/tomo_activity_class_room: Binary XML file line #223 in com.test.sensei:layout/tomo_activity_class_room: Error inflating class us.zoom.sdk.MobileRTCShareView
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3623)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3775)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:83)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2261)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:237)
at android.app.ActivityThread.main(ActivityThread.java:8107)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:496)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1100)
Caused by: android.view.InflateException: Binary XML file line #223 in com.test.sensei:layout/tomo_activity_class_room: Binary XML file line #223 in com.test.sensei:layout/tomo_activity_class_room: Error inflating class us.zoom.sdk.MobileRTCShareView
Caused by: android.view.InflateException: Binary XML file line #223 in com.test.sensei:layout/tomo_activity_class_room: Error inflating class us.zoom.sdk.MobileRTCShareView
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.newInstance0(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
at android.view.LayoutInflater.createView(LayoutInflater.java:854)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:1006)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:961)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:1123)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1084)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:1126)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1084)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:1126)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1084)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:1126)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1084)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:1126)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1084)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:1126)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1084)
at android.view.LayoutInflater.inflate(LayoutInflater.java:682)
at android.view.LayoutInflater.inflate(LayoutInflater.java:534)
at android.view.LayoutInflater.inflate(LayoutInflater.java:481)
at com.android.internal.policy.PhoneWindow.setContentView(PhoneWindow.java:541)
at android.app.Activity.setContentView(Activity.java:3369)
at us.zoom.sdksample.tomo.ActivityTomoClassRoom.onCreate(ActivityTomoClassRoom.java:323)
at android.app.Activity.performCreate(Activity.java:7957)
at android.app.Activity.performCreate(Activity.java:7946)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1307)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3598)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3775)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:83)
2021-01-19 17:31:52.951 8023-8023/com.test.sensei E/AndroidRuntime: at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2261)
at android.os.Handler.dispatchMessage(Handler.java:107)
at android.os.Looper.loop(Looper.java:237)
at android.app.ActivityThread.main(ActivityThread.java:8107)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:496)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1100)
Caused by: java.lang.UnsatisfiedLinkError: No implementation found for long com.zipow.annotate.AnnoContentRender.nativeInit() (tried Java_com_zipow_annotate_AnnoContentRender_nativeInit and Java_com_zipow_annotate_AnnoContentRender_nativeInit__)
at com.zipow.annotate.AnnoContentRender.nativeInit(Native Method)
at com.zipow.annotate.AnnoContentRender.(AnnoContentRender.java:38)
at com.zipow.annotate.AnnoContentRender.getInstance(AnnoContentRender.java:31)
at com.zipow.annotate.AnnoRenderBase.(AnnoRenderBase.java:58)
at com.zipow.annotate.AnnoTextureView.(AnnoTextureView.java:26)
at com.zipow.videobox.sdk.SDKShareView.init(SDKShareView.java:162)
at com.zipow.videobox.sdk.SDKShareView.(SDKShareView.java:145)
at us.zoom.sdk.MobileRTCShareView.(MobileRTCShareView.java:22)
… 38 more

cf) Binary XML file line #223 in com.test.sensei:layout/tomo_activity_class_room

                    <us.zoom.sdk.MobileRTCShareView
                        android:id="@+id/sharingView"
                        android:layout_width="match_parent"
                        android:layout_height="match_parent"
                        android:visibility="gone" />

Hi @alex.seo, thanks for using the dev forum.

Sorry to hear you are running into this crash with the latest version of our SDK and thank you for providing the crash logs.

I have not yet been able to reproduce this in our sample app. Are you able to reproduce it there, or is it only present in your own app? Also, any additional context you can provide on where this is happening would be very helpful (e.g. before/after joining a meeting, whether or not any additional method calls into the SDK were called while joining, etc.).

Thanks!

Hi Jon,

Chipping in with another crash report of the same thing. Android 9. Galaxy Tab A 2018. SM-T580.

2021-01-25 22:49:00.176 1125-1125/com.isansys.pse_isansysportal E/zygote: No implementation found for long com.zipow.annotate.AnnoContentRender.nativeInit() (tried Java_com_zipow_annotate_AnnoContentRender_nativeInit and Java_com_zipow_annotate_AnnoContentRender_nativeInit__)
2021-01-25 22:49:00.178 1125-1125/com.isansys.pse_isansysportal D/AndroidRuntime: Shutting down VM
2021-01-25 22:49:00.188 1125-1125/com.isansys.pse_isansysportal E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.isansys.pse_isansysportal, PID: 1125
android.view.InflateException: Binary XML file line #7: Binary XML file line #7: Error inflating class us.zoom.sdk.MobileRTCVideoView
Caused by: android.view.InflateException: Binary XML file line #7: Error inflating class us.zoom.sdk.MobileRTCVideoView
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.newInstance0(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:334)
at android.view.LayoutInflater.createView(LayoutInflater.java:647)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:790)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:730)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:863)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:824)
at android.view.LayoutInflater.inflate(LayoutInflater.java:515)
at android.view.LayoutInflater.inflate(LayoutInflater.java:423)
at android.view.LayoutInflater.inflate(LayoutInflater.java:374)
at com.isansys.pse_isansysportal.PopupIncomingVideoCall.onCreateDialog(PopupIncomingVideoCall.java:450)
at androidx.fragment.app.DialogFragment.onGetLayoutInflater(DialogFragment.java:380)
at androidx.fragment.app.Fragment.performGetLayoutInflater(Fragment.java:1412)
at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManagerImpl.java:881)
at androidx.fragment.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManagerImpl.java:1238)
at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManagerImpl.java:1303)
at androidx.fragment.app.BackStackRecord.executeOps(BackStackRecord.java:439)
at androidx.fragment.app.FragmentManagerImpl.executeOps(FragmentManagerImpl.java:2079)
at androidx.fragment.app.FragmentManagerImpl.executeOpsTogether(FragmentManagerImpl.java:1869)
at androidx.fragment.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManagerImpl.java:1824)
at androidx.fragment.app.FragmentManagerImpl.execPendingActions(FragmentManagerImpl.java:1727)
at androidx.fragment.app.FragmentManagerImpl$2.run(FragmentManagerImpl.java:150)
at android.os.Handler.handleCallback(Handler.java:790)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:7000)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:441)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1408)
Caused by: android.view.InflateException: Binary XML file line #12: Binary XML file line #12: Error inflating class com.zipow.videobox.sdk.SDKShareView
Caused by: android.view.InflateException: Binary XML file line #12: Error inflating class com.zipow.videobox.sdk.SDKShareView
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.newInstance0(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:334)
at android.view.LayoutInflater.createView(LayoutInflater.java:647)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:790)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:730)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:863)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:824)
at android.view.LayoutInflater.inflate(LayoutInflater.java:515)
at android.view.LayoutInflater.inflate(LayoutInflater.java:423)
at us.zoom.sdk.MobileRTCVideoView.init(MobileRTCVideoView.java:62)
at us.zoom.sdk.MobileRTCVideoView.(MobileRTCVideoView.java:53)
at java.lang.reflect.Constructor.newInstance0(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:334)
at android.view.LayoutInflater.createView(LayoutInflater.java:647)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:790)
2021-01-25 22:49:00.195 1125-1125/com.isansys.pse_isansysportal E/AndroidRuntime: at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:730)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:863)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:824)
at android.view.LayoutInflater.inflate(LayoutInflater.java:515)
at android.view.LayoutInflater.inflate(LayoutInflater.java:423)
at android.view.LayoutInflater.inflate(LayoutInflater.java:374)
at com.isansys.pse_isansysportal.PopupIncomingVideoCall.onCreateDialog(PopupIncomingVideoCall.java:450)
at androidx.fragment.app.DialogFragment.onGetLayoutInflater(DialogFragment.java:380)
at androidx.fragment.app.Fragment.performGetLayoutInflater(Fragment.java:1412)
at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManagerImpl.java:881)
at androidx.fragment.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManagerImpl.java:1238)
at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManagerImpl.java:1303)
at androidx.fragment.app.BackStackRecord.executeOps(BackStackRecord.java:439)
at androidx.fragment.app.FragmentManagerImpl.executeOps(FragmentManagerImpl.java:2079)
at androidx.fragment.app.FragmentManagerImpl.executeOpsTogether(FragmentManagerImpl.java:1869)
at androidx.fragment.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManagerImpl.java:1824)
at androidx.fragment.app.FragmentManagerImpl.execPendingActions(FragmentManagerImpl.java:1727)
at androidx.fragment.app.FragmentManagerImpl$2.run(FragmentManagerImpl.java:150)
at android.os.Handler.handleCallback(Handler.java:790)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:7000)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:441)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1408)
Caused by: java.lang.UnsatisfiedLinkError: No implementation found for long com.zipow.annotate.AnnoContentRender.nativeInit() (tried Java_com_zipow_annotate_AnnoContentRender_nativeInit and Java_com_zipow_annotate_AnnoContentRender_nativeInit__)
at com.zipow.annotate.AnnoContentRender.nativeInit(Native Method)
at com.zipow.annotate.AnnoContentRender.(AnnoContentRender.java:38)
at com.zipow.annotate.AnnoContentRender.getInstance(AnnoContentRender.java:31)
at com.zipow.annotate.AnnoRenderBase.(AnnoRenderBase.java:58)
at com.zipow.annotate.AnnoTextureView.(AnnoTextureView.java:26)
at com.zipow.videobox.sdk.SDKShareView.init(SDKShareView.java:162)
at com.zipow.videobox.sdk.SDKShareView.(SDKShareView.java:145)
… 40 more

Hi @egon,

It would appear that the crash you are experiencing is actually different from the one mentioned in this topic. Can you please provide the relevant XML snippet for this, as what actions you are taking with the SDK leading up this crash?

Thanks!

We solved it by calling B after A

Maybe there is something that Zoom needs to handle before setting up the UI

Hope the above solution helps

ex)
A :
StartMeetingParams4NormalUser params = new StartMeetingParams4NormalUser();
ZoomSDK.getInstance().getMeetingService().startMeetingWithParams(this, params, null);

B :
setContentView(R.layout.xxx);

@jon.zoom This error was when I tried to update my app to the latest SDK version as Alex mentioned - I did exactly the same - updated the two libraries and that was is (different test to other bug report I have open)
Same error about inflating the MobileRTCVideoView object using latest Zoom SDK version

Hi @alex.seo,

Glad to hear it’s working now! Yes, typically the SDK does not make in-meeting components available before joining/starting a meeting.

Thanks!

1 Like

Hi @egon,

I’m sorry for the confusion, but this is not the same stack trace or view as the OP. Your crash is being caused by the video view, while the other one is the share view. Please provide the information provided in my previous response so that I can begin looking into what is causing this crash for you.

Thanks!

@jon.zoom I am seeing the exact same issue. I just upgraded the SDK to the latest one. Not sure how the solution which was proposed here solves this

Hi @nitin1,

Sorry to hear you are running into this issue as well. Can you please provide the stack trace so that we may investigate further?

Thanks!

@jon.zoom

The stack trace is the exact same as @alex.seo pointed out. Do you want me to copy the same?

Let me explain whats going on - in the previous SDK, we had an instance of us.zoom.sdk.MobileRTCShareView embedded in one of the fragments. Everything is working fine and we are able to join calls as expected.

When we migrated to the new SDK, we are seeing that the second the activity is created the mentioned crash is observed. We have made no code changes in the app for the new SDK, just a drop in replacement as @alex.seo mentioned in his report.

Hi @nitin1,

The stack trace is the exact same as alex.seo pointed out. Do you want me to copy the same?

Yes, if you don’t mind. There are sometimes subtle differences in stack traces, so it’s always best to err on the side of caution in these cases. :slightly_smiling_face:

Thanks!

@jon.zoom as you asked for, please find the stack trace. I dont think so this is any different from what others have shared.

Process: studio.lively.android.staging, PID: 14610
java.lang.RuntimeException: Unable to start activity ComponentInfo{studio.lively.android.staging/studio.lively.ui.customizedmeetingui.session.LivelySessionActivity}: android.view.InflateException: Binary XML file line #7 in studio.lively.android.staging:layout/layout_meeting_content_normal: Binary XML file line #7 in studio.lively.android.staging:layout/layout_meeting_content_normal: Error inflating class us.zoom.sdk.MobileRTCVideoView
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3449)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3601)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2066)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:223)
at android.app.ActivityThread.main(ActivityThread.java:7656)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
Caused by: android.view.InflateException: Binary XML file line #7 in studio.lively.android.staging:layout/layout_meeting_content_normal: Binary XML file line #7 in studio.lively.android.staging:layout/layout_meeting_content_normal: Error inflating class us.zoom.sdk.MobileRTCVideoView
Caused by: android.view.InflateException: Binary XML file line #7 in studio.lively.android.staging:layout/layout_meeting_content_normal: Error inflating class us.zoom.sdk.MobileRTCVideoView
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.newInstance0(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
at android.view.LayoutInflater.createView(LayoutInflater.java:852)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:1004)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:959)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:1121)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1082)
at android.view.LayoutInflater.inflate(LayoutInflater.java:680)
at android.view.LayoutInflater.inflate(LayoutInflater.java:532)
at android.view.LayoutInflater.inflate(LayoutInflater.java:479)
at studio.lively.ui.customizedmeetingui.session.LivelySessionActivity.initViews(LivelySessionActivity.java:486)
at studio.lively.ui.customizedmeetingui.session.LivelySessionActivity.onCreate(LivelySessionActivity.java:320)
at android.app.Activity.performCreate(Activity.java:8000)
at android.app.Activity.performCreate(Activity.java:7984)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1309)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3422)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3601)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2066)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:223)
at android.app.ActivityThread.main(ActivityThread.java:7656)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
2021-03-02 14:53:59.873 14610-14610/studio.lively.android.staging E/AndroidRuntime: Caused by: android.view.InflateException: Binary XML file line #12 in studio.lively.android.staging:layout/zm_videoview_sdk: Binary XML file line #12 in studio.lively.android.staging:layout/zm_videoview_sdk: Error inflating class com.zipow.videobox.sdk.SDKShareView
Caused by: android.view.InflateException: Binary XML file line #12 in studio.lively.android.staging:layout/zm_videoview_sdk: Error inflating class com.zipow.videobox.sdk.SDKShareView
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.newInstance0(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
at android.view.LayoutInflater.createView(LayoutInflater.java:852)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:1004)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:959)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:1121)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1082)
at android.view.LayoutInflater.inflate(LayoutInflater.java:680)
at android.view.LayoutInflater.inflate(LayoutInflater.java:532)
at us.zoom.sdk.MobileRTCVideoView.init(MobileRTCVideoView.java:62)
at us.zoom.sdk.MobileRTCVideoView.(MobileRTCVideoView.java:53)
at java.lang.reflect.Constructor.newInstance0(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
at android.view.LayoutInflater.createView(LayoutInflater.java:852)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:1004)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:959)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:1121)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1082)
at android.view.LayoutInflater.inflate(LayoutInflater.java:680)
at android.view.LayoutInflater.inflate(LayoutInflater.java:532)
at android.view.LayoutInflater.inflate(LayoutInflater.java:479)
at studio.lively.ui.customizedmeetingui.session.LivelySessionActivity.initViews(LivelySessionActivity.java:486)
at studio.lively.ui.customizedmeetingui.session.LivelySessionActivity.onCreate(LivelySessionActivity.java:320)
at android.app.Activity.performCreate(Activity.java:8000)
at android.app.Activity.performCreate(Activity.java:7984)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1309)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3422)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3601)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2066)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:223)
at android.app.ActivityThread.main(ActivityThread.java:7656)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
Caused by: java.lang.UnsatisfiedLinkError: No implementation found for long com.zipow.annotate.AnnoContentRender.nativeInit() (tried Java_com_zipow_annotate_AnnoContentRender_nativeInit and Java_com_zipow_annotate_AnnoContentRender_nativeInit__)
at com.zipow.annotate.AnnoContentRender.nativeInit(Native Method)
at com.zipow.annotate.AnnoContentRender.(AnnoContentRender.java:38)
at com.zipow.annotate.AnnoContentRender.getInstance(AnnoContentRender.java:31)
at com.zipow.annotate.AnnoRenderBase.(AnnoRenderBase.java:58)
at com.zipow.annotate.AnnoTextureView.(AnnoTextureView.java:26)
at com.zipow.videobox.sdk.SDKShareView.init(SDKShareView.java:162)
at com.zipow.videobox.sdk.SDKShareView.(SDKShareView.java:145

Hi @nitin1,

Thanks for providing the full stack trace. Can you please also provide the SDK logs so that we may investigate this further? The file you are looking for should be encrypted and can be sent over to developersupport@zoom.us.

Thanks!

So I was able to resolve this issue by doing dynamic inflation of resources. In the older sdk we had static fragments which were hidden with view of type us.zoom.sdk.MobileRTCShareView embedded in them. Since we moved to new SDK all that static code crashes on launch. The way I have solved this issue for now is to inflate the fragments only when we know the call is being established. This seems to resolve the issue.

Hi @nitin1,

That’s great to hear that you managed to resolve this! It absolutely makes sense that this crash would be happening when trying to setup a hidden fragment, since it sounds like that would make it possible for your app to attempt to setup views before the SDK is ready to provide the underlying stream related to them.

Please let me know if you run into any issues and I will be happy to help. :slightly_smiling_face:

Thanks!