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.

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

See original GitHub issue

i can not build my android project on mac with this build.gradle : `// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript { ext { buildToolsVersion = “27.0.3” minSdkVersion = 16 compileSdkVersion = 27 targetSdkVersion = 26 supportLibVersion = “27.1.1” } repositories { jcenter() google() } dependencies { classpath ‘com.android.tools.build:gradle:3.1.4’

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

}

allprojects { repositories { mavenLocal() jcenter() maven { // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm url “$rootDir/…/node_modules/react-native/android” } google() } }

task wrapper(type: Wrapper) { gradleVersion = ‘4.4’ distributionUrl = distributionUrl.replace(“bin”, “all”) } `

this error happend::

`A problem occurred configuring project ‘:react-native-fast-image’.

Could not resolve all artifacts for configuration ‘:react-native-fast-image:classpath’. Could not find com.android.tools:common:25.3.3. Searched in the following locations: https://jcenter.bintray.com/com/android/tools/common/25.3.3/common-25.3.3.pom https://jcenter.bintray.com/com/android/tools/common/25.3.3/common-25.3.3.jar Required by: project :react-native-fast-image > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3 > com.android.tools.build:builder:2.3.3 project :react-native-fast-image > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3 > com.android.tools.build:builder:2.3.3 > com.android.tools.build:manifest-merger:25.3.3 project :react-native-fast-image > com.android.tools.build:gradle:2.3.3 > com.android.tools.build:gradle-core:2.3.3 > com.android.tools.build:builder:2.3.3 > com.android.tools.ddms:ddmlib:25.3.3`

what is that for ???

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:19
  • Comments:16 (1 by maintainers)

github_iconTop GitHub Comments

25reactions
fanr870606commented, Dec 8, 2018

In your app build.gradle you can add:

subprojects {project ->
    if (project.name.contains('your module name, E.g. react-native-fast-image')) {
            buildscript {
                repositories {
                maven { url : 'Different repository'  }
            }    
        }
    }
}

You could use something like

maven { url : "https://dl.bintray.com/android/android-tools/" }

I had the same problem, this works for me. I use Bitrise

10reactions
seankoolecommented, Dec 8, 2018

Same issue here.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error:Could not find com.android.tools.build:gradle:3.3. Issue ...
I got this error again > Could not resolve all artifacts for configuration ':classpath'. > Could not find com.android.tools.build:gradle:3.3.2.
Read more >
Could not find com.android.tools.build:gradle:3.2.1 ... - GitHub
I am getting following error after updating AS to 3.3. ERROR: Could not find com.android.tools.build:gradle:3.2.1. Searched in the following ...
Read more >
could not find com.android.tools.build.gradle in android studio
Solve could not find com.android.tools.build.gradle error in android studioclear browser history by easy ...
Read more >
How to fix "Could not find com.android.tools.build.gradle" error ...
A quick fix is given for error " Could not find com.android.tools.build.gradle" in android studio#build#gradle#AndroidStudio#error.
Read more >
Could not find com.android.tools.build:gradle:3.3.1如何解决_ ...
ERROR: Could not find com.android.tools.build:gradle:3.3.1. Searched in the following locations: - https://jcenter.bintray.com/com/android/tools ...
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