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

just go this directory:

C:\Users\{pc name}

and delete all folders starting with .AndroidStudio

This solves the issue.

Leave a Comment