appium driver install uiautomator2 安装失败

报错

× Installing 'uiautomator2' using NPM install spec 'appium-uiautomator2-driver'

Error: × Encountered an error when installing package: npm command 'install --save-dev --no-progress --no-audit --omit=peer --save-exact --global-style --no-package-lock appium-uiautomator2-driver --json' failed with code 1.

其实关键看到了Error: EPERM: operation not permitted,这里, 意思是'操作不允许' , 应该是权限问题

用管理员打开cmd执行命令试试

就安装成功了

相关推荐
aiden:)2 天前
App UI 自动化环境搭建指南
运维·python·ui·appium·自动化
Steven_yang_15 天前
关于ANDROUD APPIUM安装细则
appium
币圈小菜鸟9 天前
Windows 环境下搭建移动端自动化测试环境(JDK + SDK + Node.js + Appium)
java·windows·python·测试工具·node.js·appium
nece00111 天前
使用appium对安卓(使用夜神模拟器)运行自动化测试
自动化测试·appium·安卓自动化测试
Warren9813 天前
Appium学习笔记
android·windows·spring boot·笔记·后端·学习·appium
Java方文山23 天前
Appium+Python 实现移动应用自动化测试:从基础到实战
appium
有风南来1 个月前
appium2.0+之PointerActions详解
自动化测试·appium·高级手势·pointeractions·移动设备自动化·单点触控
惜.己1 个月前
appium中urllib3.exceptions.LocationValueError: No host specified. 的错误解决办法
网络·appium
惜.己1 个月前
python中appium
开发语言·python·appium
TRACER~851 个月前
移动端自动化Appium框架
运维·appium·自动化