in adb I am facing new error only my adb version is printing
padmakumar@padmakumar-desktop:~$ adb version
Android Debug Bridge version 1.0.29
Install again ADB.EXE in your SDK path like Steps :
1)Close Your Android Studio
2)Fine path in Your Computer->[drive][your SDK path]\Sdk\platform-tools
3)Replace this path at adb.exe File or Download again if not updated adb.exe File.
4)Click on adb.exe if the command prompt is open and details see and then close automatically then its work. OR if any error occurred or not start adb-server again replace this file .
5)Now successfully run your adb-server open android studio and connect your device after Developer Option ON .
If zombie adb
process is not the issue i.e. there's no adb.exe
in the task-manager list, the problem is usually adb
ports e.g. 5555, 5554, 5037 etc., being taken by other applications.
Solutions:
On all Windows
: find the process taking one of those ports using netstat -bn
and kill it from task-manager Ctrl+Shift+Esc
is the shortcut.
On Windows 7 and 8
: there's this new tool called Resource Monitor. It'll also allow you to find out the blocked port and blocking process under the network tab.
On Linux
: the similar is done with netstat -pn
. Feel free to use your grep
foo as needed and kill the blocking process with kill
or pkill
.
Change Default ADB Port
: Apparently default ADB port can be changed as described here by setting up an environmental variable before launching ADB. Give it shot. It'll allow more flexibility if you don't want to kill the blocking processes.
On trying to kill multiple adb.exe processes from windows Task Mgr it said "Access is denied". On Windows 7, Resource Monitor allows those adb.exe processes to be killed.
I also came across the same error when I was trying to install one app in emulator. You need not restart PC to overcome this. Just kill the server. if 'adb kill-server' is also not working, kill the process (adb.exe) through task manager. There you go!!
Task Manager -> Process -> adb.exe -> End process
That worked for me.