Appium DesKtop 配置了各项参数后,启动报错

[MJSONWP] Encountered internal error running command: Error: Error occured while starting App.
 Original error: Activity used to start app doesn't exist or cannot be launched!
Make sure it exists and is a launchable activity

可能情况1:activity,查找错误

如何查找activity

1)确保手机和电脑已连接   adb devices

Appium Desktop-启动异常Activity used to start app doesn't exist or cannot be launched!

2)确保在你手机上,要测试的包启动着

3)dos运行:adb shell dumpsys activity activities >C:\Users\xxx\Desktop\aa.txt

打开C:\Users\xxx\Desktop\aa.txt文件,查找你的关键字

Appium Desktop-启动异常Activity used to start app doesn't exist or cannot be launched!


4)输入属性对应的值后,点击start session尝试,查看是否正确



可能情况2:如果情况1解决不了,尝试添加属性 appwaitactivity

情况1中3),打开C:\Users\xxx\Desktop\aa.txt文件,查看关键字Running activities

Appium Desktop-启动异常Activity used to start app doesn't exist or cannot be launched!


相关文章:

  • 2021-07-20
  • 2021-07-09
  • 2021-10-29
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-06-15
  • 2022-12-23
  • 2021-08-05
  • 2021-10-30
  • 2023-03-13
  • 2022-12-23
相关资源
相似解决方案