2015-10-26 77 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