关于Studio报错Error occurred during initialization of VM,解决方法
1,报错日志
Error:Failed to complete Gradle execution.
Cause:
Unable to start the daemon process.
This problem might be caused by incorrect configuration of the daemon.
For example, an unrecognized jvm option is used.
Please refer to the user guide chapter on the daemon at https://docs.gradle.org/2.8/userguide/gradle_daemon.html
Please read the following process output to find out more:
-----------------------
Error occurred during initialization of VM
Could not reserve enough space for object heap
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
,,
解决措施:
1,在C:\Users\Administrator\.gradle路径下创建文件gradle.properties(注:格式为properties)
2,文件中输入org.gradle.jvmargs=-Xmx512m
3,保存,重新运行即可。
(注:若上述路径下存在gradle.properties此文件,看内容,添加第二步内容即可)
- 关于WCF的“调用方未由服务进行身份验证”的另一解决方法
- 关于UISlider的拖动手势不灵敏的解决方法
- Reporting Services 中关于汉字乱码问题解决方法
- 关于百度地图 BMap.InfoWindow 只显示最后一条信息解决方法
- 关于idea新建子目录时往父目录名字后叠加而不是树形结构的解决方法
- 关于载入地形出错的问题解决方法
- 关于子线程里不能更新UI操作的解决方法
- 关于TP的模型中一次return多个数组的解决方法:
- cocos2d-x 3.x 关于cocostudio的UI将事件吃掉,场景Layer无法响应手势的问题解决方法
- 关于setup has detected that following incompatible version of xxxx的解决方法
- 关于Dos命令中存在中文的解决方法
- 关于使用VS.Net2003调试器出现的问题及相关解决方法 (转)
- 关于github for windows无法登陆,login failed问题的解决方法
- 关于xcode中提示"_OBJC_CLASS_$_ClassName", referenced from"错误的解决方法
- Xcode5中关于PBXcp-error:问题的解决方法
- 关于“android4.0中,在通话界面进入锁屏界面后出现两个电话图标”这一Bug的解决方法
- 关于eclipse创建android项目没有自动生成r文件的解决方法
- 关于安卓SDK 文档无法查看的就最快解决方法
- Pentaho PDI 数据导入关于时间格式及重复数据处理这2个问题的解决方法