ADB is not starting (no error message)

后端 未结 11 1474
眼角桃花
眼角桃花 2021-01-04 11:32

I am trying to run adb. When I run : \"adb start-server\" it hangs during a while, and then no message.

After that the command \"adb get-state\" receive the answer \

相关标签:
11条回答
  • 2021-01-04 12:03

    I think another process like java web server or java application like "traccar" running on your machine. It works for me after killing these process.

    0 讨论(0)
  • 2021-01-04 12:09

    What I did was end the adb.exe on my task manager, restarted Android Studio and then I connected my device again then everything went fine :D

    0 讨论(0)
  • 2021-01-04 12:10

    I have the same while i was running a java application 'traccar', it works for me after killing this process

    0 讨论(0)
  • 2021-01-04 12:13

    I can think of a couple of scenarios in which you would encounter this behavior.

    1. (most likely) You're not running adb.exe as a priviledged user. Even though you're set up as a local admin, you're not running this command with elevated privileges. Since the default run->cmd is in normal user mode, this is expected. The following article explains how to run the command prompt as an admin / priviledged user. http://www.howtogeek.com/howto/windows-vista/run-a-command-as-administrator-from-the-windows-vista-run-box/

    2. (less likely) You may need to add adb.exe to the Windows firewall rules. Go to Control Panel -> Windows Firewall, and click on "advanced settings". Then, under "inbound Rules" and "outbound rules", add a rule for adb.exe as a program.

    0 讨论(0)
  • 2021-01-04 12:17
    1. Uninstall Platform Tools in Android SDK Manager
    2. Find and delete all copies of AdbWinUsbApi.dll, AdbWinApi.dll and adb.exe
    3. Reinstall Platform Tools in Android SDK Manager
    0 讨论(0)
提交回复
热议问题