Open moazelsawaf opened 1 year ago
The reason for the issue is that the dependency flexbox-2.0.1
was hosted on jcenter()
, which has been shut down.
One solution to solve this issue is to remove the jcenter()
repository from all of the repositories objects in the build.gradle
(Project Level) file and add a mirror repository for it, such as Aliyun Mirror, for example:
buildscript {
ext.kotlin_version = '1.8.22'
repositories {
google()
mavenCentral()
- jcenter()
+ maven { url "https://maven.aliyun.com/repository/jcenter" }
}
dependencies {
classpath 'com.android.tools.build:gradle:7.1.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
allprojects {
repositories {
google()
mavenCentral()
- jcenter()
+ maven { url "https://maven.aliyun.com/repository/jcenter" }
}
}
I am reopening the issue to make it visible for everyone facing the same issue and to allow maintainers to find a better solution within the package it self.
When I try to build/run the app I get the following error:
Any idea on how to fix this issue?