The specified Gradle installation directory XXX\gradle\gradle-2.14.1

created at 06-03-2022 views: 10

problem

Problem scenario: When the new version androidStudio opens the old project, the problem with build:

The specified Gradle installation directory E:\android-studio\gradle\gradle-2.14.1

The above is the error message I encountered

solution

  1. Open the top menu: File -> Setting -> Build, Execution, Deployment -> BuildTools -> Gradle
  2. Find Gradle under Gradle projects -> Use Gradle from -> down select and modify it to: gradle-wrapper.properties file and then apply & ok
created at:06-03-2022
edited at: 06-03-2022: