I know this question has been asked before but I haven’t been able to fix the issue. I am running Android Studio version 3.1.4. I am trying to run an app that I cloned from a Github repository. But even before I try to run it, I get this error:
my-app: sync failed
How do I fix this error? Thanks in advance.
You can check and change the distribution url in the properties file
$rootDir/gradle/wrapper/gradle-wrapper.properties. See property
Value should be something as follows (update the gradle version depending on your Android Studio version)
Answered By – M.Ricciuti