51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 1443|回复: 1
打印 上一主题 下一主题

error: Logcat capture failed: spawn E:\adt\sdk\platform-tools\adb.exe

[复制链接]

该用户从未签到

跳转到指定楼层
1#
发表于 2016-10-7 21:10:38 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 cphuaian 于 2016-10-7 21:15 编辑

APPUIM,麻烦问问报错如下如何解决,网上找了类似的帖子很多,但是都解决不了,谢谢
> info: [debug] executing cmd: "E:\adt\sdk\platform-tools\adb.exe" devices
> info: [debug] 1 device(s) connected
> info: Found device emulator-5554
> info: [debug] Setting device id to emulator-5554
> info: [debug] Waiting for device to be ready and to respond to shell commands (timeout = 5)
> info: [debug] executing cmd: "E:\adt\sdk\platform-tools\adb.exe" -s emulator-5554 wait-for-device
> info: [debug] executing cmd: "E:\adt\sdk\platform-tools\adb.exe" -s emulator-5554 shell "echo 'ready'"
> info: [debug] Starting logcat capture
> info: [debug] Stopping logcat capture
> error: Logcat capture failed: spawn "E:\adt\sdk\platform-tools\adb.exe" ENOENT

> info: <-- POST /wd/hub/session - - ms - -
> info: --> POST /wd/hub/session {"desiredCapabilities":{"app":"E:\\workspace_app\\test1\\apps\\ContactManager\\****_2016.09.06_1.1.4-baidu.apk","appPackage":"com.***","appActivity":".LoadingActivity","platformVersion":"4.4.2","browserName":"Firefox","unicodeKeyboard":"True","platformName":"Android","deviceName":"Android Emulator","resetKeyboard":"True"}}
> info: Client User-Agent string: Apache-HttpClient/4.3.4 (java 1.5)
> info: [debug] Error: Requested a new session but one was in progress
>     at [object Object].Appium.start (E:\Appium\node_modules\appium\lib\appium.js:139:15)
>     at exports.createSession (E:\Appium\node_modules\appium\lib\server\controller.js:188:16)
>     at Layer.handle [as handle_request] (E:\Appium\node_modules\appium\node_modules\express\lib\router\layer.js:82:5)
>     at next (E:\Appium\node_modules\appium\node_modules\express\lib\router\route.js:110:13)
>     at Route.dispatch (E:\Appium\node_modules\appium\node_modules\express\lib\router\route.js:91:3)
>     at Layer.handle [as handle_request] (E:\Appium\node_modules\appium\node_modules\express\lib\router\layer.js:82:5)
>     at E:\Appium\node_modules\appium\node_modules\express\lib\router\index.js:267:22
>     at Function.proto.process_params (E:\Appium\node_modules\appium\node_modules\express\lib\router\index.js:321:12)
>     at next (E:\Appium\node_modules\appium\node_modules\express\lib\router\index.js:261:10)
>     at next (E:\Appium\node_modules\appium\node_modules\express\lib\router\route.js:100:14)
>     at next (E:\Appium\node_modules\appium\node_modules\express\lib\router\route.js:104:14)
>     at next (E:\Appium\node_modules\appium\node_modules\express\lib\router\route.js:104:14)
>     at next (E:\Appium\node_modules\appium\node_modules\express\lib\router\route.js:104:14)
>     at next (E:\Appium\node_modules\appium\node_modules\express\lib\router\route.js:104:14)
>     at next (E:\Appium\node_modules\appium\node_modules\express\lib\router\route.js:104:14)
>     at next (E:\Appium\node_modules\appium\node_modules\express\lib\router\route.js:104:14)
>     at next (E:\Appium\node_modules\appium\node_modules\express\lib\router\route.js:104:14)
>     at next (E:\Appium\node_modules\appium\node_modules\express\lib\router\route.js:104:14)
>     at next (E:\Appium\node_modules\appium\node_modules\express\lib\router\route.js:104:14)
>     at next (E:\Appium\node_modules\appium\node_modules\express\lib\router\route.js:104:14)
>     at E:\Appium\node_modules\appium\lib\server\controller.js:39:7
>     at Layer.handle [as handle_request] (E:\Appium\node_modules\appium\node_modules\express\lib\router\layer.js:82:5)
>     at next (E:\Appium\node_modules\appium\node_modules\express\lib\router\route.js:110:13)
>     at next (E:\Appium\node_modules\appium\node_modules\express\lib\router\route.js:104:14)
>     at next (E:\Appium\node_modules\appium\node_modules\express\lib\router\route.js:104:14)
>     at next (E:\Appium\node_modules\appium\node_modules\express\lib\router\route.js:104:14)
>     at next (E:\Appium\node_modules\appium\node_modules\express\lib\router\route.js:104:14)
>     at next (E:\Appium\node_modules\appium\node_modules\express\lib\router\route.js:104:14)
>     at next (E:\Appium\node_modules\appium\node_modules\express\lib\router\route.js:104:14)
>     at next (E:\Appium\node_modules\appium\node_modules\express\lib\router\route.js:104:14)
>     at next (E:\Appium\node_modules\appium\node_modules\express\lib\router\route.js:104:14)
>     at next (E:\Appium\node_modules\appium\node_modules\express\lib\router\route.js:104:14)
>     at next (E:\Appium\node_modules\appium\node_modules\express\lib\router\route.js:104:14)
>     at next (E:\Appium\node_modules\appium\node_modules\express\lib\router\route.js:104:14)
>     at next (E:\Appium\node_modules\appium\node_modules\express\lib\router\route.js:104:14)
>     at next (E:\Appium\node_modules\appium\node_modules\express\lib\router\route.js:104:14)
>     at next (E:\Appium\node_modules\appium\node_modules\express\lib\router\route.js:104:14)
>     at next (E:\Appium\node_modules\appium\node_modules\express\lib\router\route.js:104:14)
>     at Route.dispatch (E:\Appium\node_modules\appium\node_modules\express\lib\router\route.js:91:3)
>     at Layer.handle [as handle_request] (E:\Appium\node_modules\appium\node_modules\express\lib\router\layer.js:82:5)
>     at E:\Appium\node_modules\appium\node_modules\express\lib\router\index.js:267:22
>     at Function.proto.process_params (E:\Appium\node_modules\appium\node_modules\express\lib\router\index.js:321:12)
>     at next (E:\Appium\node_modules\appium\node_modules\express\lib\router\index.js:261:10)
>     at methodOverride (E:\Appium\node_modules\appium\node_modules\method-override\index.js:79:5)
>     at Layer.handle [as handle_request] (E:\Appium\node_modules\appium\node_modules\express\lib\router\layer.js:82:5)
>     at trim_prefix (E:\Appium\node_modules\appium\node_modules\express\lib\router\index.js:302:13)
>     at E:\Appium\node_modules\appium\node_modules\express\lib\router\index.js:270:7
>     at Function.proto.process_params (E:\Appium\node_modules\appium\node_modules\express\lib\router\index.js:321:12)
>     at next (E:\Appium\node_modules\appium\node_modules\express\lib\router\index.js:261:10)
>     at logger (E:\Appium\node_modules\appium\node_modules\morgan\index.js:136:5)
>     at Layer.handle [as handle_request] (E:\Appium\node_modules\appium\node_modules\express\lib\router\layer.js:82:5)
>     at trim_prefix (E:\Appium\node_modules\appium\node_modules\express\lib\router\index.js:302:13)
>     at E:\Appium\node_modules\appium\node_modules\express\lib\router\index.js:270:7
>     at Function.proto.process_params (E:\Appium\node_modules\appium\node_modules\express\lib\router\index.js:321:12)
>     at next (E:\Appium\node_modules\appium\node_modules\express\lib\router\index.js:261:10)
>     at E:\Appium\node_modules\appium\node_modules\body-parser\lib\read.js:111:5
>     at done (E:\Appium\node_modules\appium\node_modules\body-parser\node_modules\raw-body\index.js:248:14)
>     at IncomingMessage.onEnd (E:\Appium\node_modules\appium\node_modules\body-parser\node_modules\raw-body\index.js:294:7)
>     at IncomingMessage.g (events.js:199:16)
>     at IncomingMessage.emit (events.js:104:17)
>     at _stream_readable.js:908:16
>     at process._tickDomainCallback (node.js:381:11)
> info: [debug] Responding to client with error: {"status":33,"value":{"message":"A new session could not be created. (Original error: Requested a new session but one was in progress)","origValue":"Requested a new session but one was in progress"},"sessionId":"d523dae4-8371-4603-b332-1a857a14d02b"}
> error: Failed to start an Appium session, err was: Error: Requested a new session but one was in progress
> info: <-- POST /wd/hub/session 500 25.970 ms - 250
> undefined
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏
回复

使用道具 举报

该用户从未签到

2#
 楼主| 发表于 2016-10-8 18:23:58 | 只看该作者
有没有人遇到过呢
回复 支持 反对

使用道具 举报

本版积分规则

关闭

站长推荐上一条 /1 下一条

小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

GMT+8, 2024-11-11 13:17 , Processed in 0.059734 second(s), 22 queries .

Powered by Discuz! X3.2

© 2001-2024 Comsenz Inc.

快速回复 返回顶部 返回列表