Skip to content
This repository has been archived by the owner on Jun 30, 2022. It is now read-only.

Could not find com.android.tools:common:25.3.3 #12

Open
KalebMatthews opened this issue Dec 9, 2018 · 2 comments
Open

Could not find com.android.tools:common:25.3.3 #12

KalebMatthews opened this issue Dec 9, 2018 · 2 comments

Comments

@KalebMatthews
Copy link

Android build gradle has issues with 2.3.3 (which is what com.android.tools.build:gradle:2.3.+ will resolve to). This need to be resolved by dropping to 2.3.0 or an acceptable version of the gradle that contains a proper version of com.android.tools:common.

Temp Workaround:

For those those that use local build simple replace com.android.tools.build:gradle:2.3.+ to com.android.tools.build:gradle:2.3.0.

For those that do not use local builds add the following to your app's build.gradle:

subprojects {project ->
    if (project.name.contains('module name, e.g. react-native-image-picker')) {
            buildscript {
                repositories {
                maven { url "https://dl.bintray.com/android/android-tools/"  }
            }    
        }
    }
}

This will override the current configuration for you. This is for those that can not modify the projects gradle during the build process.

@vanman0407
Copy link

me too, thanks KalebMatthews.

@listenzz
Copy link
Owner

The version of gradle build tools has been updated in the latest release.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants