无法创建 jvm:错误代码 -6 android studio
我在自定义虚拟机选项中设置了 -XmxheapSize:-Xmx2g并在此 android studio 之后在控制台中运行 jps -lvm 而不是午餐和错误
i set -XmxheapSize:-Xmx2g in Custom VM Options and run jps -lvm in console after this android studio not lunch and error
无法创建jvm:错误代码-6 android studio
failed to create jvm:error code -6 android studio
我重新启动电脑并重新安装 android studio 但没有工作!!!
i restart pc and re-install android studio but not working!!!
请帮忙
我的系统运行 windows 10 64 位
my system operation windows 10 64-bit
这确实是一个损坏的自定义 vmoptions 文件
要修复,请编辑文件,对我而言,该文件位于此处:
This is indeed a corrupt custom vmoptions file
To fix, edit the file, which for me was here:
C:\Users\<WindowsUser>\.AndroidStudio2.3\studio64.exe.vmoptions
确保每行指定一个选项.
例如
Ensure options are specified one on each line.
e.g.
# custom Android Studio VM options, see http://tools.android.com/tech-docs/configuration
-Xms750m
-Xmx750m
保存文件并重新运行 Android Studio.
Save the file and rerun Android Studio.