desired_caps['appPackage'] = 'jp.naver.line.android' #Line
desired_caps['appActivity'] = 'jp.naver.line.android.activity.main.MainActivity'

【Error】:selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Cannot start the 'jp.naver.line.android' application. Original error: The permission to start 'jp.naver.line.android.activity.main.MainActivity' activity has been denied.Make sure the activity/package names are correct.

查的 LINE 的 appPackage 和 appActivity 应该不会有错,jp.naver.line 这种开头第一次见,然后 appium 就报错了

这是为什么呢?是 appium 打不开 Line 么?


↙↙↙阅读原文可查看相关链接,并与作者交流