I am using Android Studio 3.1.3. Gradle build sync failed. I used following method but there is no use of it. If there is any solution please tell me
You should add google() repository to your dependencies
google()
allprojects { repositories { google() jcenter() } }