[Solved] Error launching studio


Error Launching Studio:

If you already have a 64-bit JDK installed,
define a JAVA_HOME variable in
Computer > System Properties > System Settings > Environment Variables.
Failed to create JVM. JVM Pathc C:\Program Files\Android\Android Studio\jre\jre

If you received the above error message pop-up when you try to open IntelliJ Android Studio IDE, then follow the below steps to resolve it,

  1. Right Click on Windows icon
  2. Select Settings
  3. Search for "Edit System Environment Variables"
  4. Click on the button "Enviroment Variables"
  5. Look for "JAVA_HOME" under System variables, if you do not find it set one, this should resolve the issue.
  6. If at Step 5 you see JAVA_HOME property set then maybe you created a studio64.exe.vmoptions file with errors in it.
How to resolve studio64.exe.vmoptions Issue:
  1. Go to C: Drive -> Users -> Your User Folder -> .AndroidStudio4.0 -> config
  2. Open file studio64.exe.vmoptions
  3. Take a backup of all the text in it and clear all text in it
  4. Now Start Android Studio, it should work

If you are sure what you are doing - validate and fix the issue you have in the vmoptions file. You can follow https://developer.android.com/studio/intro/studio-config for more information.



















Copyright © Code2care 2024 | Privacy Policy | About Us | Contact Us | Sitemap