Android Studio : 3.0
../../webrtc/api/android/jni/classreferenceholder.cc,第119行中的错误最后一次系统错误: 88 #检查失败:!jni->ExceptionCheck() # FindClass: org/webrtc/Camera1Enumerator期间的错误
Gradle
compile 'com.quickblox:quickblox-android-sdk-videochat-webrtc:2.6.1'代码:
QBRTCSurfaceView surfaceViewLocal = (QBRTCSurfaceView) findViewById(R.id.local_video_view);Xml
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.quickblox.videochat.webrtc.view.QBRTCSurfaceView
android:id="@+id/remote_video_view"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
<com.quickblox.videochat.webrtc.view.QBRTCSurfaceView
android:id="@+id/local_video_view"
android:layout_width="100dp"
android:layout_height="100dp"
android:layout_alignParentRight="true"/>
</RelativeLayout>

https://stackoverflow.com/questions/47573744
复制相似问题