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
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
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!
// 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”
}
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’
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!
I have check thair is no difference all things are the same and proper.
Hi @kumkumschool,
Can you please provide the contents of your mobilertc
and commonlib
modules’ gradle files so that I may confirm?
Thanks!
mobilertc:
configurations.maybeCreate(“default”)
artifacts.add(“default”, file(‘mobilertc.aar’))
commonlib:
configurations.maybeCreate(“default”)
artifacts.add(“default”, file(‘commonlib.aar’))
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:
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!