ionic真机调试Android报错 - could not read ok from ADB Server * failed to start daemon * error: cannot connect to daemon
在使用真机调试Android程序时,报错如下:
could not read ok from ADB Server
* failed to start daemon
error: cannot connect to daemon
首先,打开命令行工具,找出占用5037端口号的对应pid号
netstat -ano | findstr :5037
如果端口被占用,在任务列表中找到占用端口的进程
tasklist | findstr processID
打开任务管理器,将对应pid号的进程杀死。然后运行命令手动启动adb,成功
adb start-server
ionic真机调试Android报错 - could not read ok from ADB Server * failed to start daemon * error: cannot connect to daemon的更多相关文章
- 在ubuntu下真机调试android程序出现设备没有访问权限
		
今天把android的开发环境从windows平台切换到了ubuntu上. java jdk android-adt android-ndk都下好,环境变量都配好之后, 在调试程序的时候,出现设备没有 ...
 - python+appium   【已解决】真机运行appium报错“WebDriverException: Message: A new session could not be created. (Original error: Command failed: C:\Windows\system32\cmd.exe /s /c.......详见内文
		
问题报错提示: selenium.common.exceptions.WebDriverException: Message: A new session could not be created. ...
 - React Native真机红屏报错总结
		
一.run-android报错:unable to load script from assets 'index.android.bundl' 解决: 1.进入\android\app\src\mai ...
 - mac 下真机调试 android 手机
		
第一步: 查看usb设备信息 在 终端输入:system_profiler SPUSBDataType 可以查看连接的usb设备的信息 比如我的usb信息如下(部分内容): Spreadtru ...
 - 小程序电脑调试没有问题,真机预览报错fail hand shake error
		
今天在做小程序的过程中使用HTTPS请求数据时,遇到安卓机型无法获取到数据,通过一系列的排查,发现是因为ssl证书的问题,后来通过https://www.myssl.cn/tools/check-se ...
 - Android真机调试  Android.Util.AndroidRuntimeException: You cannot combine custom titles with other title features
		
参考连接:http://blog.csdn.net/scyatcs/article/details/9003285 Android.Util.AndroidRuntimeException: You ...
 - iOS真机运行 Xcode报错(libpng error: CgBI: unhandled critical chunk)问题已解决;
		
Cocos2d-x加载图片资源出现libpng error: CgBI: unhandled critical chunk Xcode7.3 设置Remove Text Metadata From P ...
 - 真机测试,Xcode报错:process launch failed: Security
		
解决办法:手机->通用->设备管理->信任开发商应用即可
 - (已解决)iOS真机运行 Xcode报错(libpng error: CgBI: unhandled critical chunk)
		
Cocos2d-x加载图片资源出现libpng error: CgBI: unhandled critical chunk Xcode7.3 设置Remove Text Metadata From P ...
 
随机推荐
- 文件io之——read/write
			
read函数从打开的设备或文件中读取数据. #include <unistd.h>ssize_t read(int fd, void *buf, size_t count);返回值:成功返 ...
 - android跨进程通信(IPC)——AIDL
			
转载请标明出处: http://blog.csdn.net/sinat_15877283/article/details/51026711: 本文出自: [温利东的博客] 近期在看 @任玉刚 大神编写 ...
 - hdu1695 GCD 莫比乌斯反演做法+枚举除法的取值   (5,7),(7,5)看做同一对
			
/** 题目:hdu1695 GCD 链接:http://acm.hdu.edu.cn/status.php 题意:对于给出的 n 个询问,每次求有多少个数对 (x,y) , 满足 a ≤ x ≤ b ...
 - centos7.4 install docker-ce
			
1.uninstall old version docker yum -y remove docker-common docker container-selinux docker-selinux d ...
 - 【★】深入BGP原理和思想【第…
			
前言:学思科技术我想说,浅尝辄止,不是天才千万别深钻.和我研究高等数学一样,越深入就会发现越多的问题与不合理之处.尤其对于IT界,算法的最终解释权还是掌握在老外手中,所以对于有些细节,我们" ...
 - 如何在调试Window App时,触发 Suspending ,Resuming 等事件
			
Visual Studio prevents Windows from suspending an app that is attached to the debugger. This is to a ...
 - Exercise:Sparse Autoencoder
			
斯坦福deep learning教程中的自稀疏编码器的练习,主要是参考了 http://www.cnblogs.com/tornadomeet/archive/2013/03/20/2970724 ...
 - 响应式网页设计:rem、em设置网页字体大小自适应
			
「rem」是指根元素(root element,html)的字体大小,好开心的是,从遥远的 IE6 到版本帝 Chrome 他们都约好了,根元素默认的 font-size 都是 16px.这样一个新的 ...
 - char类型能否存储一个中文字符?为什么
			
char类型能否存储一个中文字符?为什么 解答:可以.一个char是两个字节,而一个中文也是两个字节.
 - DevExpress 控件使用技巧
			
DevExpress是非常主流的.NET控件,眼下全世界和中国都用非常多用户使用,只是因为是英文版,初次接触的同学可能会认为困难.这里就总结DevExpress常见的10个使用技巧. 1.TextEd ...