Katalon return error (Could not find a driver for automationName 'uiautomator2' and platformName 'android')

When I am trying to start mobile recorder or spy
I faced this error
Unable to create a new remote session. Please check the server log for more details. Original error: An unknown server-side error occurred while processing the command. Original error: Could not find a driver for automationName ‘uiautomator2’ and platformName ‘android’.

when run this
‘appium driver list --installed’
I found below
√ Listing installed drivers

  • uiautomator2@2.45.0 [installed (npm)]

(Lower-level error: Could not find installed driver to support given caps)
at getResponseForW3CError (C:\Users\alaa.abdelghafar\AppData\Roaming\npm\node_modules\appium\node_modules@appium\base-driver\lib\protocol\errors.js:1118:9)
at asyncHandler (C:\Users\alaa.abdelghafar\AppData\Roaming\npm\node_modules\appium\node_modules@appium\base-driver\lib\protocol\protocol.js:491:57)
Build info: version: ‘3.141.59’, revision: ‘e82be7d358’, time: ‘2018-11-14T08:25:53’
System info: host: ‘ ’, ip: ‘ ’, os.name: ‘Windows 11’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘17.0.7’
Driver info: driver.version: SwipeableAndroidDriver

appium -v
2.5.0
npm -v
10.1.0
node -v
v20.9.0

2 Likes

You have as your heading Katalon Recorder, but then you mention “spy”. What you are using is the Web Recorder of Katalon Studio. Katalon Recorder is another application completely. Is it possible that you can change it? More people may investigate your issue with the correct heading.

Edit: Oh. I see you did that in your repeat question on this topic.
Katalon return error (Could not find a driver for automationName ‘uiautomator2’ and platformName ‘android’) - Product Forums / Katalon Recorder - Katalon Community

@name1
Follow the steps as mentioned here: Katalon return error (Could not find a driver for automationName 'uiautomator2' and platformName 'android')

Install all the latest packages

 node -v
v20.18.0
npm -v
10.8.2

appium -v
2.12.0
**Install appium-doctor which will tell you the  what has been installed and what has not been through**

npm install appium-doctor -g

appium-doctor

if uiautomator@3.2.0 will throw an error that cant find uiautomator viewer

Install : npm install -g appium-uiautomator2-driver

Make sure Katalon studio project is setup perfectly entering the desired capabilities
PlatformName : Android
Device name : emulator| or real device

Get this by command on terminal : adb devices

Setup node in Katalon studio

**Also please start Appium server while running the test **


This will work now. YAY :smiley:
I think Katalon gonna support uiAutomator3.x.x version during upcoming releases!!

1 Like