selenium-webdriverappium-androidandroid-uiautomator

I have Installed, appium and the driver as well but I am struggling


I have installed Appium. UIautomator 2 driver also added dependencies for all of the required tools but I am getting an exception named as

Unable to create a new remote session. Please check the server log for more details. Original error: The requested resource could not be found, or a request was received using an HTTP method that is not supported by the mapped resource (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 184 milliseconds

I am posting my code as well

Code

I am trying to run Appium but Its not working already I have installed android studio, everything I tried but its not happening first tine I am trying StackOverflow for the support


Solution

  • It's hard to know the exact reason for your issue but you can try the following things.

    I faced a similar type of error and fixed it by changing the Appium server port from 4723 to 4724.