首页 > 学院 > 开发设计 > 正文

appium的UiAutomator exited unexpectedly

2019-11-09 15:50:37
字体:
来源:转载
供稿:网友
今天用新手机,运行appium 1.6.3 测试,发现日志打印如下错误:[debug] [ADB] Creating ADB subPRocess with args: ["-P",5037,"-s","xxxxxxxxxxx","shell","uiautomator","runtest","AppiumBootstrap.jar","-c","io.appium.android.bootstrap.Bootstrap","-e","pkg","com.tencent.mm","-e","disableAndroidWatchers",false,"-e","acceptSslCerts",false][UiAutomator] UiAutomator exited unexpectedly with code 0, signal null仔细看日志发现,发现/data/local/tmp缺少AppiumBootstrap.jar然后在appium的node_module目录下面的appium-android-bootstrap/bootstrap/bin找到AppiumBootstrap.jar,然后复制到/data/local/tmp就可以,然后再运行,测试OK
发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表