在 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即可。

方法三:其它应该,留出更多的内存空间试试。


更多相关文章

  1. android 设置应用程序装在T卡的方法
  2. android监听联系人变化的方法
  3. Android和IOS录制mp3语音文件的方法
  4. Android中多层Fragment嵌套,调用相册返回Uri无法显示图片的问题解
  5. android 保持屏幕长亮及解锁的方法
  6. Android获取屏幕宽高的方法
  7. Android Service Bind启动调用service方法
  8. 【移动安全】Android App Smail代码动态跟踪调试方法
  9. 修改 android 手机 hosts 文件的方法

随机推荐

  1. Android(安卓)4.4创建The Master/Detail
  2. 微信5.0一键关注和下载
  3. android中View, Window, Activity, Windo
  4. 1、重写TextView的onDraw方法
  5. 【Android(安卓)界面效果18】Android软件
  6. Android(安卓)登录密码RSA加密
  7. 正确设置Android(安卓)Studio代理配置
  8. Android开发之初探音频的播放
  9. 《Android开发艺术探索》第十一章重点笔
  10. [Android]模拟器无法启动:Waiting for HOM