android quickBlox Video calling code force close on click on receive button click

元气小坏坏 提交于 2019-12-25 04:11:21

问题


Hello all i need to integrate video and audio call using QuickBlox

for that i am using This link

i am able to login with user name and password

But when user clickes on receive video call they get error and force close app on both the device

the error is

02-03 18:04:15.726: E/AndroidRuntime(3104): FATAL EXCEPTION: Thread-39405
02-03 18:04:15.726: E/AndroidRuntime(3104): Process: com.quickblox.videochatsample, PID: 3104
02-03 18:04:15.726: E/AndroidRuntime(3104): java.lang.UnsatisfiedLinkError: Couldn't load ilbc-codec from loader dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/com.quickblox.videochatsample-2.apk"],nativeLibraryDirectories=[/data/app-lib/com.quickblox.videochatsample-2, /vendor/lib, /system/lib]]]: findLibrary returned null
02-03 18:04:15.726: E/AndroidRuntime(3104):     at java.lang.Runtime.loadLibrary(Runtime.java:365)
02-03 18:04:15.726: E/AndroidRuntime(3104):     at java.lang.System.loadLibrary(System.java:526)
02-03 18:04:15.726: E/AndroidRuntime(3104):     at com.googlecode.androidilbc.Codec.<init>(Codec.java:16)
02-03 18:04:15.726: E/AndroidRuntime(3104):     at com.googlecode.androidilbc.Codec.<clinit>(Codec.java:5)
02-03 18:04:15.726: E/AndroidRuntime(3104):     at com.quickblox.videochat.core.objects.AudioRecorder$AudioRecorderRunnable.run(AudioRecorder.java:196)
02-03 18:04:15.726: E/AndroidRuntime(3104):     at java.lang.Thread.run(Thread.java:841)

回答1:


Error indicates that lib files are missing. There are .SO files for codec which should be in the project.

As you mentioned QuickBlox link, copy these files into your libs/armeabi folder



来源:https://stackoverflow.com/questions/28314465/android-quickblox-video-calling-code-force-close-on-click-on-receive-button-clic

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!