java 连android设备执行adb命令中断返回流阻塞_[已解决] Mac+Android+Java 在执行用例的时候,抛出这样的错是什么原因...

错误日志:

error: Failed to start an Appium session, err was: Error: Could not find adb in tools, platform-tools, or supported build-tools under "Documents/Software/adt-bundle-mac-x86_64-20131030/sdk"; do you have android SDK or build-tools installed into this location? Supported build tools are: 17.0.0, 18.0.1, 19.0.0, 19.0.1, android-4.2.2, android-4.3, android-4.4

info: Error: Could not find adb in tools, platform-tools, or supported build-tools under "Documents/Software/adt-bundle-mac-x86_64-20131030/sdk"; do you have android SDK or build-tools installed into this location? Supported build tools are: 17.0.0, 18.0.1, 19.0.0, 19.0.1, android-4.2.2, android-4.3, android-4.4

at ADB.checkSdkBinaryPresent (/usr/local/lib/node_modules/appium/lib/devices/android/adb.js:96:10)

at ADB.checkAdbPresent (/usr/local/lib/node_modules/appium/lib/devices/android/adb.js:123:8)

at null. (/usr/local/lib/node_modules/appium/lib/devices/android/android-common.js:274:30)

at /usr/local/lib/node_modules/appium/node_modules/async/lib/async.js:551:21

at /usr/local/lib/node_modules/appium/node_modules/async/lib/async.js:227:13

at iterate (/usr/local/lib/node_modules/appium/node_modules/async/lib/async.js:134:13)

at /usr/local/lib/node_modules/appium/node_modules/async/lib/async.js:145:25

at /usr/local/lib/node_modules/appium/node_modules/async/lib/async.js:229:17

at /usr/local/lib/node_modules/appium/node_modules/async/lib/async.js:556:34

at androidCommon.checkAppPresent (/usr/local/lib/node_modules/appium/lib/devices/android/android-common.js:286:5)

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值