问题描述
启动Android studio后就报错daemon not running; starting now at tcp:5037

问题解决
网上说是5037端口被占用了,我这边查看5037端口是正常的,没有被占用,所以这个被pass
经不断探索,我认为就是adb服务没起来,直接在cmd调一下adb服务发现可以正常使用,随后再打开Android studio发现可以正常使用-_-||
解决方法:cmd中使用adb shell等
adb shell
猜测原因就是Android studio调本地adb服务异常,需要手动启动,该问题可复现解决。

文章讲述了用户在启动Androidstudio时遇到daemonnotrunning错误,虽然5037端口未被占用,但问题在于adb服务未启动。解决方法是通过命令行启动adb服务,确认adbshell可用,原因是Androidstudio调用本地adb服务出现异常。
5307

被折叠的 条评论
为什么被折叠?



