Error message:
because package io.appium.uiautomator2.server.test does not have a signature matching the target io.appium.uiautomator2.server
Solution:
And should be visually io.appium.uiautomator2.server.test.apk io.appium.uiautomator2.server.apk not correspond
so reinstall these two apk
when execution example of
caps["skipServerInstallation"] = False # 默认为False,这句不添加也行,之前是把这个地方设置为True了
self.driver = webdriver.Remote("http://localhost:4723/wd/hub", caps)
Run again, successfully executed.