android sdk启动报错error: could not install *smartsocket* listener: cannot bind to 127.0.0.1:5037:

问题原因:端口5037被占用

解决方案:

方式一:可以用cmd命令

C:\Users\Administrator>netstat-ano | findstr "5037"                 <<<<<-------------查看5037 被谁占用,然后杀掉

TCP   127.0.0.1:5037        0.0.0.0:0             LISTENING       4524

TCP   127.0.0.1:5037        127.0.0.1:10265       ESTABLISHED     4524

TCP   127.0.0.1:5037        127.0.0.1:10274       ESTABLISHED     4524

TCP   127.0.0.1:5037        127.0.0.1:12382       ESTABLISHED     4524

TCP   127.0.0.1:5037        127.0.0.1:12513       ESTABLISHED     4524

TCP   127.0.0.1:5037        127.0.0.1:12650       ESTABLISHED     4524

TCP   127.0.0.1:10265       127.0.0.1:5037        ESTABLISHED     4524

TCP   127.0.0.1:10274       127.0.0.1:5037        ESTABLISHED     2228

TCP   127.0.0.1:12382       127.0.0.1:5037        ESTABLISHED     9028

TCP   127.0.0.1:12513       127.0.0.1:5037        ESTABLISHED     4524

TCP   127.0.0.1:12650       127.0.0.1:5037        ESTABLISHED     4524

TCP   127.0.0.1:14132       127.0.0.1:5037        SYN_SENT        4524

C:\Users\Administrator>tasklist| findstr "4524"

wandoujia2.exe                4524 Console                    1     63,968 K    <<<<<--------------   杀掉占用端口的进程

C:\Users\Administrator>netstat-ano | findstr "5037"

方式二:打开任务管理器-》查看——》选择列。。-》勾选pid

找到占用5037的进程,然后选中结束进程,然后重新打开sdk

ps:最好先打开sdk ,在打开模拟器,因为有时候是这两个冲突了。

时间: 2024-10-03 10:06:07

android sdk启动报错error: could not install *smartsocket* listener: cannot bind to 127.0.0.1:5037:的相关文章

解决android sdk 运行出现 could not install *smartsocket* listener: cannot bind to 127.0.0.1:5037:的问题

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.Ple

解决appium 连接真机Android 9启动报错.....shell &quot;ps &#39;uiautomator&#39;

好久没有使用Appium了,感觉要从头开始了,正好换个电脑要重新装环境,装环境就不描述了,照着网上的资料就可以了,问题就出现在连接真机,手机是Android9,vivoZ5x,启动APP时候始终报错,提示....shell "ps 'uiautomator'. 网上搜了很多,但是如下的解决版本亲测有效. 在appium的安装目录,找到该目录下C:\soft\Appium\node_modules\appium\node_modules\appium-adb\lib的 adb.js 文件 1.找到

源码安装mysql5.6x启动报错:[ERROR] Can&#39;t find messagefile &#39;/data/mysqldata/3306/english/errmsg.sys&#39;

170502 10:43:40 mysqld_safe Starting mysqld daemon with databases from /data/mysqldata/3306/data 2017-05-02 10:43:40 0 [Warning] The syntax '--language/-l' is deprecated and will be removed in a future release. Please use '--lc-messages-dir' instead.

nodejs express 启动报错 Error Cannot find module &#39;xxx&#39;

nodejs express 启动报错:Error: Cannot find module 'xxx',这是因为缺少模块的引用. 比如我在代码中使用了'express-session',但是却没有在 package.json 文件的 "dependencies" 项中添加 'express-session' 的依赖 D:\nodejs\myapp>set DEBUG=myapp & npm start > myapp@0.0.0 start D:\nodejs\my

springboot启动报错:&quot;Error starting ApplicationContext. To display the conditions report re-run your application with &#39;debug&#39; enabled.&quot;

报错内容 java.lang.Object.wait(Native Method)java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143)com.mysql.jdbc.AbandonedConnectionCleanupThread.run(AbandonedConnectionCleanupThread.java:41)2019-02-14 14:58:00.326 INFO 17688 --- [ main] Condition

Android AVD启动报错:emulator: ERROR: x86_64 emulation currently requires hardware acceleration! Please ensure Intel HAXM is properly installed and usable.

打开Android SDK manager查看安装发现HAXM在windows上无法安装 可以去 http://www.androiddevtools.cn/index.html 下载 Android SDK Extras , 然后解压 Hardware_Accelerated_Execution_Manager 到 android-sdk-windows\extras\intel 目录,再手动点击 intelhaxm-android.exe 安装. 注意这里如果安装android sdk版本为

解决Android studio 启动报错java.lang.RuntimeException: java.lang.IllegalArgumentException

报错内容 Internal error. Please report to https://code.google.com/p/android/issues java.lang.RuntimeException: java.lang.IllegalArgumentException: Argument for @NotNull parameter 'name' of com/android/tools/idea/welcome/Platform.<init> must not be null 

解决Android AVD启动报错问题

好不容易从ADT Bundle转为Android Studio的开发环境,一路荆棘,现在又遇到了模拟器的问题,本来直接用真机调试程序会更快些,但是为了模拟多种系统不得不开启AVD. 废话不说,问题和解决方法如下: 1. 默认AVD产生的镜像与配置文件目录一般都在 %WinDIR%/Users/xxx/.android/avd 下, 而我在装AS(Android Studio,以下都用AS代替),其AVD路径已经移到了Android SDK的目录下,比如d:/android/sdk/.androi

mysql登陆启动报错 ERROR 2002 (HY000) 解决方法

报错信息 登陆数据库报错:` ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2 "No such file or directory")` 重启服务报错:Job for mariadb.service failed because the control process exited with error code. See &quo