appium-launch activity选择错误时,提示“A new session could not be created. (Original error: Permission to st

要须心地收汗马,孔孟行世目杲杲。这篇文章主要讲述appium-launch activity选择错误时,提示“A new session could not be created. (Original error: Permission to st相关的知识,希望能为你提供帮助。
 
capabilities.setCapability("appActivity", ".activities.MainActivity");
该属性选择错误时提示:A new session could not be created. (Original error: Permission to start activity denied
【appium-launch activity选择错误时,提示“A new session could not be created. (Original error: Permission to st】等同于appium的GUI界面中的launch activity,选择正确的属性值后运行正常
GUI界面选择的是:

appium-launch activity选择错误时,提示“A new session could not be created. (Original error: Permission to st

文章图片

运行报错:
appium-launch activity选择错误时,提示“A new session could not be created. (Original error: Permission to st

文章图片

appium-launch activity选择错误时,提示“A new session could not be created. (Original error: Permission to st

文章图片

 
正确的设置:
appium-launch activity选择错误时,提示“A new session could not be created. (Original error: Permission to st

文章图片

 

    推荐阅读