appium-launch activity选择错误时,提示“A new session could not be created. (Original error: Permission to st
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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的GUI界面中的launch activity,选择正确的属性值后运行正常
GUI界面选择的是:
运行报错:
正确的设置:
以上是关于appium-launch activity选择错误时,提示“A new session could not be created. (Original error: Permission to st的主要内容,如果未能解决你的问题,请参考以下文章
Maven多环境下 active: @profileActive@报错问题解决