今天用maven在命令行打包项目的时候出现错误: Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project xxx: There are test failures. 但是项目用maven编译没问题,之前测试也都过了.从上面描述可以确定是单元测试部分有问题,然后仔细研究了错误内容,发现是因为我定义了一个测试基类,里面没有任何测试方法,抛出了…
错误代码如下 BUILD SUCCESSFUL in 12s 46 actionable tasks: 1 executed, 45 up-to-date Built the following apk(s): /Users/hongye0/Documents/project/haitoujiaApp/platforms/android/app/build/outputs/apk/debug/app-debug.apk ANDROID_HOME=/Users/hongye0/Library/An…
The connection to adb is down, and a severe error has occured. [-- :: - HelloOPone] You must restart adb and Eclipse. [-- :: - HelloOPone] Please ensure that adb is correctly located at 'D:\OPhoneSDK_1.5 \platform-tools\adb.exe' and can be executed.…
在使用真机调试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指令时,报错.C:\Users\gaojs>adb shellerror: more than one device and emulatorC:\Users\gaojs>adb install e:\good.apkerror: more than one device and emulator 碰到这种情况,首先要查一下,是不是真的有多个设备或模拟器.C:\Users\gaojs>adb devicesList of devices attachedemul…
欢迎关注公众号,每天推送Android技术文章,二维码如下:(可扫描) 出现这个原因我个人感觉有两个.一.5037端口被别的程序或者进程占用:二.adb占用的不是5037端口.很多人仅仅知道第一种二忽视了第二种. 不管哪个原因,解决问题的办法都一样.这里做一个整理如下: 1. 错误信息: C:\Users\lizy>adb devices adb devicesadb server is out of date. killing... ADB server didn't ACK* failed…
C:\Users\****\source\****>adb connect 192.168.10.* adb server version () doesn't match this client (39); killing... could not read ok from ADB Server * failed to start daemon error: cannot connect to daemon 在命令行运行 adb connect 192.168.10.* 时出现如上错误 解决…