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
How to Get Last Record from Sqlite
Sending Files Using Post With Httpurlconnection
How to Close All Activities and Exit from an App
How Capture/Log API Calls (Function Calls) Made by Android App
Android - Show Button After Swiping Recyclerview Item
How to Add Many Spaces After the Text in Textview
How to Use Sharedpreferences in Android to Store, Fetch and Edit Values
Adb.Exe Not Found After Installing Android Studio
Android Studio - Failed to Apply Plugin [Id 'Com.Android.Application']
Android Adb Doesn't See Device
Possible Unhandled Promise Rejection (Id:0) Error: Network Error in React Native
Setting Webview to View Desktop Site and Not Mobile Site