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

后端 未结 6 620
南笙
南笙 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:47

    Please cross check VMoptions filestudio64.exe.vmoptions file or delete the studio64.exe.vmoptions from the location C:\Users\pcname.AndroidStudioX.Y

    0 讨论(0)
  • 2021-02-08 07:47

    If you have updated or created studio64.exe.vmoptions which present at the location {$user}/.AndroidStudio$version. Delete the file

    0 讨论(0)
  • 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

    0 讨论(0)
  • 2021-02-08 07:56

    Delete this file studio64.exe.vmoptions inside

    C:\Users\%USER%\.AndroidStudio{version}\config

    0 讨论(0)
  • 2021-02-08 07:57

    just go this directory:

    C:\Users\{pc name}

    and delete all folders starting with .AndroidStudio

    This solves the issue.

    0 讨论(0)
  • 2021-02-08 08:06

    This problem can occur if there is something like a comment in the red box,so you should delete it.

    0 讨论(0)
提交回复
热议问题