adb kill-server not responding?

前端 未结 9 2140
醉酒成梦
醉酒成梦 2020-12-10 15:21

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
相关标签:
9条回答
  • 2020-12-10 15:37
    1. navigate to adb.exe folder
    2. shift + right click inside the folder
    3. start commandline from here
    4. unplug any android device connected to your PC
    5. type "adb.exe wait-for-device"; press Enter
    6. connect your device; wait for commandline to finish
    7. done
    0 讨论(0)
  • 2020-12-10 15:37

    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 .

    0 讨论(0)
  • 2020-12-10 15:40

    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:

    1. 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.

    2. 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.

    3. 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.

    4. 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.

    0 讨论(0)
  • 2020-12-10 15:41

    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.

    0 讨论(0)
  • 2020-12-10 15:43

    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!!

    0 讨论(0)
  • 2020-12-10 15:52

    Task Manager -> Process -> adb.exe -> End process

    That worked for me.

    0 讨论(0)
提交回复
热议问题