# Android SDK Gradle deprecated dependencies conflict SOLVED

**URL:** <https://devforum.zoom.us/t/android-sdk-gradle-deprecated-dependencies-conflict-solved/99396>\
**Category:** Meeting SDK\
**Tags:** android\
**Created:** [December 1, 2023, 7:41pm UTC](https://devforum.zoom.us/t/android-sdk-gradle-deprecated-dependencies-conflict-solved/99396 "2023-12-01T19:41:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![maciej.r](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maciej.r/32/52514_2.png) [@maciej.r](https://devforum.zoom.us/u/maciej.r)\
**Post date:** [December 1, 2023, 7:41pm UTC](https://devforum.zoom.us/t/android-sdk-gradle-deprecated-dependencies-conflict-solved/99396/1 "2023-12-01T19:41:23Z")

</div>

Android Zoom Sdk, mobilertc project v5.16.0+ contains dependency:

com.davemorrissey.labs:subsampling-scale-image-view:3.10.0  
(with the latest rellease at 25.03.2018, and lat upsate 30.12.2020) that contains dependency tree:

> ±-- com.android.support:support-annotations:27.1.0  
> | -– com.android.support:exifinterface:27.1.0  
> | -– com.android.support:support-annotations:27.1.0  
> According to Android docimentation Paket-Paket Support Library | Developer Android | Android Developers 4 all support packages are deprecated and should be migrated to androidx  
> Old support libraries are not compatible with androidx librarties.

mobilertc project v5.15.+ does not contain that dependency.

Any app build with mobilertc project v5.16.0+ can’t pass the lint check.

Build warning example:

> WARNING: Your project has set `android.useAndroidX=true`, but configuration `:app:debugRuntimeClasspath` still contains legacy support libraries, which may cause runtime issues.  
> This behavior will not be allowed in Android Gradle plugin 8.0.  
> Please use only AndroidX dependencies or set `android.enableJetifier=true` in the `gradle.properties` file to migrate your project to AndroidX (see [Migrate to AndroidX &nbsp;|&nbsp; Android Developers](https://developer.android.com/jetpack/androidx/migrate) for more info).  
> The following legacy support libraries are detected:  
> :app:debugRuntimeClasspath → project :mobilertc → com.davemorrissey.labs:subsampling-scale-image-view:3.10.0 → com.android.support:support-annotations:27.1.0  
> :app:debugRuntimeClasspath → project :mobilertc → com.davemorrissey.labs:su

One can make the app pass lint check by enabling Jetifier by adding android.enableJetifier=true in the gradle.properties file

In our case, we also needed to add `jackson-core` library to the list of not jetified libs to make the build work  
`android.jetifier.ignorelist=jackson-core`

---

<div class="post-metadata">

**Author:** ![fkubista-wellos](https://avatars.discourse-cdn.com/v4/letter/f/e47c2d/32.png) [@fkubista-wellos](https://devforum.zoom.us/u/fkubista-wellos)\
**Post date:** [March 7, 2024, 7:38pm UTC](https://devforum.zoom.us/t/android-sdk-gradle-deprecated-dependencies-conflict-solved/99396/2 "2024-03-07T19:38:01Z")

</div>

I’m seeing this same issue in v5.17.10.20175 when using compose.  
Error: Dependencies using groupId com.android.support and androidx.\* can not be combined but found com.android.support:exifinterface:27.1.0 and androidx.compose.foundation:foundation-android:1.6.2 incompatible dependencies [GradleCompatible]
