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.

[Known Issue] Error: Failed to resolve: com.twitter.sdk.android:twitter:2.0.0 when syncing with Gradle

See original GitHub issue

If you are upgrading a project to version 1.0.0 you may encounter the error Failed to resolve: com.twitter.sdk.android:twitter:2.0.0 when syncing your project with Gradle. Version 1.0.0 has added a new required configuration step. To resolve this issue you must add the Fabric repository to your repositories:

repositories {
    // ...
    maven { url 'https://maven.fabric.io/public' }
}

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:35
  • Comments:41 (5 by maintainers)

github_iconTop GitHub Comments

15reactions
kirtan403commented, Nov 7, 2016

Adding this to readme will be better.

7reactions
GaborPetocommented, Nov 14, 2016

I had the same problem in 1.0.0 and solved it. I have an android app module with an android library module (authentication). The authentication module has dependency on firebaseUI. I received the error above and solved it by adding the repositories to both build.gradle files. Not sure why this works, but I hope it helps:

app/build.gradle:

android {

  repositories {
    maven { url 'https://maven.fabric.io/public' }
  }
...

authentication/build.gradle:

android {

  repositories {
    maven { url 'https://maven.fabric.io/public' }
  }
...
Read more comments on GitHub >

github_iconTop Results From Across the Web

Error:Failed to resolve: com.twitter.sdk.android:twitter:2.3.0
Your project's gradle file should look like this. ... It supports authentication using passwords, popular federated identity providers like ...
Read more >
Different Ways to fix "Error running android: Gradle project ...
Different Ways to fix “Error running android: Gradle project sync failed” in Android Studio · Method 1: Restarting your project using Invalidate ......
Read more >
Known issues with Android Studio and Android Gradle Plugin
This page tracks known issues with Android Studio Dolphin | 2021.3.1 and Android Gradle ... "peer not authenticated" errors from Gradle sync or...
Read more >
Error:Failed to resolve: com.twitter.sdk.android:twitter:2.3.0
I am getting this error in my log cat. Error:Failed to resolve: com.twitter.sdk.android:twitter:2.3.0. When I try adding this dependency:
Read more >
Upgrading your build from Gradle 4.x to 5.0
Gradle 5.x will generate (potentially less obvious) errors if you try to upgrade directly ... The Worker API for enabling units of work...
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