您的位置:首页 > 大数据 > 人工智能

adb cannot start daemon, CreateProcess failure, error 2

2016-11-17 16:00 706 查看
错误:adb cannot start daemon, CreateProcess failure, error 2

I solved this problem long ago, but did not update this question.

I was having this issue because I was running the incorrect adb executable. I had one executable
inC:\Windows\system32 and another in a different directory. The version in C:\Windows\system32 had
did not have all the files needed by adb whereas the version in the other directory did. I'm not
sure what those files were, but the adb executable was the same version in both directories.
SinceC:Windows\system32 was in the PATH first, that version was executed first. I removed adb from
the Windows directory, and the problem went away.


翻译:

我在很长时间之前解决了这个问题,但是没有更新。
出现这个问题的原因是执行了错误的adb程序,在我的C:\Windows\system32目录中有一个adb程序,在别的文件夹里还有一个,其中C:
\Windows\system32目录中的那个只有adb程序而没有adb执行所需要的配置文件,另外一个文件夹则有这些文件,我不清楚到底adb程序应
该放在那个文件夹里,但是我知道这两个adb程序版本都一样。在环境变量配置中,C:\Windows\system32目录中的adb要先执行,所以当
运行eclipse时执行的是C:\Windows\system32目录中的adb,所以导致错误。删除了这个adb程序,然后问题就解决了!!
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  adb-cannot
相关文章推荐