赞
踩
环境:
info AppiumDoctor ### Diagnostic starting ###
info AppiumDoctor ✔ The Node.js binary was found at: E:\Program Files\nodejs\node.exe
info AppiumDoctor ✔ Node version is 8.11.3
info AppiumDoctor ✔ ANDROID_HOME is set to: E:\android-sdk
info AppiumDoctor ✔ JAVA_HOME is set to: E:\Program Files\Java\jdk1.8.0_74
info AppiumDoctor ✔ adb exists at: E:\android-sdk\platform-tools\adb.exe
info AppiumDoctor ✔ android exists at: E:\android-sdk\tools\android.bat
info AppiumDoctor ✔ emulator exists at: E:\android-sdk\tools\emulator.exe
info AppiumDoctor ✔ Bin directory of %JAVA_HOME% is set
info AppiumDoctor ### Diagnostic completed, no fix needed. ###
appium-desktop 安装的最新1.6.2桌面版,安装模式为 为所有用户安装,结果在代码配置手机参数调用uiautomator2,已启动就报错
手机参数配置:
错误信息:
手机里已经安装了 appium-uiautomator2-server-v1.12.0.apk、appium-uiautomator2-server-debug-androidTest.apk,于是各种折腾,都没有任何好的解决办法,最后网上求助,说是只要将Appium卸载,重新安装模式选择为此账户安装,最后没有报错,成功运行。
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。