AAPT: error: resource style/TextAppearance.Design.Tab (aka com.example.zoomvideo:style/TextAppearance.Design.Tab) not found

I’m getting same issue, I followed instructions carefully but i still getting this issue at compilation.
I realize that, After adding module dependency i’m getting error

Android resource linking failed
project_source_path…/mobilertc/build/.transforms/7c2831cfa1bacdd7dd0f51b8489c7fc7/jetified-mobilertc/AndroidManifest.xml:129:9-133:51: AAPT: error: attribute android:foregroundServiceType not found.

I’m using
compileSdkVersion 28
buildToolsVersion ‘28.0.3’

minSdkVersion 21
targetSdkVersion 28

dependencies {
implementation ‘androidx.multidex:multidex:2.0.0’
implementation ‘androidx.recyclerview:recyclerview:1.0.0’
implementation ‘androidx.appcompat:appcompat:1.0.0’
implementation ‘androidx.constraintlayout:constraintlayout:1.1.3’
implementation ‘com.google.android.material:material:1.0.0-rc01’
implementation project(’:commonlib’)
implementation project(’:mobilertc’)

implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation files('libs/YouTubeAndroidPlayerApi.jar')
implementation files('libs/jackson-core-2.7.3.jar')
implementation files('libs/jackson-databind-2.7.3.jar')
implementation files('libs/jackson-annotations-2.7.3.jar')
implementation 'androidx.appcompat:appcompat:1.0.0'
implementation 'androidx.cardview:cardview:1.0.0'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'androidx.palette:palette:1.0.0'
implementation 'androidx.work:work-runtime-ktx:2.0.1'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation 'com.github.PhilJay:MPAndroidChart:v3.0.2'
implementation 'com.google.android.material:material:1.0.0'
implementation 'com.google.firebase:firebase-messaging:20.1.0' // fcm messaging
implementation 'com.google.android.gms:play-services-auth:17.0.0' // google login
implementation 'com.facebook.android:facebook-login:[5,6)'
implementation 'com.github.bumptech.glide:glide:4.3.1'
implementation 'com.github.chinalwb:are:0.1.5'
implementation 'com.github.chrisbanes:PhotoView:2.1.3'
implementation 'com.razorpay:checkout:1.5.12'
implementation 'com.github.barteksc:android-pdf-viewer:3.0.0-beta.5'
implementation 'com.google.android.exoplayer:exoplayer:2.11.2'
implementation 'com.google.android.exoplayer:extension-rtmp:2.11.2'

implementation 'com.jakewharton:butterknife:8.0.1'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.0.1'

}

Please provide any resolution to help.
Thanks