Error Launching Android Studio: Failed to Create Jvm: Error Code-6

Error launching Android Studio failed to create Jvm

C:\Users\yourname\.android\studio.exe.vmoptions----delete this file your problem solved

Failed to create JVM Android studio

I found the solution here https://ru.stackoverflow.com/a/949611/195957

Translate :

It is hard to say why this issue is came... For Android Studio don't need JAVA_HOME variable at all.

It mostly looks like that during the installation something goes wrong with AS settings.

Copying of dir config from previous working AS version Users/username/.AndroidStudio3.2 in .AndroidStudio3.3 can solve the problem.

Maybe problem exactly in options/jdk.table.xml file. Try to start with it firstly.

Failure to launch Android Studio; Failed to create JVM: error code -1

Problem solved!
This thread was extremely helpful:

failed to create jvm error code 4 android studio

What ended up working for me was deleting the Android Studio setting folder in my user folder.

C:\Users\my_username.AndroidStudio

Then re-open Android Studio then everything work fine for me.

Android Studio : Failed to create JVM error code : -1

Had the same problem, this was my solution:

  1. go to C:\Users\ *username* \\.androidStudio\ (your path might be a bit different, but make sure to go the local version of Android Studio, not the general version (that lives in the Program Files directory)),
  2. find the studio.exe.vmoptions (or studio64.exe.vmoptions) file and delete it.
  3. try to open Android Studio again.


Related Topics



Leave a reply



Submit