簡體   English   中英

設置android studio

[英]set up android studio

幫助,請確保Android Studio 1.4無法在我的電腦上正常運行。 現在已經花了大約一個星期了,令人沮喪。 我得到一些錯誤:

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)

這是我的畫面

啟動項目后的屏幕截圖

我已經從Android SDK Manager安裝了所有標記的選項,但是仍然無法使用。 始終使用“以管理員身份運行”選項啟動,並嘗試在脫機和聯機時啟動。 請幫助。

您可能會在計算機上沒有足夠的可用內存。

請記住 ,如果您沒有至少1GB的可用內存,就會遇到問題

以管理員身份運行Android Studio:

  1. 轉到“文件”,然后按“設置”(或使用快捷鍵:Ctrl + Alt + S)

  2. 前往編譯器

  3. 查找虛擬機選項,然后放入-Xmx512m。

  4. 按應用

  5. 按確定

  6. 重新啟動IDE

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM