【MAC版】Android ADB server didn't ACK * failed to start daemon *解决办法
2015-06-27 12:43
344 查看
运行程序时,出现如下错误
查询了一下可能原因是没配置adb,如下文章教了怎么配置
《MAC 配置 Android adb 环境变量》
配置了后还是不能运行程序,终端运行adb也不成功
bogon:~ azz$ adb shell
adb server is out of date. killing…
cannot bind ‘tcp:5037’
ADB server didn’t ACK
* failed to start daemon *
error:
又查询了一下,可能是5037的端口号被占用,以下链接讲解了WINDOWS版如何解决该情况
《Android ADB server didn’t ACK * failed to start daemon * 简单有效的解决方案》
那么接下来讲下mac版如何操作:
1.在终端输入
2.去任务管理器(应用程序-其他-活动监视器)找到对应pid号的进程,并关闭
[2015-06-27 12:24:34 - CustomKeyBoard] The connection to adb is down, and a severe error has occured. [2015-06-27 12:24:34 - CustomKeyBoard] You must restart adb and Eclipse. [2015-06-27 12:24:34 - CustomKeyBoard] Please ensure that adb is correctly located at '/Users/Development/sdk/platform-tools/adb' and can be executed.
查询了一下可能原因是没配置adb,如下文章教了怎么配置
《MAC 配置 Android adb 环境变量》
配置了后还是不能运行程序,终端运行adb也不成功
bogon:~ azz$ adb shell
adb server is out of date. killing…
cannot bind ‘tcp:5037’
ADB server didn’t ACK
* failed to start daemon *
error:
又查询了一下,可能是5037的端口号被占用,以下链接讲解了WINDOWS版如何解决该情况
《Android ADB server didn’t ACK * failed to start daemon * 简单有效的解决方案》
那么接下来讲下mac版如何操作:
1.在终端输入
lsof -i tcp:5037查看占用5037端口的pid号
2.去任务管理器(应用程序-其他-活动监视器)找到对应pid号的进程,并关闭
相关文章推荐
- 关于android studio中gradle的使用心得
- Android内存泄漏分析实战
- Android中dip、dp、sp、pt和px的区别详解
- Android设计模式之浅谈MVP
- 解决默认安装AndroidX86 2.2以上版本不能上网
- Android适配
- Android Tips
- Android中获取JSON
- Android开发中 软件盘将布局遮住的问题
- Android listView 动态加载数据,下拉加载数据,上拉加载数据
- BroadcastReceiver广播接收器知识点总结
- Android线程交互(Handler+Thread 和 AsyncTask)
- android首次安装时进入wizard否则主界面Viewpager+Fragment+RadioGroup
- [Android]GridView如何滚动到顶部
- Android使用有道翻译API实现在线翻译功能
- Android快速自定义控件+实战演示(三)完整键盘和组合回调!
- 篇一、安装配置Android Studio
- 【Android】把外部文件拷贝的AVD安卓模拟器上的sdcard上,并且在AVD中浏览sdcard的文件
- Android 蓝牙学习
- nineoldandroids