1. Error: Unable to find an active device or emulator with OS 7.0.0. The following are available: emulator-5554 (7.0)
用adb devices 命令查看安卓真机或者模拟器的设备名称,见下图的
2. 输入汉字乱码显示
原因一:代码上的修改如图,在汉字前面加个u
原因二:安装Appium Android Input Manager for Unicode、
安卓手机系统语音默认设置为Appium Android Input Manager for Unicode;注意:华为手机系统设置了这个输入法之后,手动操作手机键盘无法调出