Search code examples
javaandroidsdkadb

ADB error after installing latest SDK


I have recently downloaded the latest SDK version which is api 26 and I am getting this error while trying to connect to my device over Wifi.

adb connect 123.456.78.90:5555
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
** daemon still not running
error: cannot connect to daemon: cannot connect to 127.0.0.1:5037: No connection could be made because the target machine actively refused it. (10061)

I have tried many other solutions such as killing adb.exe in task manager available in the other SO posts but none of them worked for me.


Solution

  • So I finally found out the issue. Updating the SDK Platform tool version also helped me to solve the issue.