在 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 ListView滑动到顶部带弹性效果
  2. 修改 android 手机 hosts 文件的方法
  3. Android(安卓)Studio编译运行project报错:····· finished wi
  4. android 动态布局
  5. 【移动安全】Android(安卓)App Smail代码动态跟踪调试方法
  6. 如何正常关闭android应用程序
  7. Android(安卓)Kill App
  8. 浅谈Java中Collections.sort对List排序的两种方法
  9. Python list sort方法的具体使用

随机推荐

  1. Linux Mint下Kindle Fire调试android程序
  2. Android ToastUtil
  3. Android:电话拨号器、呼叫记录、结束通话
  4. Android 硬编码
  5. Android 怎么防止AlertDialog Button按钮
  6. Android面试题集合
  7. Android中使用SAX解析XML
  8. Android 修改App中默认TextView的字体和
  9. android application级别的图片缓存
  10. 阅读《Android 从入门到精通》(14)——时间