简体   繁体   中英

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

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)

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM