Gradle Build Error In Android Studio 3.1.3.2
Solution 1:
The default gradle install is part of Android Studio sdk so if you moved your Android Studio files location or have the wrong PATH defined in your environment it won't find the sdk location like this. If your path is to a different android studio installation version it might not have that particular version of gradle in it.
Solution 2:
I show my solution in Android 3.2.1. Go to the file gradle-wrapper.properties and the line "distributionUrl" to change the version of gradle that you use, in my case i use "distributionUrl=https://services.gradle.org/distributions/gradle-3.2.1-all.zip"
Go to also File -> Setting -> Gradle and Select "Use default gradle wrapper (recommended)"
Change also in the buil.gradle(Project:TutorialKotlin) the line "classpath 'com.android.tools.build:gradle:3.2.1'"
Post a Comment for "Gradle Build Error In Android Studio 3.1.3.2"