Google-signin: Android Build failed with could not find com.android.tools:common:25.2.3.

Created on 8 Dec 2018  路  5Comments  路  Source: react-native-google-signin/google-signin

I just install the latest version of the google-signin in and build failed with Could not find com.android.tools:common:25.2.3. error.

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 Required by: project :react-native-google-signin > 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-google-signin > 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-google-signin > 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-google-signin > 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-google-signin > 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-google-signin > 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-google-signin > 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-google-signin > 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

Android

Please provide the version of your

  • react-native : 0.57.7
  • react-native-google-signin : 1.0.1
buildscript {
    ext {
        buildToolsVersion = "27.0.3"
        minSdkVersion = 16
        compileSdkVersion = 27
        targetSdkVersion = 26
        supportLibVersion = "27.1.1"
        googlePlayServicesAuthVersion = "16.0.1"
    }
    repositories {
        google()
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.1.4'
        classpath 'com.google.gms:google-services:4.1.0'


        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

Please help me to figure out this.

Most helpful comment

It looks like they need to update the Gradle build tool 3.2.1

All 5 comments

Same problem here 馃槥

It looks like they need to update the Gradle build tool 3.2.1

It looks like they need to update the Gradle build tool 3.2.1

Yea, this solve my problem.

This worked for me, but I also had to add @KalebMatthews code snippet in the <project-level>/build.gradle (see his comment on a similar issue).

It will override the configuration for a particular module.

thanks for reporting, this is fixed in latest release

Was this page helpful?
0 / 5 - 0 ratings