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.

old version of gradle has missing dependencies

See original GitHub issue

Just today, our build started failing with the following error:

FAILURE: Build failed with an exception.
  
* What went wrong:
A problem occurred configuring project ':react-native-svg'.
> Could not resolve all artifacts for configuration ':react-native-svg:classpath'.
   > Could not find com.android.tools:common:25.2.3.
     Searched in the following locations:
         https://jcenter.bintray.com/com/android/tools/common/25.2.3/common-25.2.3.pom
         https://jcenter.bintray.com/com/android/tools/common/25.2.3/common-25.2.3.jar
         https://maven.google.com/com/android/tools/common/25.2.3/common-25.2.3.pom
         https://maven.google.com/com/android/tools/common/25.2.3/common-25.2.3.jar
     Required by:
         project :react-native-svg > com.android.tools.build:gradle:2.2.3 > com.android.tools.build:gradle-core:2.2.3 > com.android.tools.build:builder:2.2.3
         project :react-native-svg > com.android.tools.build:gradle:2.2.3 > com.android.tools.build:gradle-core:2.2.3 > com.android.tools.build:builder:2.2.3 > com.android.tools.build:manifest-merger:25.2.3
         project :react-native-svg > com.android.tools.build:gradle:2.2.3 > com.android.tools.build:gradle-core:2.2.3 > com.android.tools.build:builder:2.2.3 > com.android.tools.ddms:ddmlib:25.2.3
         project :react-native-svg > com.android.tools.build:gradle:2.2.3 > com.android.tools.build:gradle-core:2.2.3 > com.android.tools.build:builder:2.2.3 > com.android.tools.analytics-library:shared:25.2.3
         project :react-native-svg > com.android.tools.build:gradle:2.2.3 > com.android.tools.build:gradle-core:2.2.3 > com.android.tools.build:builder:2.2.3 > com.android.tools.analytics-library:tracker:25.2.3
         project :react-native-svg > com.android.tools.build:gradle:2.2.3 > com.android.tools.build:gradle-core:2.2.3 > com.android.tools.build:builder:2.2.3 > com.android.tools:sdklib:25.2.3> com.android.tools.layoutlib:layoutlib-api:25.2.3
         project :react-native-svg > com.android.tools.build:gradle:2.2.3 > com.android.tools.build:gradle-core:2.2.3 > com.android.tools.build:builder:2.2.3 > com.android.tools:sdklib:25.2.3> com.android.tools:dvlib:25.2.3
         project :react-native-svg > com.android.tools.build:gradle:2.2.3 > com.android.tools.build:gradle-core:2.2.3 > com.android.tools.build:builder:2.2.3 > com.android.tools:sdklib:25.2.3> com.android.tools:repository:25.2.3

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 8s

Upgrading to gradle 3.2.1 fixes the issue. Will submit a PR soon.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

5reactions
msandcommented, Dec 9, 2018

Published v8.0.9

4reactions
rogueturnipcommented, Dec 8, 2018

When can we expect a new npm that contains this fix?

Read more comments on GitHub >

github_iconTop Results From Across the Web

old version of gradle has missing dependencies #868 - GitHub
Just today, our build started failing with the following error: FAILURE: Build failed with an exception. * What went wrong: A problem ...
Read more >
Downgrading versions and excluding dependencies
Gradle resolves any dependency version conflicts by selecting the latest version found in the dependency graph. Some projects might need to divert from...
Read more >
How to check if Gradle dependency has new version?
Go to Android Studio -> Preferences -> Plugins (for Mac) and File -> Settings -> Plugins (for windows) and search “Check for Dependency...
Read more >
Dependency version change in build.gradle does not update ...
I can import the new version from the JetGradle window, and IntelliJ refreshes the project structure, but the old version stays in the...
Read more >
Android Gradle plugin release notes - Android Developers
If the specified plugin version has not been downloaded, Gradle downloads it the next time you build your project or click File >...
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