Execution failed for task ':app:checkDebugAarMetadata'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
> Could not find com.google.android:flexbox:2.0.1.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/google/android/flexbox/2.0.1/flexbox-2.0.1.pom
- https://repo.maven.apache.org/maven2/com/google/android/flexbox/2.0.1/flexbox-2.0.1.pom
- https://jitpack.io/com/google/android/flexbox/2.0.1/flexbox-2.0.1.pom
Required by:
project :app > com.github.Dhaval2404:ColorPicker:v2.0
Possible solution:
- Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html
I think it's because I don't use the repository "jcenter()" anymore (it's deprecated).
It would be nice if this project could also use mavenCentral() instead of jcenter() and try to Update this