Reputation: 151
I just used Appium-desktop to see logs during the connection with my smartphone and Appium-inspector to inspect the DOM too, I'm new in this exercise and I search a lot without any result for the moment. I can see my smartphone is well connected and the server seems to work.
I created a Android folder in C:\Users<USERNAME>\AppData\Local, in it I have installed cmdline-tools, platform-tools and run the command :
sdkmanager "build-tools;28.0.3" to install others packages in the Android folder
My environment:
OS : Windows 10
Appium version : 1.22.0
Node : v14.17.6
Npm : 6.14.15
Sdkmanager : 4.0.1
I show you in pictures the state of Appium-desktop at the starting and during the processus
My host is 0.0.0.0, port: 4723
Disared capabilities: platformName: Android
deviceName: HUAWEI VNS-L31
udid: FUH7N16607025752
plateformVersion: 7.0
And unfortunately it doesn't work when I start session
I have this error message:
"Error
Failed to create session. The requested resource could not be found, or a request was received using an HTTP method that is not supported by the mapped resource"
Does anyone have an idea please?
Upvotes: 15
Views: 65116
Reputation: 1
I had the same problem so I have set the remote path in appium inspector it got resolved
To set the remote path follow below steps
once it's done, re-start the appium inspector, this will resolve your issue.
Upvotes: 0
Reputation: 441
I had the same problem. Try the following:
Go to Appium Server GUI -> Advanced
Server address: localhost
Port: 4723
Allow CORP: yes
Go to Appium Inspector
Remote host: localhost
Port: 4723
Path: /wd/hub
Allow Unauthorized Certificates
Select your capabilities
Start server
Upvotes: 44