After updating Android studio, my project now throws error The specified Gradle installation directory 'C:\Program Files\Android\Android Studio\gradle\gradle-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?
I have solved like this:
In Android Studio on Windows or Linux, open Android Studio, click the menu icon, then File -> Settings -> Build, Execution, Deployment -> Build Tools -> Gradle. In Android Studio on macOS, click Android Studio -> Android Studio -> Preferences -> 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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With