2015-10-26 107 views
0

帮助请不要设置Android studio 1.4在我的电脑上正常工作。已经上了大约一个星期了,这很令人沮丧。有些错误,我得到:设置android studio

9:21:34 PM Gradle sync started 
9:21:38 PM Gradle sync failed: Unable to start the daemon process. 
      This problem might be caused by incorrect configuration of the daemon. 
      For example, an unrecognized jvm option is used. 
      Please refer to the user guide chapter on the daemon at http://gradle.org/docs/2.4/userguide/gradle_daemon.html 
      Please read the following process output to find out more: 
      ----------------------- 
      Error occurred during initialization of VM 
      Could not reserve enough space for object heap 
      Error: Could not create the Java Virtual Machine. 
      Error: A fatal exception has occurred. Program will exit. 
      Consult IDE log for more details (Help | Show Log) 

这里是我的屏幕看起来像什么

screen shot after launching a project

我已经安装了Android SDK中Manager的所有标记的选项,但它仍然没有工作。始终以“以管理身份运行”选项启动,并尝试在离线和在线时启动。请帮助。

回答

0

您可能没有足够的可用内存在您的计算机上。

记住你就要有一个问题,如果你没有可用内存至少1GB

运行Android工作室为管理员:

  1. 转到文件,然后按设置(或使用快捷键:Ctrl + Alt + S)

  2. 转到编译

  3. 查找VM选项并把-Xmx512m。

  4. 按应用

  5. 按OK

  6. 重启IDE

+0

我还没有得到开发任何应用的阶段。我甚至无法在设计模式下拖放按钮 - 无法编辑任何内容。 –

+0

@EzeA。我编辑了我的答案。 – lockdawn