(已解决)Android(安卓)Studio JVM报错解决方案
16lz
2021-12-04
异常:
Error: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.14.1/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 1572864KB object heap
解决方案:
在gradle.properties中添加或者修改为:
org.gradle.jvmargs=-Xmx512m -XX:MaxPermSize=512m
更多相关文章
- Android隐藏状态栏和标题栏
- JAVA & Android(安卓)系统环境变量配置
- Android修改默认控件焦点不highlight
- Android中TextView中加图片,超链接,部分字或者背景变色。。。不断
- Android(安卓)修改 以太网 IP地址
- Android(安卓)给TextView添加点击事件
- Android修改Gallery页面布局
- Android给TextView添加点击事件的实现方法
- Android(安卓)开发 修改app应用的名字和图标