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:
- 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)), - find the
studio.exe.vmoptions
(orstudio64.exe.vmoptions
) file and delete it. - try to open Android Studio again.
Related Topics
Is Addition of Byte Converts to Int Because of Java Language Rules or Because of Jvm
What to Learn for Making Java Web Applications in Java Ee 6
Adding Java Annotations at Runtime
Configuring Log4J Loggers Programmatically
How to Implement in Java ( Jtextfield Class ) to Allow Entering Only Digits
Java - Declaring from Interface Type Instead of Class
Jackson Enum Serializing and Deserializer
Encoding Url Query Parameters in Java
Meaning of the Import Statement in a Java File
Input and Output Binary Streams Using Jersey
How to Set Thousands Separator in Java
Intellij Fat One Jar Artifact Does Not Generate a Working Output