解决android sdk 运行出现 could not install -smartsocket- listener- cannot bind to 127.0.0.1-5037-的问题
来源:互联网 发布:iphone4s蜂窝数据设置 编辑:程序博客网 时间:2024/05/23 01:41
ionic3项目,在添加android平台后,cordova run android 出现 以下问题:
error: could not install *smartsocket* listener: cannot bind to 127.0.0.1:5037: 通常每个套接字地址(协议/网络地址/端口)只允许使用一次。 (10048)
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
could not read ok from ADB Server
* failed to start daemon *
error: cannot connect to daemon
具体原因是 5037端口被占用了。
打开命令提示符输入以下:
netstat -aon|findstr 5037
让我们看看进程的具体描述
tasklist /fi "PID eq 2880"
强制退出进程
taskkill /pid 5008 /f
再重启一下adb
adb start-server
当我再运行cordova run android 就没问题了。
此随笔乃本人学习工作记录,如有疑问欢迎在下面评论,转载请标明出处。
如果对您有帮助请动动鼠标右下方给我来个赞,您的支持是我最大的动力。
阅读全文
0 0
- 解决android sdk 运行出现 could not install -smartsocket- listener- cannot bind to 127.0.0.1-5037-的问题
- android sdk启动报错error: could not install *smartsocket* listener: cannot bind to 127.0.0.1:5037
- 解决Eclipse error: could not install *smartsocket* listener: cannot bind to 127.0.0.1:5037:
- Android studio 2.0 error: could not install *smartsocket* listener: cannot bind to 127.0.0.1:5037:
- android studio 启动报错:could not install *smartsocket* listener: cannot bind to 127.0.0.1:5037:
- 解决在AS中使用Genymotion时发生error: could not install *smartsocket* listener: cannot bind to 127.0.0.1:5037:
- Eclipse error: could not install *smartsocket* listener: cannot bind to 127.0.0.1:5037:
- error: could not install *smartsocket* listener: cannot bind to 127.0.0.1:5037
- could not install *smartsocket* listener: cannot bind to 127.0.0.1:5037
- could not install *smartsocket* listener: cannot bind to 127.0.0.1:5037
- AndroidStudio error: could not install *smartsocket* listener: cannot bind to 127.0.0.1:5037:
- 端口占用 could not install *smartsocket* listener: cannot bind to 127.0.0.1:5037
- error: could not install *smartsocket* listener: cannot bind to 127.0.0.1:5037
- ADB error: could not install *smartsocket* listener: cannot bind to 127.0.0.1:5037:
- Eclipse error: could not install *smartsocket* listener: cannot bind to 127.0.0.1:5037
- Android启动Genymotion报错:error: could not install *smartsocket* listener: cannot bind to 127.0.0.1:5037
- Android Studio与夜神模拟器开发调试 error: could not install *smartsocket* listener: cannot bind to 127.0.0.1:
- error: could not install *smartsocket* listener: cannot bind to 127.0.0.1:5037: 通常每个套接字地址。。。
- ROS导航功能包
- C#中接口的作用
- 数据类型的学习(1)
- 面试题目1-20
- jQuery 把input变为disable
- 解决android sdk 运行出现 could not install -smartsocket- listener- cannot bind to 127.0.0.1-5037-的问题
- WebApp用localStorage代替cookie
- Android NDK基于V4L2驱动使用USB摄像头
- c/c++ 函数指针的用法
- 区块链探索之小白解说
- iOS 金币入袋(收金币)动画
- objc_exception_throw
- 4GQoS测速应用总结(二)
- informatica中Mapping Variable修改