Could Not Resolve All Dependencies for Configuration ':Classpath'

Could not resolve all dependencies for configuration ':classpath'

Right, I'm not sure if it will work for others but worked for me.

I changed proxyPort to 8080 and used jcenter instead of Maven. But I had to apply expeption to use HTTP instead of HTTPS. This is what I have in my build.gradle for build script and allprojects

buildscript {
repositories {
jcenter {
url "http://jcenter.bintray.com/"
}
}
}

allprojects {
repositories {
jcenter {
url "http://jcenter.bintray.com/"
}
}
}

UPDATE: 06/08

I have recently updated Gradle and plugin version and had some problems. It was complaining about plugin com.android.application

I did some digging around and changed

 jcenter {
url "http://jcenter.bintray.com/"
}

to

repositories {
maven { url 'http://repo1.maven.org/maven2' }
}

Gradle: Could not resolve all dependencies for configuration ':classpath'

Update last version android studio to 2.1.2 and change

classpath 'com.android.tools.build:gradle:2.1.2'

react native - could not resolve all dependencies for configuration ':classpath'

Can you try this below.
Delete android, ios and node modules folder

run > npm install  /to get the node modules folder
> react-native upgrade //to get both android and ios folder
> react-native link //to link the libraries
> react-native run-android/run-ios

Could not resolve all task dependencies for configuration with two dimensions, despite having matchingFallbacks

This appears to be a bug in Gradle.

I have this problem in com.android.tools.build:gradle:7.1.2 (any 7.1.* version really) and the 7.2 beta versions. Going back to 7.0.4 fixes the problem.



Related Topics



Leave a reply



Submit