Missing libzoom_stlport.so when using emulator

My app runs just fine on actual Pixel 3.
When I try using emulator, I get an exception "couldn’t find “libzoom_stlport.so”

In the project build.gradle I have:
ndk {
abiFilters ‘armeabi-v7a’, “x86”
}

Does Zoom Android SDK support x86 emulator?

Hi grey-bit,

Thanks for the post. May I inquire what is the SDK version number that you are using? I tried to use the latest SDK: https://github.com/zoom/zoom-sdk-android/releases/tag/v4.4.55130.0712 and run the demo app with x86 emulator, and I did not encounter with any issues.

Here are the emulators that I have:


Here are the running screenshots:

And here is the gradle setting:

android {
    compileSdkVersion 28
    buildToolsVersion '28.0.3'

    defaultConfig {
        applicationId "us.zoom.sdkexample"
        minSdkVersion 16
        targetSdkVersion 28
        versionCode 1
        versionName "1.0"
        multiDexEnabled true

//        ndk {
//            abiFilters "arm64-v8a"
//        }
        ndk {
            abiFilters "armeabi-v7a", "x86"
        }
    }

    buildTypes {
        release {
            minifyEnabled true
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard.cfg'
        }

        debug {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard.cfg'
        }

    }

    lintOptions {
        checkReleaseBuilds false
        abortOnError false
    }
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_7
        targetCompatibility JavaVersion.VERSION_1_7
    }
}

dependencies {
    implementation 'androidx.multidex:multidex:2.0.0'
    implementation 'androidx.recyclerview:recyclerview:1.0.0'
    implementation 'androidx.appcompat:appcompat:1.0.0'
    implementation project(':commonlib')
    implementation project(':mobilertc')
}

Hope my info helps. If you are still facing the same issue with the latest version of SDK, could you provide more information on it so that we can further help you?

Thanks!

Indeed, I am using older SDK.
Now that I upgraded to the latest, I get the following exception when running on the actual phone:
Rejecting re-init on previously-failed class java.lang.Class<us.zoom.androidlib.app.ZMActivity>: java.lang.NoClassDefFoundError: Failed resolution of: Landroidx/fragment/app/FragmentActivity;
at com.zipow.videobox.ptapp.PTUI com.zipow.videobox.ptapp.PTUI.getInstance() (PTUI.java:-1)
at void us.zoom.sdk.ZoomSDK.() (ZoomSDK.java:156)
at us.zoom.sdk.ZoomSDK us.zoom.sdk.ZoomSDK.getInstance() (ZoomSDK.java:168)

Does Zoom SDK now require AndroidX? Refactoring to AndroidX requires SDK28, which would be quite high as a requirement for my app.

Hi grey-bit,

Thanks for the reply. Yes, the latest Zoom SDK requires AndroidX(https://github.com/zoom/zoom-sdk-android#frequently-asked-questions-faq). I understand your concern. I will consult our engineering team to see if there is any workaround for this(Not upgrading to AndroidX). I will get back to you asap.

Thanks!