ADB not responding. If you'd like to retry, then please manually kill “adb.exe” and click 'Restart'

前端 未结 10 625
礼貌的吻别
礼貌的吻别 2020-12-15 22:05

I am a newbie and want to learn android. However, I face difficulties during installation of android studio.

I have installed android studio correctly but when I wan

相关标签:
10条回答
  • 2020-12-15 22:05

    Open "Android Monitor" window at the bottom of Android Studio, there will be some error info of the problem.

    And my problem hint is "no permission to access /tmp/adb.1001.log".

    Just remove the file, the problem will been resolved.

    0 讨论(0)
  • 2020-12-15 22:07

    I had the problem because the project was not built and showed an error as follows

    Error:Error: Cannot run program "/path/to/Android/Sdk/build-tools/21.1.2/aapt": error=2, No such file or directory

    I solved the problem by running those commands

    sudo apt-get install lib32stdc++6 sudo apt-get install lib32z1

    Ubuntu can't run the aapt on 64 bit before installing this packages

    Thanks to https://stackoverflow.com/a/27734148/2119981

    0 讨论(0)
  • 2020-12-15 22:09

    I solve the problem.Open cmd and input netstat -aon|findstr 5037 .if there is a process uses the port.You should kill it.You can get the pid and find the process in Task Manager.

    0 讨论(0)
  • 2020-12-15 22:11

    I've found the answer to this. This had been plaguing me for days, but so happy to have this fixed.

    When I go to task manager the process adb.exe was constantly restarting itself. This is what was causing the issue (for me).

    Go to Tools -> Android -> Enable ADB entegration. Untick this. Make sure its status appears as unticked. Now go to task manager and killed the process adb.exe, it will not restart itself this time. Now click run, hey presto, ADB runs. Whoop de doo.

    0 讨论(0)
  • 2020-12-15 22:15

    I Battled with this problem for a couple of days (nearly drove me nuts) and every solution I found failed to help me. Till I tried this:

    (On Mac)

    I uninstalled Android Studio (moved it from Applications to Trash).

    Restarted my Mac.

    Reinstalled Android Studio (moved it back from Trash to Applications).

    And everything was back to normal.

    0 讨论(0)
  • 2020-12-15 22:20

    Go to Tools -> Android -> Enable ADB entegration untick it and press run ( you will get an error) now re-tick it and press run and it will works.

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