Skip to content

Commit 5d67656

Browse files
fix: Build fails due to deprecated dependencies (#746)
- Resolved build failure by addressing issues with deprecated dependencies. - The `com.theartofdev.edmodo:android-image-cropper:2.8.0` package, which is no longer maintained and removed from repositories, has been temporarily published to our GitHub account and used in the project to resolve the issue. - Updated the `com.google.android:flexbox:2.0.1` package, which has been removed and replaced with `com.google.android.flexbox:flexbox:3.0.0` in the latest version. This update was applied in the mobilertc `build.gradle` file, following Zoom's suggested changes. More details can be found on the Zoom community issue [here](https://devforum.zoom.us/t/could-not-resolve-com-google-android2-0-1-for-zoom-sdk-android-5-17-11-20433/115918).
1 parent fa116f6 commit 5d67656

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

build.gradle

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,11 @@ allprojects {
2121

2222
repositories {
2323
google()
24-
jcenter() {
25-
content {
26-
includeModule("com.google.android", "flexbox")
27-
includeModule("com.theartofdev.edmodo", "android-image-cropper")
28-
}
29-
}
24+
jcenter()
3025
mavenCentral()
3126
maven { url "https://jitpack.io" }
3227
maven {url "https://phonepe.mycloudrepo.io/public/repositories/phonepe-intentsdk-android"}
28+
maven { url "https://github.com/testpress/Android-Image-Cropper/raw/main" }
3329
}
3430
}
3531

@@ -67,7 +63,7 @@ ext {
6763
universalImageLoader = 'com.nostra13.universalimageloader:universal-image-loader:1.9.5'
6864
chart = 'com.github.testpress:MPAndroidChart:v3.0.0-beta2'
6965
greendao = 'org.greenrobot:greendao:3.2.0'
70-
imageCropper = 'com.theartofdev.edmodo:android-image-cropper:2.7.0'
66+
imageCropper = 'com.theartofdev.edmodo:android-image-cropper:2.8.0'
7167
lottie = 'com.airbnb.android:lottie:2.5.4'
7268
roboelectric = "org.robolectric:robolectric:4.3.1"
7369
androidxCore = 'androidx.test:core:1.4.0'

mobilertc/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ dependencies.add("default","androidx.swiperefreshlayout:swiperefreshlayout:1.1.0
1010
dependencies.add("default","androidx.appcompat:appcompat:1.3.1")
1111
dependencies.add("default","androidx.constraintlayout:constraintlayout:2.1.0")
1212
dependencies.add("default","com.google.android.material:material:1.8.0")
13-
dependencies.add("default","com.google.android:flexbox:2.0.1")
13+
dependencies.add("default","com.google.android.flexbox:flexbox:3.0.0")
1414
dependencies.add("default","androidx.multidex:multidex:2.0.1")
1515
dependencies.add("default","com.google.code.gson:gson:2.9.1")
1616
dependencies.add("default","com.github.bumptech.glide:annotations:4.11.0")

0 commit comments

Comments
 (0)