Android(安卓)Studio error: Unable to start the daemon process的解决方法
16lz
2022-06-14
在 Android Studio 上新建项目,出现 Unable to start the daemon process. 错误,具体错误信息如下:
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/3.3/userguide/gradle_daemon.html
Please read the following process output to find out more:
-----------------------
OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
解决方法
方法一:删除 C:\Users\UserName\.gradle 目录,重新启动 Android Studio即可。重启动后,它会自动为你创建一个新的。
方法二:修改配置。File -> Settings. 选择左边导航栏的Compiler项,设置 VM Options 为 -Xmx512m即可。
方法三:其它应该,留出更多的内存空间试试。
更多相关文章
- android ListView滑动到顶部带弹性效果
- 修改 android 手机 hosts 文件的方法
- Android(安卓)Studio编译运行project报错:····· finished wi
- android 动态布局
- 【移动安全】Android(安卓)App Smail代码动态跟踪调试方法
- 如何正常关闭android应用程序
- Android(安卓)Kill App
- 浅谈Java中Collections.sort对List排序的两种方法
- Python list sort方法的具体使用