简体   繁体   English

adb服务器已过期。 正在杀死…ADB服务器未确认*无法启动守护程序*

[英]adb server is out of date. killing… ADB server didn't ACK * failed to start daemon *

adb server is out of date. adb服务器已过期。 killing... ADB server didn't ACK * failed to start daemon * error: error: I'm using my phone to debug with android studio . 正在杀死... ADB服务器未确认*无法启动守护程序*错误:错误:我正在用手机调试android studio。 Debug over the air . 空中调试。 I can't ping from my PC to my Phone . 我无法从PC ping到手机。 Help me !! 帮我 !!

I had the same problem as you, i'm using MAC. 我和您有同样的问题,我正在使用MAC。 What happened was my ADB wasn't pointing to android sdk and turns out i had 2 ADB!!! 发生了什么事,我的亚行没有指向android sdk,结果我有2个亚行! so this is what i did. 所以这就是我所做的。

  1. type 'which adb' on your terminal or cmd. 在您的终端或cmd上键入“ which adb”。 If your adb is not pointing to your android sdk do this. 如果您的adb没有指向您的android SDK,请执行此操作。

  2. type this ' cd ~/ ' 输入这个'cd〜/'

  3. then 'touch .bash_profile' 然后“触摸.bash_profile”

  4. then ' open .bash_profile ' 然后'打开.bash_profile'

  5. Add the path to the Android SDK, platform-tools directory. 将路径添加到Android SDK的platform-tools目录。 Add the following to the file: “export PATH=$PATH:/Users/YOURUSERNAME/android/sdk/”. 将以下内容添加到文件中:“ export PATH = $ PATH:/ Users / YOURUSERNAME / android / sdk /”。 To be sure, open your android SDK manager and check your path 可以肯定的是,打开您的android SDK管理器并检查您的路径

  6. save the file 保存文件

  7. then reload the environment variables by typing ' . 然后通过键入'重新加载环境变量。 .bash_profile ' on terminal or cmd .bash_profile'在终端或cmd上

  8. You're done. 你完成了。

If you need more help add me on LinkedIn: williamanputra 如果您需要更多帮助,请在LinkedIn上添加我:williamanputra

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 adb服务器已过期。 kill ...无法绑定'tcp:5037'ADB服务器没有确认*在ubuntu 14.04 LTS中无法启动守护进程* - adb server is out of date. killing… cannot bind 'tcp:5037' ADB server didn't ACK * failed to start daemon * in ubuntu 14.04 LTS "Eclipse 错误“ADB 服务器未确认,无法启动守护程序”" - Eclipse error "ADB server didn't ACK, failed to start daemon" Mac上Android studio3.3.2错误“ADB服务器没有ACK,无法启动守护进程” - Android studio3.3.2 error “ADB server didn't ACK, failed to start daemon” on Mac 为什么adb服务器已过时。 在命令提示符下杀死...? - why adb server is out of date. killing… on command prompt? Appcelerator Studio / Titanium:错误:无法启动ADB(代码255):ADB服务器未确认 - Appcelerator Studio / Titanium: Error: Failed to start ADB (code 255): ADB server didn't ACK ADB服务器在macOS上没有确认 - ADB server didn't ACK on macOS Genymotion在Windows上不起作用“ ADB服务器未确认” - Genymotion doesn't work “ADB server didn't ACK” on Windows React-Native、Android、Genymotion:ADB 服务器没有 ACK - React-Native, Android, Genymotion: ADB server didn't ACK adb服务器在处理MAC时没有确认 - adb server didn't ACK while working on MAC adb 启动服务器失败 - adb start server failed
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM