2017-11-30 7 views
0

アンドロイドメーカー:3.0QuickBlox致命的なエラー

エラー:../../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); 

あなたは、このアーカイブからLIBSにあなたのlibsを、あなたのために必要なバージョンと、お使いのバージョンのためにそれだけでアーカイブしないthere is zip-archiveを古いJNI-libsのin releasesを検索し、交換する必要があり

<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> 

enter image description here

+0

QuickBlox Android SDKのどのバージョンをお使いですか? jni-libsがSDKのvirsionに対応していることを確認してください。さらに、このエラーを取得するための手順を指定します。 –

+0

jnilibsの代わりにcom.quickblox:quickblox-android-sdk-videochat-webrtc:2.6.1 ' –

答えて

1

のXml 。

+0

をコンパイルします。webrtc:2.6.1をwebrtc:3.3.1に置き換えます。 –