问题场景:新版本Android Studio Chipmunk | 2021.2.1打开老项目,build时出现问题
The specified Gradle installation directory
完美解决:
1、打开顶部菜单:File -> Setting -> Build,Execution,Deployment -> BuildTools -> Gradle
找到Gradle projects 下面的Gradle -> Use Gradle from -> 下来选择修改为:'gradle-wrapper.properties' file 如下图
然后apply
完美解决。
来源地址:https://blog.csdn.net/qq_33721320/article/details/124927895