# Zoom sdk initialization problem in zoom-sdk-android-5.4.3.613 version

**URL:** <https://devforum.zoom.us/t/zoom-sdk-initialization-problem-in-zoom-sdk-android-5-4-3-613-version/42000>\
**Category:** Android\
**Created:** [January 30, 2021, 5:18am UTC](https://devforum.zoom.us/t/zoom-sdk-initialization-problem-in-zoom-sdk-android-5-4-3-613-version/42000 "2021-01-30T05:18:26Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![kumkumschool](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kumkumschool/32/29153_2.png) [@kumkumschool](https://devforum.zoom.us/u/kumkumschool)\
**Post date:** [January 30, 2021, 5:18am UTC](https://devforum.zoom.us/t/zoom-sdk-initialization-problem-in-zoom-sdk-android-5-4-3-613-version/42000/1 "2021-01-30T05:18:26Z")

</div>

**Description**  
On sdk initialization app force stop and get “Failed resolution of: Lcom/google/crypto/tink/daead/AesSivKeyManager;” error.

**Which version?**  
zoom-sdk-android-5.4.3.613 version

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [February 1, 2021, 6:14pm UTC](https://devforum.zoom.us/t/zoom-sdk-initialization-problem-in-zoom-sdk-android-5-4-3-613-version/42000/2 "2021-02-01T18:14:08Z")

</div>

Hi @kumkumschool, thanks for the post.

Can you please verify that the `build.gradle` files for the SDK modules match what is there for the sample app?

Thanks!

---

<div class="post-metadata">

**Author:** ![kumkumschool](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kumkumschool/32/29153_2.png) [@kumkumschool](https://devforum.zoom.us/u/kumkumschool)\
**Post date:** [February 2, 2021, 5:01am UTC](https://devforum.zoom.us/t/zoom-sdk-initialization-problem-in-zoom-sdk-android-5-4-3-613-version/42000/3 "2021-02-02T05:01:17Z")

</div>

// Top-level build file where you can add configuration options common to all sub-projects/modules.  
apply plugin: ‘com.android.application’  
buildscript {  
/\* configurations.all {  
resolutionStrategy {  
force ‘net.sf.proguard:proguard-gradle:5.3.3’  
}  
}\*/  
repositories {  
jcenter()  
google()  
}  
dependencies {  
classpath ‘com.android.tools.build:gradle:3.5.1’  
classpath ‘com.google.gms:google-services:4.0.1’  
}  
}

android {  
compileSdkVersion 29  
buildToolsVersion “29.0.3”  
useLibrary ‘org.apache.http.legacy’  
defaultConfig {  
applicationId ‘com.mac.apps.myschoolperiod’  
minSdkVersion 21  
targetSdkVersion 29  
versionCode 24  
versionName ‘3.2’  
multiDexEnabled true  
vectorDrawables.useSupportLibrary = true  
/\* ndk {  
abiFilters “arm64-v8a”, “x86\_64”, “x86”, “mips”, “armeabi”  
}_/  
/_ ndk {  
abiFilters “arm64-v8a”  
}\*/

```
    /* final BUILD_DATE = new Date().format('dd-MM-yyyy HH-mm')
     applicationVariants.all { variant ->
         variant.outputs.each { output ->
             output.outputFileName = "MacClassRoom(" + BUILD_DATE + ") - " + "${variant.name}.apk"
         }
     }*/
}
final BUILD_DATE = new Date().format('dd-MM-yyyy hh-mm aa')
applicationVariants.all { variant ->
    variant.outputs.each { output ->
        output.outputFileName = "Mac Classroom (" + BUILD_DATE + ") - " + "${variant.name}.apk"
    }
}
lintOptions {
    checkReleaseBuilds false
}
compileOptions {
    sourceCompatibility JavaVersion.VERSION_1_7
    targetCompatibility JavaVersion.VERSION_1_7
}
packagingOptions {
    exclude 'META-INF/NOTICE.txt'
    exclude 'META-INF/LICENSE.txt'
    exclude 'META-INF/LICENSE-FIREBASE.txt'
}
aaptOptions {
    cruncherEnabled = false
}
buildTypes {
    debug {
        shrinkResources false
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
    }
    release {
        shrinkResources false
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
    }
}

dexOptions {
    jumboMode = true
    javaMaxHeapSize "4g" //specify the heap size for the dex process
    preDexLibraries = false
}
sourceSets {
    main {
        manifest.srcFile 'AndroidManifest.xml'
        java.srcDirs = ['src']
        resources.srcDirs = ['src']
        aidl.srcDirs = ['src']
        renderscript.srcDirs = ['src']
        res.srcDirs = ['res']
        assets.srcDirs = ['assets']
    }
    androidTest.setRoot('tests')
    debug.setRoot('build-types/debug')
    release.setRoot('build-types/release')
}
productFlavors {
}

```

}

allprojects {  
repositories {  
jcenter()  
google()  
maven {  
url “[https://jitpack.io](https://jitpack.io)”  
}

```
    maven { url "https://maven.google.com" }
}
/*gradle.projectsEvaluated {
    tasks.withType(JavaCompile) {
        options.compilerArgs << "-Xlint:deprecation"
    }
}*/

```

}

dependencies {  
implementation files(‘libs/paynimo\_v3.2\_live.jar’)  
implementation files(‘libs/picasso-2.3.4.jar’)  
implementation files(‘libs/commons-net-2.0-ftp.jar’)  
implementation files(‘libs/simpleftp.jar’)  
implementation files(‘libs/xercesImpl-2.6.2-jaxb-1.0.6.jar’)  
implementation files(‘libs/ksoap2-android-assembly-2.5.8-jar-with-dependencies.jar’)  
implementation ‘com.squareup.retrofit2:retrofit:2.2.0’  
implementation ‘com.squareup.retrofit2:converter-gson:2.2.0’  
implementation ‘com.squareup.okhttp3:okhttp:3.10.0’  
implementation ‘com.squareup.okio:okio:1.14.0’  
implementation ‘com.squareup.okhttp3:logging-interceptor:3.6.0’  
implementation ‘androidx.appcompat:appcompat:1.1.0’  
implementation ‘com.google.android.material:material:1.2.0’  
implementation ‘com.google.android:flexbox:2.0.1’  
implementation ‘androidx.percentlayout:percentlayout:1.0.0’  
implementation ‘androidx.cardview:cardview:1.0.0’  
implementation ‘androidx.swiperefreshlayout:swiperefreshlayout:1.0.0’  
implementation ‘androidx.multidex:multidex:2.0.1’  
//implementation ‘com.google.firebase:firebase-crash:11.6.0’  
implementation ‘com.google.firebase:firebase-core:11.6.0’  
implementation ‘com.google.firebase:firebase-messaging:17.3.3’  
implementation ‘com.google.android.gms:play-services-ads:19.1.0’  
//implementation ‘com.google.android.gms:play-services:16.0.0’  
implementation ‘com.google.android.gms:play-services-analytics:17.0.0’  
implementation ‘com.google.android.gms:play-services-auth:18.0.0’  
//implementation ‘com.google.android.gms:play-services-gcm:11.6.0’  
implementation ‘com.google.code.gson:gson:2.8.5’  
implementation ‘com.github.bumptech.glide:glide:3.8.0’  
implementation ‘com.github.florent37:shapeofview:1.3.2’  
implementation ‘androidx.constraintlayout:constraintlayout:1.1.3’  
implementation ‘at.blogc:expandabletextview:1.0.5’  
implementation ‘androidx.vectordrawable:vectordrawable:1.1.0’  
implementation ‘androidx.legacy:legacy-support-v4:1.0.0’  
implementation ‘de.hdodenhof:circleimageview:2.2.0’  
implementation ‘com.thefinestartist:ytpa:1.2.1’  
implementation ‘com.google.android.gms:play-services-base:17.2.1’  
implementation ‘com.google.android.gms:play-services-auth-api-phone:17.4.0’  
implementation ‘com.amazonaws:aws-android-sdk-core:2.9.2’  
implementation ‘com.amazonaws:aws-android-sdk-s3:2.9.2’  
implementation ‘com.amazonaws:aws-android-sdk-ddb:2.9.2’  
implementation ‘com.github.barteksc:android-pdf-viewer:2.8.2’  
implementation ‘com.toptoche.searchablespinner:searchablespinnerlibrary:1.3.1’  
//FAcebook ad  
implementation ‘com.facebook.android:audience-network-sdk:6.1.0’  
implementation project(path: ‘:commonlib’)  
implementation project(path: ‘:mobilertc’)  
//Encryption  
//implementation ‘com.github.dori871992:CryptoLight:1.1.0’  
}  
apply plugin: ‘com.google.gms.google-services’

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [February 2, 2021, 5:55pm UTC](https://devforum.zoom.us/t/zoom-sdk-initialization-problem-in-zoom-sdk-android-5-4-3-613-version/42000/4 "2021-02-02T17:55:46Z")

</div>

Hi @kumkumschool,

That appears to be the contents of your app’s `build.gradle`. Please compare the gradle files under the `mobilertc` and `commonlib` modules in your project against the same files in the sample app and ensure they contain the same info.

Thanks!

---

<div class="post-metadata">

**Author:** ![kumkumschool](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kumkumschool/32/29153_2.png) [@kumkumschool](https://devforum.zoom.us/u/kumkumschool)\
**Post date:** [February 5, 2021, 6:01am UTC](https://devforum.zoom.us/t/zoom-sdk-initialization-problem-in-zoom-sdk-android-5-4-3-613-version/42000/5 "2021-02-05T06:01:43Z")

</div>

I have check thair is no difference all things are the same and proper.

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [February 5, 2021, 5:35pm UTC](https://devforum.zoom.us/t/zoom-sdk-initialization-problem-in-zoom-sdk-android-5-4-3-613-version/42000/6 "2021-02-05T17:35:58Z")

</div>

Hi @kumkumschool,

Can you please provide the contents of your `mobilertc` and `commonlib` modules’ gradle files so that I may confirm?

Thanks!

---

<div class="post-metadata">

**Author:** ![kumkumschool](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kumkumschool/32/29153_2.png) [@kumkumschool](https://devforum.zoom.us/u/kumkumschool)\
**Post date:** [February 8, 2021, 8:43am UTC](https://devforum.zoom.us/t/zoom-sdk-initialization-problem-in-zoom-sdk-android-5-4-3-613-version/42000/7 "2021-02-08T08:43:43Z")

</div>

**mobilertc:**  
configurations.maybeCreate(“default”)  
artifacts.add(“default”, file(‘mobilertc.aar’))

**commonlib:**  
configurations.maybeCreate(“default”)  
artifacts.add(“default”, file(‘commonlib.aar’))

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [February 8, 2021, 6:24pm UTC](https://devforum.zoom.us/t/zoom-sdk-initialization-problem-in-zoom-sdk-android-5-4-3-613-version/42000/8 "2021-02-08T18:24:58Z")

</div>

Hi @kumkumschool,

Thanks for providing that. It appears that the mobilertc file is missing some dependencies.

Please try adding the following content to the mobilertc module’s `build.gradle` file:

```auto
configurations.create("default")
artifacts.add("default", file('mobilertc.aar'))

dependencies.add("default","androidx.security:security-crypto:1.1.0-alpha02")
dependencies.add("default","com.google.crypto.tink:tink-android:1.5.0")
dependencies.add("default","androidx.swiperefreshlayout:swiperefreshlayout:1.0.0")

dependencies.add("default","androidx.appcompat:appcompat:1.0.0")
dependencies.add("default","androidx.constraintlayout:constraintlayout:1.1.3")
dependencies.add("default","com.google.android.material:material:1.2.0-alpha02")
dependencies.add("default","com.google.android:flexbox:2.0.1")
dependencies.add("default","androidx.multidex:multidex:2.0.0")

```

Please let me know if you are still experiencing issues after adding this.

Thanks!

---

<div class="post-metadata">

**Author:** ![Zeoner](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/zeoner/32/33295_2.png) [@Zeoner](https://devforum.zoom.us/u/Zeoner)\
**Post date:** [August 13, 2021, 11:52am UTC](https://devforum.zoom.us/t/zoom-sdk-initialization-problem-in-zoom-sdk-android-5-4-3-613-version/42000/9 "2021-08-13T11:52:05Z")

</div>

The same issue came after adding above dependencies in the mobilertc module’s `build.gradle` file

---

<div class="post-metadata">

**Author:** ![Zeoner](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/zeoner/32/33295_2.png) [@Zeoner](https://devforum.zoom.us/u/Zeoner)\
**Post date:** [August 13, 2021, 12:10pm UTC](https://devforum.zoom.us/t/zoom-sdk-initialization-problem-in-zoom-sdk-android-5-4-3-613-version/42000/10 "2021-08-13T12:10:27Z")

</div>

try {  
masterKeyAlias = MasterKeys.getOrCreate(MasterKeys.AES256\_GCM\_SPEC);  
return EncryptedSharedPreferences.create(  
“secret\_shared\_prefs”,  
masterKeyAlias,  
context,  
EncryptedSharedPreferences.PrefKeyEncryptionScheme.AES256\_SIV,  
EncryptedSharedPreferences.PrefValueEncryptionScheme.AES256\_GCM  
);  
} catch (GeneralSecurityException | IOException e) {  
e.printStackTrace();  
}

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [August 13, 2021, 8:43pm UTC](https://devforum.zoom.us/t/zoom-sdk-initialization-problem-in-zoom-sdk-android-5-4-3-613-version/42000/11 "2021-08-13T20:43:10Z")

</div>

Hi @Zeoner, thanks for using the dev forum.

Sorry to hear you are experiencing a crash as well. Can you please provide the full stack trace of the crash you are seeing so that we may better assist?

Thanks!

---

<div class="post-metadata">

**Author:** ![Zeoner](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/zeoner/32/33295_2.png) [@Zeoner](https://devforum.zoom.us/u/Zeoner)\
**Post date:** [August 16, 2021, 4:37am UTC](https://devforum.zoom.us/t/zoom-sdk-initialization-problem-in-zoom-sdk-android-5-4-3-613-version/42000/12 "2021-08-16T04:37:16Z")

</div>

2021-08-16 10:06:50.853 25554-25554/com.axaonehealth.patientportal.debug E/AndroidRuntime: FATAL EXCEPTION: main  
Process: com.axaonehealth.patientportal.debug, PID: 25554  
java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/crypto/tink/aead/AeadFactory;  
at androidx.security.crypto.EncryptedSharedPreferences.create(EncryptedSharedPreferences.java:131)  
at com.axaonehealth.patientportal.utility.SingletonSharedPreference.doGetSecureSharedPreference(SingletonSharedPreference.java:57)  
at com.axaonehealth.patientportal.utility.SingletonSharedPreference.doGetPolicyNavigationType(SingletonSharedPreference.java:225)  
at com.axaonehealth.patientportal.SplashActivity.doMoveNextViaDevTeamFlow(SplashActivity.java:133)  
at com.axaonehealth.patientportal.SplashActivity.access$000(SplashActivity.java:33)  
at com.axaonehealth.patientportal.SplashActivity$1.run(SplashActivity.java:68)  
at android.os.Handler.handleCallback(Handler.java:873)  
at android.os.Handler.dispatchMessage(Handler.java:99)  
at android.os.Looper.loop(Looper.java:193)  
at android.app.ActivityThread.main(ActivityThread.java:6923)  
at java.lang.reflect.Method.invoke(Native Method)  
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)  
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:870)  
Caused by: java.lang.ClassNotFoundException: Didn’t find class “com.google.crypto.tink.aead.AeadFactory” on path: DexPathList[[zip file “/data/app/com.axaonehealth.patientportal.debug-jfUqXfKA15omVmdnJRmkBA==/base.apk”],nativeLibraryDirectories=[/data/app/com.axaonehealth.patientportal.debug-jfUqXfKA15omVmdnJRmkBA==/lib/arm, /data/app/com.axaonehealth.patientportal.debug-jfUqXfKA15omVmdnJRmkBA==/base.apk!/lib/armeabi-v7a, /system/lib, /vendor/lib]]  
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134)  
at java.lang.ClassLoader.loadClass(ClassLoader.java:379)  
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)  
at androidx.security.crypto.EncryptedSharedPreferences.create(EncryptedSharedPreferences.java:131)  
at com.axaonehealth.patientportal.utility.SingletonSharedPreference.doGetSecureSharedPreference(SingletonSharedPreference.java:57)  
at com.axaonehealth.patientportal.utility.SingletonSharedPreference.doGetPolicyNavigationType(SingletonSharedPreference.java:225)  
at com.axaonehealth.patientportal.SplashActivity.doMoveNextViaDevTeamFlow(SplashActivity.java:133)  
at com.axaonehealth.patientportal.SplashActivity.access$000(SplashActivity.java:33)  
at com.axaonehealth.patientportal.SplashActivity$1.run(SplashActivity.java:68)  
at android.os.Handler.handleCallback(Handler.java:873)  
at android.os.Handler.dispatchMessage(Handler.java:99)  
at android.os.Looper.loop(Looper.java:193)  
at android.app.ActivityThread.main(ActivityThread.java:6923)  
at java.lang.reflect.Method.invoke(Native Method)  
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)  
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:870)

---

<div class="post-metadata">

**Author:** ![Zeoner](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/zeoner/32/33295_2.png) [@Zeoner](https://devforum.zoom.us/u/Zeoner)\
**Post date:** [August 16, 2021, 12:21pm UTC](https://devforum.zoom.us/t/zoom-sdk-initialization-problem-in-zoom-sdk-android-5-4-3-613-version/42000/13 "2021-08-16T12:21:47Z")

</div>

Hi Jon, Thanks for your support.

I have adopted zoom SDK with our android sources.

Before that, I have been using EncryptedSharedPreferences in-app for security purposes . It is working fine. but I cannot run the app after added zoom SDK in sources because of some errors that came while running the app. I shared the error msg above for your referernce.

Zoom worked without EncryptedSharedPreferences. but I need to apply EncryptedSharedPreferences with zoom SDK. so kindly support and lead me.

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [August 17, 2021, 7:17pm UTC](https://devforum.zoom.us/t/zoom-sdk-initialization-problem-in-zoom-sdk-android-5-4-3-613-version/42000/14 "2021-08-17T19:17:42Z")

</div>

Hi @Zeoner,

Apologies, but I am not seeing anything in your code snippet or stack trace related to our SDK. Am I missing something? We can only really help with issues directly related to our Meeting SDK in this forum.

Thanks!

---

<div class="post-metadata">

**Author:** ![Zeoner](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/zeoner/32/33295_2.png) [@Zeoner](https://devforum.zoom.us/u/Zeoner)\
**Post date:** [August 18, 2021, 4:31am UTC](https://devforum.zoom.us/t/zoom-sdk-initialization-problem-in-zoom-sdk-android-5-4-3-613-version/42000/15 "2021-08-18T04:31:41Z")

</div>

Hi jon,

My team is not facing this issue before add zoom SDK. I donot know that how to resolve issues. You need to check and release android SDK with security stablility.

I mean zoom SDK block the app security stability ?

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [August 18, 2021, 5:58pm UTC](https://devforum.zoom.us/t/zoom-sdk-initialization-problem-in-zoom-sdk-android-5-4-3-613-version/42000/16 "2021-08-18T17:58:57Z")

</div>

Hi @Zeoner,

Unfortunately we are unable to assist with this issue as it does not involve our SDK. If you can provide additional information showing the SDK’s involvement in this issue, we would be happy to assist.

Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [September 18, 2021, 3:59am UTC](https://devforum.zoom.us/t/zoom-sdk-initialization-problem-in-zoom-sdk-android-5-4-3-613-version/42000/17 "2021-09-18T03:59:18Z")

</div>

Closed on September 18, 2021, 3:59am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
