Hi, I get this error when I try to initialize the SDK:
java.lang.NoClassDefFoundError: us.zoom.androidlib.app.ZMActivity
at com.zipow.videobox.util.AppStateMonitor.start(AppStateMonitor.java:117)
at com.zipow.videobox.mainboard.Mainboard.startToListenActiveState(Mainboard.java:914)
at com.zipow.videobox.mainboard.Mainboard.initialize(Mainboard.java:257)
at com.zipow.videobox.VideoBoxApplication.initSDKMainboard(VideoBoxApplication.java:545)
at com.zipow.videobox.VideoBoxApplication.initAppForSDK(VideoBoxApplication.java:390)
at com.zipow.videobox.VideoBoxApplication.onSDKCreated(VideoBoxApplication.java:287)
at com.zipow.videobox.VideoBoxApplication.initializeForSDK(VideoBoxApplication.java:200)
at us.zoom.sdk.ZoomSDK.initialize(ZoomSDK.java:342)
at us.zoom.sdk.ZoomSDK.initialize(ZoomSDK.java:299)
at us.zoom.sdk.ZoomSDK.initialize(ZoomSDK.java:252)
at com.shoeeb.learnenglish.meetingActivity.onCreate(meetingActivity.java:36)
at android.app.Activity.performCreate(Activity.java:6444)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1116)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2585)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2720)
at android.app.ActivityThread.access$900(ActivityThread.java:196)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1538)
at android.os.Handler.dispatchMessage(Handler.java:111)
at android.os.Looper.loop(Looper.java:210)
at android.app.ActivityThread.main(ActivityThread.java:5982)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:852)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:742).
This is the app Gradle settings:
apply plugin: ‘com.android.application’
android {
compileSdkVersion 28
defaultConfig {
applicationId “com.shoeeb.learnenglish”
minSdkVersion 17
targetSdkVersion 28
versionCode 1
versionName “1.0”
//testInstrumentationRunner “android.support.test.runner.AndroidJUnitRunner”
multiDexEnabled true
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile(‘proguard-android.txt’), ‘proguard-rules.pro’
}
}
buildToolsVersion ‘28.0.3’
}
dependencies {
implementation fileTree(include: [’*.jar’], dir: ‘libs’)
implementation ‘com.android.support:appcompat-v7:28.0.0’
implementation ‘com.android.support.constraint:constraint-layout:1.1.3’
implementation ‘com.android.support:design:28.0.0’
implementation ‘com.android.support:cardview-v7:28.0.0’
testImplementation ‘junit:junit:4.12’
// androidTestImplementation ‘com.android.support.test:runner:1.0.2’
//androidTestImplementation ‘com.android.support.test.espresso:espresso-core:3.0.2’
implementation ‘com.google.firebase:firebase-database:17.0.0’
implementation ‘com.google.firebase:firebase-auth:17.0.0’
implementation ‘com.android.support:recyclerview-v7:28.0.0’
implementation ‘com.github.bumptech.glide:glide:4.9.0’
implementation project(’:commonlib’)
implementation project(’:mobilertc’)
}
apply plugin: ‘com.google.gms.google-services’ // Google Play services Gradle plugin
Any help would be appreciated.