1

I updated Android Studio from 3.0.1 to 3.1, and updated Gradle from 4.1 to 4.6

distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip

And I get this error

Could not GET 'https://jcenter.bintray.com/commons-codec/commons-codec/1.6/commons-codec-1.6.jar'. 
Received status code 504 from server: Gateway Time-out

I tired this solution, but still having the error.

Nikunj
  • 3,937
  • 19
  • 33
Den
  • 283
  • 1
  • 9
  • https://stackoverflow.com/questions/49510176/android-studio-gradle-sync-failed-could-not-head-received-status-code-5 – laalto Mar 27 '18 at 12:00

0 Answers0