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.

Unable to resolve dependency

See original GitHub issue

After upgrade to 2.6.0-beta01 I got this error, any advice?

Unable to resolve dependency for ':app@rcDebugUnitTest/compileClasspath': Could not resolve com.algolia:instantsearch-android:2.6.0-beta01.
Show Details
Affected Modules: app

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
Aallamcommented, Aug 24, 2020

Yes, adding the matchingFallbacks will solve the issue:

buildTypes {
    debug {
        matchingFallbacks = ['release']
    }
    release {
        // ...
     }
}

You can use it as a workaround right now until we will look into it for more details.

0reactions
b95505017commented, Aug 24, 2020

I found that there is a instantsearch-release.aar inside ~/.gradle/caches/modules-2/files-2.1/com.algolia/instantsearch-android/2.6.0-beta01/da49485dcd7f2144aa6ad2eeed7eac7692f07907 before I set matchingFallbacks.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to resolve dependency for ':app@debug ...
23 Answers 23 · Ensure that your Android Studio does not need to go through any proxy. · Export the certificate where you...
Read more >
Problem: Unable to resolve dependencies of NuGet packages
Solution · Clear the NuGet cache files. You do this in the following way: In the toolbar of Visual Studio, navigate to Tools...
Read more >
Android Studio “Unable to resolve dependency” Error - Medium
The most of users encounter errors like “Unable to resolve dependency for ':app@debug/ compileClasspath': Could not find any
Read more >
Unable to resolve dependency for ':app@debug ... - GitHub
It seems UXCam has a configuration issue that is triggering a Gradle 5.6.4 bug where it can't find dependencies when other repositories have...
Read more >
(Solved) ERESOLVE unable to resolve dependency tree while ...
1. Remove node_modules and package-lock.json and then run · 2. Or try clearing out npm cache · 3. Or run command with –legacy-peer-deps...
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