[英]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.
所以这就是我所做的。
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,请执行此操作。
type this ' cd ~/ ' 输入这个'cd〜/'
then 'touch .bash_profile' 然后“触摸.bash_profile”
then ' open .bash_profile ' 然后'打开.bash_profile'
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管理器并检查您的路径
save the file 保存文件
then reload the environment variables by typing ' . 然后通过键入'重新加载环境变量。 .bash_profile ' on terminal or cmd
.bash_profile'在终端或cmd上
You're done. 你完成了。
If you need more help add me on LinkedIn: williamanputra 如果您需要更多帮助,请在LinkedIn上添加我:williamanputra
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.