问题描述
如何设置摇篮家,而导入现有项目的Android工作室。试图导入我需要设置这个路径。
How to set gradle home while importing existing project in Android studio. While trying to import I need to set up this path.
推荐答案
在摇篮插件(其中包含摇篮的捆绑版本)应该已经安装在的在这里/你/安装/ Android的工作室的/插件/摇篮所以你不应该需要手动下载。根据机器人工作室的版本,最后一个目录可能的在这里/你/安装/ Android的工作室的/摇篮/摇篮-XYZ(xyz是版本,所以检查文件系统的确切路径)
The gradle plugin (which contains a bundled version of gradle) should be already installed in where/you/installed/android-studio/plugins/gradle so you shouldn't need to manually download it. Depending on the version of Android Studio, that last directory may be where/you/installed/android-studio/gradle/gradle-x.y.z (x.y.z is the version, so check your filesystem for the exact path).
如果你打算做安卓工作室以外的摇篮开发或想有一个不同的版本,您可以单独下载它,并在这条道路指向,但如果你只是想获得Android的工作室正在与捆绑的版本,这条道路应该做的吧。
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工作室的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!