请问launchApp要被弃用了 有什么可以代替吗?The "launchApp" API is deprecated and will be removed in future versions. See https://github.com/appium/appium/issues/15807

请问launchApp要被弃用了 有什么可以代替吗?The “launchApp” API is deprecated and will be removed in future versions. See https://github.com/appium/appium/issues/15807
image

可以使用adb命令来启动app

多条用例执行会比较慢吧。调用不了已经保存的caps配置信息

现在官方没有给替代方案,目前可以解决的方法有两个:
第一种:可以像上面汤达人老师说的,在代码中调用adb_shell() 方法来调用adb 命令
第二种:可以调用 start_activity() 方法启动应用(也适用于启动第三方应用)

嗯嗯好的 谢谢老师!