android - adb cannot start daemon, CreateProcess failure, error 2 -
android - adb cannot start daemon, CreateProcess failure, error 2 -
i unable run adb root
or adb command. next error. set adb_trace=1
:
c:\windows\system32>adb root system/core/adb/adb.c::main():handling commandline() system/core/adb/adb_client.c::_adb_connect():_adb_connect: host:version system/core/adb/sysdeps_win32.c::socket_loopback_client():socket_loopback_client: not connect tcp:5037 system/core/adb/adb_client.c::adb_connect():adb_connect: service root: * daemon not running. starting on port 5037 * createprocess failure, error 2 * failed start daemon * error: cannot connect daemon
i using windows 7.
from netstat -a
don't see else using port 5037. when run adb, observe adb momentarily displayed on task manager, goes away. windows firewall turned off. same results if run cmd
administrator.
first remove duplicate copies of adb
binaries
command prompt
windows - 1 administrator , regular user run next command few times until responds 3 could not find
lines in each window:
for %i in (adb.exe adbwinapi.dll adbwinusbapi.dll) @del %~dp$path:i%i
next download latest version of platform-tools
bundle (currently platform-tools_r22-windows.zip) file , unpack %android_sdk_home%
folder
make sure %android_sdk_home%\platform-tools
folder included in %path%
android adb
Comments
Post a Comment