2016年5月18日 星期三

Android studio Failed to create JVM : error code -4

  • 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

沒有留言:

張貼留言