after updating android studio 2.3 to 3.0 i got lots of errors so many work i done it but didn\'t work
Error:Could not resolve all files for configuration \':app:debugCo
Download gradle from:http://services.gradle.org/distributions/
choose the file such as gradle-4.1-rc-1-all.zip
Find your gradle directory in AndroidStudio setting-->Build,Execution,Deployment -->Gradle
Unzip the file to "(your gradle path)\wrapper\dists\gradle-4.1-all\bzyivzo6n839fup2jbap0tjew"
Ihave had the same problem.
Finally I fixed it ussing an external gradle instalation. To make it you need to configure File->Settings->Build,Execution and deployments->Gradle
Check -> Use local gradle distribution
Select gradle home instalation.
If you are using an corporative connection, you also have to configure gradle proxy properties configuring or creating file gradle.properties
in folder "/Users/user/.gradle
":
#http proxy setup
systemProp.http.proxyHost=url
systemProp.http.proxyPort=port
systemProp.http.nonProxyHosts=*.nonproxyrepos.com|localhost
#https proxy setup
systemProp.https.proxyHost=url
systemProp.https.proxyPort=port
systemProp.https.nonProxyHosts=*.nonproxyrepos.com|localhost
That's all!