After updating Android studio, my project now throws error The specified Gradle installation directory 'C:Program FilesAndroidAndroid Studiogradlegradle-2.14.1' does not exist.
When checking that installation path, there is no gradle folder.
I also tested a sample project, and that seems to be working.
Update: found the solution in this comment: How to update gradle in android studio?
2
Answers
I have solved like this:
You’ll:
In Android Studio -> File -> Settings -> Build, Execution, Deployment -> Build Tools -> Gradle
In "Use Gradle from" you choose ‘gradle-wrapper.properties’ file. And in Gradle JDK you choose what you need.
Update your Gradle JDK from File->Project Structure->SDK Location click JDK was moved to Gradle Settings and update enter image description here