你好,我在看这个链接的教程https://www.youtube.com/watch?v=b_xsuk8heew&t=1880s 在我尝试写这段代码之前一切都很好
JitsiMeetConferenceOptions options = new JitsiMeetConferenceOptions.Builder()
.setRoom(secretCodeBox.getText().toString()) //secretcodebox = the code from edit text
.setWelcomePageEnabled(false)
.build();
JitsiMeetActivity.launch(DashboardActivity.this,options);
上面的代码会在我按下一个按钮后立即执行应用程序不工作应用程序正在重新启动
我看到的错误是:
JitsiMeetUncaughtExceptionHandler FATAL ERROR
java.lang.BootstrapMethodError: Exception from call site #3 bootstrap method
at com.oney.WebRTCModule.WebRTCModule.<init>(WebRTCModule.java:70)
at org.jitsi.meet.sdk.ReactInstanceManagerHolder.createNativeModules(ReactInstanceManagerHolder.java:92)
at org.jitsi.meet.sdk.ReactInstanceManagerHolder.access$000(ReactInstanceManagerHolder.java:48)
at org.jitsi.meet.sdk.ReactInstanceManagerHolder$1.createNativeModules(ReactInstanceManagerHolder.java:204)
at com.facebook.react.ReactPackageHelper.getNativeModuleIterator(ReactPackageHelper.java:41)
at com.facebook.react.NativeModuleRegistryBuilder.processPackage(NativeModuleRegistryBuilder.java:41)
at com.facebook.react.ReactInstanceManager.processPackage(ReactInstanceManager.java:1230)
at com.facebook.react.ReactInstanceManager.processPackages(ReactInstanceManager.java:1201)
at com.facebook.react.ReactInstanceManager.createReactContext(ReactInstanceManager.java:1134)
at com.facebook.react.ReactInstanceManager.access$1000(ReactInstanceManager.java:125)
at com.facebook.react.ReactInstanceManager$5.run(ReactInstanceManager.java:951)
at java.lang.Thread.run(Thread.java:764)
Caused by: java.lang.ClassCastException: Bootstrap method returned null
at com.oney.WebRTCModule.WebRTCModule.<init>(WebRTCModule.java:70)
at org.jitsi.meet.sdk.ReactInstanceManagerHolder.createNativeModules(ReactInstanceManagerHolder.java:92)
at org.jitsi.meet.sdk.ReactInstanceManagerHolder.access$000(ReactInstanceManagerHolder.java:48)
at org.jitsi.meet.sdk.ReactInstanceManagerHolder$1.createNativeModules(ReactInstanceManagerHolder.java:204)
at com.facebook.react.ReactPackageHelper.getNativeModuleIterator(ReactPackageHelper.java:41)
at com.facebook.react.NativeModuleRegistryBuilder.processPackage(NativeModuleRegistryBuilder.java:41)
at com.facebook.react.ReactInstanceManager.processPackage(ReactInstanceManager.java:1230)
at com.facebook.react.ReactInstanceManager.processPackages(ReactInstanceManager.java:1201)
at com.facebook.react.ReactInstanceManager.createReactContext(ReactInstanceManager.java:1134)
at com.facebook.react.ReactInstanceManager.access$1000(ReactInstanceManager.java:125)
at com.facebook.react.ReactInstanceManager$5.run(ReactInstanceManager.java:951)
at java.lang.Thread.run(Thread.java:764)
java.lang.BootstrapMethodError: Exception from call site #3 bootstrap method
at com.oney.WebRTCModule.WebRTCModule.<init>(WebRTCModule.java:70)
at org.jitsi.meet.sdk.ReactInstanceManagerHolder.createNativeModules(ReactInstanceManagerHolder.java:92)
at org.jitsi.meet.sdk.ReactInstanceManagerHolder.access$000(ReactInstanceManagerHolder.java:48)
at org.jitsi.meet.sdk.ReactInstanceManagerHolder$1.createNativeModules(ReactInstanceManagerHolder.java:204)
at com.facebook.react.ReactPackageHelper.getNativeModuleIterator(ReactPackageHelper.java:41)
at com.facebook.react.NativeModuleRegistryBuilder.processPackage(NativeModuleRegistryBuilder.java:41)
at com.facebook.react.ReactInstanceManager.processPackage(ReactInstanceManager.java:1230)
at com.facebook.react.ReactInstanceManager.processPackages(ReactInstanceManager.java:1201)
at com.facebook.react.ReactInstanceManager.createReactContext(ReactInstanceManager.java:1134)
at com.facebook.react.ReactInstanceManager.access$1000(ReactInstanceManager.java:125)
at com.facebook.react.ReactInstanceManager$5.run(ReactInstanceManager.java:951)
at java.lang.Thread.run(Thread.java:764)
Caused by: java.lang.ClassCastException: Bootstrap m
暂无答案!
目前还没有任何答案,快来回答吧!