Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

The specified Gradle installation directory does not exist error after Android Studio update 2021 1 1 patch2

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?

like image 749
aphelion Avatar asked Aug 30 '25 15:08

aphelion


1 Answers

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.

like image 192
Олександр Забудський Avatar answered Sep 09 '25 16:09

Олександр Забудський