β

appium的UiAutomator exited unexpectedly(1.6.3)

C++博客-首页原创精华区 41 阅读
 
今天用新手机,运行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




冬瓜 2017-02-08 14:39 发表评论
 
作者:C++博客-首页原创精华区
专注于C++技术
原文地址:appium的UiAutomator exited unexpectedly(1.6.3), 感谢原作者分享。

发表评论