0

Failed to create JVM : error code -4. JVM Path: C:\Program Files\Java\jdk1.7.0_79\jre If you have already have a 32-bit JDK installed, define a JAVA_HOME variable

1 Answers1

1

Had the same problem

  • Only put one source in JAVA_HOME . example.C:\Program Files\Java\jdk1.7.0.79\jre
  • even that didnt worked try changing this file called studio.exe.vmoptions(32bit) and studio64.exe.vmoptions(64bit) which is situated in the installation directory of android studio\bin . change the line called -Xmx750m to -Xmx512m, it worked for me

Hope it would be useful

if any doubts please mention

Yan Chummar
  • 63
  • 11