question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Could not resolve all files for configuration ( Could not find com.github.yalantis:ucrop:2.2.6)

See original GitHub issue

Getting this while building the app (android version Lollipop)

Execution failed for task ':app:checkDebugAarMetadata'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
   > Could not find :unspecified:.
     Required by:
         project :app > com.github.Drjacky:ImagePicker:1.8.1
   > Could not find com.github.yalantis:ucrop:2.2.6.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/com/github/yalantis/ucrop/2.2.6/ucrop-2.2.6.pom
       - https://jcenter.bintray.com/com/github/yalantis/ucrop/2.2.6/ucrop-2.2.6.pom
     Required by:
         project :app > com.github.Drjacky:ImagePicker:1.8.1

Possible solution:
 - Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Drjackycommented, Mar 26, 2021
buildscript {
...
    repositories {
        google()
        mavenCentral()
        maven {
            url "https://plugins.gradle.org/m2/"
        }
...
}

allprojects {
    repositories {
        google()
        mavenCentral()
        maven { url "https://maven.google.com" }
        maven { url "https://jitpack.io" }
        maven { url "https://plugins.gradle.org/m2/" }

0reactions
rahulagr96commented, Mar 26, 2021

Thank you so much. It worked 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Could not resolve all files for configuration ':image_picker ...
I have a problem when run the app flutter: Launching lib\main.dart on sdk gphone x86 in debug mode... Running Gradle task 'assembleDebug'.
Read more >
android - Could not resolve all files for configuration: ':app ...
So that it would not keep going to the Jitpack repo to look for that local directory. Then inside of app/build.gradle :
Read more >
Could not resolve all files for configuration - appsloveworld.com
[Solved]-Could not resolve all files for configuration ':app:debugCompileClasspath'. > Could not find com.android.support:support-v4:28.1.0-React Native.
Read more >
Could not resolve all files for configuration - Anycodings.com
Could not resolve all files for configuration ':app:debugCompileClasspath'. > Could not find com.android.support:support-v4:28.1.0 ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found