Reputation: 39
unable to connect to adb.check the event log for a possible issue, verify that localhost entry is pointing to 127.0.0.1 or:: 1 for ipv4 or ipv6.
Getting an error while running my sample application in android device.
ADB error on a fresh installation of android studio.
Upvotes: 1
Views: 2533
Reputation: 39
Finally I got answer for my own question. This is due to some Windows OS update issue. Please follow the below step to confirm.
adb command error
Solution:
Download the package for your Windows version from below link. In my case I have downloaded "All supported x64-based versions of Windows 8.1" package and installed the exe. Once installation is complete check the adb command. It should work.
https://support.microsoft.com/en-us/help/2999226/update-for-universal-c-runtime-in-windows
Upvotes: 2