Hello everyone!
I was trying to make a new project starting with dependencies when I got this:
1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':app:checkDebugAarMetadata'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
> Could not find com.github.unsplash:unsplash-photopicker-android:1.0.1.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/github/unsplash/unsplash-photopicker-android/1.0.1/unsplash-photopicker-android-1.0.1.pom
- https://repo.maven.apache.org/maven2/com/github/unsplash/unsplash-photopicker-android/1.0.1/unsplash-photopicker-android-1.0.1.pom
Required by:
project :app
I tried to implenment this library as mentioned here: https://github.com/unsplash/unsplash-photopicker-android, so I also included maven repo like this:
repositories {
maven { url 'https://jitpack.io' }
google()
mavenCentral()
}
I have no idea why this error occured and would be happy if you can help me!