appium / appium-uiautomator2-driver

Appium driver for Android UIAutomator2
Apache License 2.0
572 stars 173 forks source link

Appium does not work. #756

Closed openSourceBugs closed 6 months ago

openSourceBugs commented 6 months ago

https://appium.io/docs/en/latest/quickstart/uiauto2-driver/ following this tutorial I get: Original error: Could not find a driver for automationName 'uiautomator2' and platformName 'Android'. Have you installed a driver that supports those capabilities?

capabilities are:

capabilities = dict( platformName='Android', automationName='uiautomator2', deviceName='Android', appPackage='com.android.settings', appActivity='.Settings', language='en', locale='US' )

driver installed:

appium driver list --installed √ Listing installed drivers

If this doesn't work from the very beginning, the whole thing is broken.

openSourceBugs commented 6 months ago

Instead of saying the server was never started, it complains that the driver wasn't installed, which is completely the wrong thing to do.

mykola-mokhnach commented 6 months ago

Please provide the full server log

eglitise commented 6 months ago

Closing due to no response