Bootstrap

AndroidStudio启动错误:Error occurred during initialization of VM Could not reserve enough space for ...

AndroidStudio启动时偶尔出现的错误,可能和电脑当前性能有关

解决方法

修改当前工程目录里的gradle.properties

将        org.gradle.jvmargs=-Xmx1536m

替换为 org.gradle.jvmargs=-XX\:MaxHeapSize\=256m -Xmx256m

rebuild project即可


原文链接:http://www.bubuko.com/infodetail-1055886.html

;