appium踩坑:Error: Failed to launch Appium Settings app: Cannot start the ‘io.appium.settings‘ applicat

在使用Appium时遇到Error: Failed to launch Appium Settings app,原因是手动删除了'io.appium.settings'应用。解决办法是通过ADB删除相关包后重新运行Appium,确保所有必需的应用能正确安装。
摘要由CSDN通过智能技术生成

appium server完整报错信息:

Error: Failed to launch Appium Settings app: Cannot start the
‘io.appium.settings’ application. Visit
https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/android/activity-startup.md
for troubleshooting. Original error: Activity name ‘.Settings’ used to
start the app doesn’t exist or cannot be launched! Make sure it exists
and is a launchable activity

找了一天的错误,故记录一下
原因:旧的测试机不小心手动删除了appium setting包(如下图),所以再次跑appium时报错: Cannot start the ‘io.appium.settings’ application
在这里插入图片描述
在手机进行第一次运行appium操作的时候,会安装appium settings以及两个iuautomator2的包,如下
在这里插入图片描述

评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值