Error launching Android Studio: Failed to create JVM: error code-6

后端 未结 6 716
南笙
南笙 2021-02-08 07:41

I install Android Studio and run normally. But because it was a bit slow so I follow instructions from the website: How can you do when Android Studio was slow and It made me un

6条回答
  •  庸人自扰
    2021-02-08 07:56

    You should:
    - Use Windowx x64 (64 bit, because your computer has 4GB RAM).
    - Use lastest JDK (1.8 update 92, x64) for Windows
    - Important:
    Press combination keys: Windows + R or Run utility.
    type: systempropertiesadvanced

    set environment variable:
    JAVA_HOME directory where JDK installed.
    add to PATH variable: %JAVA_HOME%\bin

提交回复
热议问题