IOError: RPC server not started

来源:互联网 发布:香港的淘宝叫什么名字 编辑:程序博客网 时间:2024/06/06 00:06

测试安卓应用遇到 IOError: RPC server not started!

卸载已有的应用,重新运行测试

adb uninstall com.github.uiautomator
adb uninstall com.github.uiautomator.test
How to uninstall android test stuff?

adb uninstall com.github.uiautomator
adb uninstall com.github.uiautomator.test

adb shell rm /data/local/tmp/minicap
adb shell rm /data/local/tmp/minicap.so

每次执行脚本之前都要清一遍缓存,确保脚本可用

原创粉丝点击