Error starting Android Studio: could not create JVM: error code-6

I install Android Studio and it starts normally. But since it was a bit slower, so I follow the instructions on the website: How can you do it when Android Studio was slow , and it made me not to reopen although I tried to uninstall and reinstall AS, as well as Java. I use Android studio 2.1, Windows 8.1, i3 core, 4 GB RAM.

enter image description here

+5
source share
4 answers

just go to this directory:

C: \ Users \ {pc name}

and delete all folders starting with .AndroidStudio

This solves the problem.

+18
source

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

+8
source

If you updated or created studio64.exe.vmoptions , which are present in the {$ user} / directory. AndroidStudio $ version. Delete a file

+1
source

You must:
- Use Windowx x64 (64 bit because your computer has 4 GB of RAM).
- Use the latest JDK (1.8 update 92, x64) for Windows
- Important:
Press the key combination: Windows + R or Run .
type: systempropertiesadvanced
enter image description here enter image description here enter image description here enter image description here enter image description here

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

0
source

All Articles