问题描述
我有一个64位处理器和Windows8.打开我的Android Studio时,显示一个错误对话框,显示为无法创建JVM,JVM路径:C:\ Program Files \ Java \ jdk1.7.0 _25 \ jre(如果已经安装了64位JDK,请在计算机中定义JAVA_HOME变量"
I have a 64-bit processor and windows 8.And when i am opening my Android studio an error dialog box shows, written as "Failed to create JVM,JVM path:C:\Program Files\Java\jdk1.7.0_25\jre if you have already have 64 bit JDK instaled,define a JAVA_HOME variable in your computer"
推荐答案
转到C:\ Program Files \ Android \ Android Studio \ bin \ studio.exe.vmoptions在记事本中打开
Go to C:\Program Files\Android\Android Studio\bin\studio.exe.vmoptionsopen in notpad
-Xmx512m至-Xmx256m
-Xmx512m to -Xmx256m
-XX:MaxPermSize = 250m至-XX:MaxPermSize = 128m
-XX:MaxPermSize=250m to -XX:MaxPermSize=128m
或更改:
-Xmx750m至-Xmx512m
-Xmx750m to -Xmx512m
-XX:MaxPermSize = 350m至-XX:MaxPermSize = 250m
-XX:MaxPermSize=350m to -XX:MaxPermSize=250m
这篇关于打开Android Studio时如何解决JVM错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!