capabilities.setCapability("appActivity", ".activities.MainActivity");
该属性选择错误时提示:A new session could not be created. (Original error: Permission to start activity denied
等同于appium的GUI界面中的launch activity,选择正确的属性值后运行正常
GUI界面选择的是:
运行报错:
正确的设置:
时间: 2024-12-11 16:24:58