一、Android studio3.0.1启动的报错问题描述
Gradle sync failed: 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/4.1.0/userguide/gradle_daemon.html
Please read the following process output to find out more:
Consult IDE log for more details (Help | Show Log)
在你正常安装 Android studio 的情况下,出现以上的问题,那就是你电脑环境变量path里面缺少了相应的配置!!!
二、解决方案
- 以管理员身份打开命令提示符(cmd.exe)
- 输入 netsh winsock reset
- 重启电脑
说明:winsock是Windows网络编程接口,winsock工作在应用层,它提供与底层传输协议无关的高层数据传输编程接口 netsh winsock reset 是把它恢复到默认状态