cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
154
Views
0
Helpful
1
Replies

Jabber guest SDK for android apps crashing

ahlam ali
Beginner
Beginner

Hi I'm trying to use CallSample app from jabber android SDK version 11.1.2

my jabber guest server version is 11.1.2.11

my android sdk version: 31 

app modal: nexus 5 API 30

build:gradle version:7.3.1

I made sure to include the Guest SDK into the app

but when I run the app, the app crashes and I'm getting this results in logs.

 

2022-11-21 13:00:04.414 10029-10029/com.jabberguest.sample.call E/AndroidRuntime: FATAL EXCEPTION: main
    Process: com.jabberguest.sample.call, PID: 10029
    java.lang.UnsatisfiedLinkError: dlopen failed: library "libgnustl_shared.so" not found
        at java.lang.Runtime.loadLibrary0(Runtime.java:1087)
        at java.lang.Runtime.loadLibrary0(Runtime.java:1008)
        at java.lang.System.loadLibrary(System.java:1664)
        at com.cisco.jabber.guest.sdk.jcf.JcfJabberGuestCall.<clinit>(JcfJabberGuestCall.java:75)
        at com.cisco.jabber.guest.sdk.jcf.JcfJabberGuestCall.createInstance(JcfJabberGuestCall.java:505)
        at com.cisco.jabber.guest.sdk.JabberGuestCall.createInstance(JabberGuestCall.java:502)
        at com.jabberguest.sample.call.MainActivity.onCreate(MainActivity.java:91)
        at android.app.Activity.performCreate(Activity.java:8000)
        at android.app.Activity.performCreate(Activity.java:7984)
        at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1309)
        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3422)
        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3601)
        at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85)
        at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
        at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2066)
        at android.os.Handler.dispatchMessage(Handler.java:106)
        at android.os.Looper.loop(Looper.java:223)
        at android.app.ActivityThread.main(ActivityThread.java:7656)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)

 

1 Reply 1

Alex Stevenson
Cisco Employee
Cisco Employee

Hi @ahlam ali,

It seems you may need to add the relevant *.so libraries, perhaps from a directory outside the android project.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Recognize Your Peers