创建新项目Android Studio 0.2.3 - 无法启动Gradle守护进程 [英] Create New Project Android Studio 0.2.3 - Unable to start Gradle daemon process
问题描述
我对Android Studio有严重问题。
我已经完全卸载了Android Studio以及我的电脑上的任何Eclipse副本。
然后我删除了用户文件夹中的.gradle .android文件夹。
我然后在我的电脑上重新安装了最新版本。
.gradle和.android文件夹已被重新创建。
我现在尝试创建一个新项目。
我设置了所有常用的,然后出现以下错误:
我已经阅读了多篇文章,大部分是针对旧版Android Studio的。
我的SDK是最新版本的,是的,我确实安装了Android支持库修订版本2以及Android支持库修订版。
如此复杂,我只是无法理解。
问候
Adrian Wreyford
这让我没有正确的GRADLE_HOME路径。
我手动下载了最新的Gradle-1.7版本。
Android studio 0.2.3使用的是1.6,但后来我手动修复0.2.5使用Gradle-1.7。
我创建了一个System变量:GRADLE_HOME with值:D:\gradle-1.7指向我的手动Gradle安装。
我将'真实路径'(在windows截断之前)打破为'扩展'路径因此缩短了我的实际路径,并在路径末尾插入以下内容:
%GRADLE_HOME%/ bin;%JAVA_HOME%/ bin;
处理stackoverflow上的截断窗口路径有很多链接。
这就是让它工作所需的一切。
希望我能帮助别人!
I'm having serious problems with Android Studio. I have totally uninstalled Android Studio, and any copies of Eclipse on my PC. I then deleted the .gradle .android folders in the users folder. I then Re-installed the latest release on my PC. The .gradle and .android folders have been recreated.
I now try to create a new project. I set all the usual, and then the following error comes up:
I have read multiple posts, most for older versions of Android Studio. My SDK is up to date, and yes I do have the Android Support Repository Revision 2 installed as well as Android Support Library Rev 18.
Why this has to be so complicated I just cannot understand.
Regards Adrian Wreyford
Well I managed to solve it after many hours of trying.
First of all I use Windows 7, with 16GB ram, and it was the system path that was truncated! This left me without the proper GRADLE_HOME path.
I manually downloaded the latest Gradle-1.7 build. Android studio 0.2.3 was using 1.6, but subsequently to my manual fix 0.2.5 uses Gradle-1.7.
I created a System variable: GRADLE_HOME with value: D:\gradle-1.7 that points to my manual Gradle install.
I broke my 'real path' (before windows truncated it) into 'extended' path variables, thus shortening my actual path, and inserted the following at the end of the path: %GRADLE_HOME%/bin;%JAVA_HOME%/bin;
There are many links on dealing with truncated windows path on stackoverflow. And that was all that was required to get it working.
Hope I can help someone else!
这篇关于创建新项目Android Studio 0.2.3 - 无法启动Gradle守护进程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!