http://www.androidren.com/index.php?qa=162&qa_1=gradle-location-is-unknow
老外的一种方案:
The gradle plugin (which contains a bundled version of gradle) should be already installed inwhere/you/installed/android-studio/plugins/gradle so you shouldn't need to manually download it.
If you intend on doing gradle development outside Android Studio or want a different version, you can download it separately and point it at that path, but if you only want to get Android Studio working with the bundled version, this path should do it.
我用的是去Android Studio安装目录里找到gradle目录选择的。
本文介绍了如何解决Gradle位置未知的问题,建议检查Android Studio安装目录下的plugins/gradle文件夹,确认Gradle插件已正确安装。若需使用不同版本的Gradle或在Android Studio之外进行开发,可单独下载并指定路径。

1万+

被折叠的 条评论
为什么被折叠?



