Android Resource Linking Failed

Description
I am integrating “mobilertc.aar” && “commonlib.aar” in my android app. At compile time i am receiving error
‘AAPT: error: resource style/TextAppearance.Design.Tab (aka com.example.zoom:style/TextAppearance.Design.Tab) not found.
error: resource style/Theme.Design.Light.BottomSheetDialog (aka com.example.zoom:style/Theme.Design.Light.BottomSheetDialog) not found.
error: failed linking references.’

Please help me in that.

and one more thing, do we have any version which support on minSdkVersion 19?

I am using “v4.6.15086.0209”.

1 Like

Same here. Everything was building fine until I upgraded to v4.6.15086.0209. Tried a clean build, did not help.

Hi,

Thanks for using Zoom SDK. The minSDKVersion that we support is 21 and we do not have any other version that could support minSdkVersion 19.

Please add the dependencies in your build.gradle file and it should fix the issue you are facing:

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'])
}

Hope this helps. Thanks!

3 Likes

just FYI, in the latest version of gradle if you add:

implementation project(':commonlib')
implementation project(':mobilertc')
>>>> implementation fileTree(dir: 'libs', include: ['*.jar'])

The duplicateclasscheck task will complain, hence:

implementation project(':commonlib')
implementation project(':mobilertc')

is perfectly fine…

Regards!

Hi jm.cazaresg,

Thanks for using Zoom SDK and thanks for sharing the tips! :slight_smile:

Continuing the discussion from Android Resource Linking Failed:

What went wrong:
Could not determine the dependencies of task ‘:app:lintFix’.

Could not resolve all artifacts for configuration ‘:app:releaseCompileClasspath’.
Could not find :commonlib:.
Required by:
project :app
Could not find :mobilertc:.
Required by:
project :app
can u please help me to solve this issue.