关于问题 adb server is out of date. killing...
来源:互联网 发布:阿里云学生9.9 编辑:程序博客网 时间:2024/05/22 07:58
手机最近这几天老是启动程序显示内存不足,所以想用adb命令将程序的默认安装路径改成SD卡。但是在执行命令的时候出现错误:
adb server is out of date. killing...ADB server didn't ACK* failed to start daemon *error: unknown host service
此错误是由于adb的端口被占用所致,利用命令查看adb绑定的端口:
adb nodaemon server执行结果如下:
cannot bind 'tcp:7305'
从执行结果可以看出,adb绑定的是7305端口(我自己机器上设置的,其他机器可能不一样)。利用命令
netstat -ano | findstr "7305"获取到进程的pid然后kill掉即可。
再执行下面的命令 设定程序默认安装到SD卡成功
adb shellpm setInstallLocation 2
0 0
- 关于问题 adb server is out of date. killing...
- 关于 adb server is out of date. killing... 的解决办法
- adb server is out of date. killing
- adb server is out of date. killing..
- adb server is out of date. killing...
- adb server is out of date. killing...
- adb server is out of date. killing...
- adb server is out of date. killing...
- adb server is out of date killing
- adb server is out of date. killing...
- adb server is out of date. killing
- adb server is out of date. killing...
- adb server is out of date. killing...
- adb server is out of date. killing...
- adb server is out of date. killing...
- adb server is out of date. killing...
- adb server is out of date.killing...
- adb server is out of date. killing...
- 理解inode
- 缓存
- Liunx 常见的压缩文件
- NSDate详解
- SQLite使用小结
- 关于问题 adb server is out of date. killing...
- python:常用功能之文本处理
- 15款界面最漂亮Android应用程序
- 如何实现窗口阴影效果 (SysShadow、分层窗口、DWM)
- 我很优秀,但是我需要做到是让所有人看到
- 关于闭包(二)
- android xml 编写图片
- GOLDEN PENNY STOCK MILLIONAIRES
- [LeetCode]Validate Binary Search Tree, 解题报告