android studio 运行时无法识别真机
来源:互联网 发布:淘宝刷好评免费赠衣服 编辑:程序博客网 时间:2024/05/22 09:42
(1)错误1
2017/8/25
16:20 error: could not install *smartsocket* listener: cannot bind to 127.0.0.1:5037: 通常每个套接字地址(协议/网络地址/端口)只允许使用一次。 (10048)
16:20 This application has requested the Runtime to terminate it in an unusual way.
16:20 Please contact the application's support team for more information.
16:20 could not read ok from ADB Server
16:20 * failed to start daemon *
16:20 error: cannot connect to daemon
16:20 'E:\android\androidSDK\platform-tools\adb.exe start-server' failed -- run manually if necessary
意思就说5037端口被占了。
解决方法:
1、查找谁占了端口
运行->cmd->进入安装的sdk目录下netstat -aon|findstr "5037"
如:
2、发现12260占用了 5037端口,继续查看12260的task,发现是.如下所示
3、我没有去进程里杀,我直接在界面里关闭该运用。再去进程里去了一下,没有。
4、可以识别出来了。
(2)错误2:
Installation failed with message INSTALL_FAILED_USER_RESTRICTED: Install canceled by user.
It is possible that this issue is resolved by uninstalling an existing version of the apk if it is present, and then re-installing.
WARNING: Uninstalling will remove the application data!
Do you want to uninstall the existing application?
也就是无法安装,这时候就需要将手机调成USB安装允许即可。
- android studio 运行时无法识别真机
- Android Studio真机编译USB无法识别
- Android Studio真机测试无法识别的问题汇总
- Mac下解决Android studio真机调试时无法识别魅蓝手机问题
- Android Studio无法运行模拟器或者真机的问题
- 【已解决】Android Studio无法识别虚拟机,虚拟机无法运行
- Android Studio无法真机调试
- android studio 识别不了真机和模拟器的解决办法。
- Xcode无法识别真机
- Android studio 或Eclipse无法连接模拟器或者真机
- Android Studio 运行真机出现中文乱码
- Android studio+真机 运行报错[INSTALL_FAILED_INSUFFICIENT_STORAGE]解决方法
- android studio运行时提示ADB出错,无法运行
- Android studio无法运行项目
- Android Studio导入jar后无法识别、但项目能正常运行的问题
- android studio 运行代码时识别genymotion设备
- android studio 运行代码时device不能识别genymotion设备
- Android Studio 运行代码时device不能识别genymotion设备
- 10.js.数组和函数
- 2
- AJAX闭包操作
- Android混合开发之WebView与Javascript交互
- Angular 实践之Controller As
- android studio 运行时无法识别真机
- Mysql中各类型对应JDBC类型编号
- Netty4.0学习笔记系列之四:混合使用coder和handler
- 地平线2018电话面试
- 记一个错误
- BeanUtil 反射机制 拷贝对象类或list
- mybatis
- 如何使用七牛申请并使用免费SSL证书
- Oracle ROWNUM用法和分页查询总结