Boa noite,
Estou desde ontem preso nessa etapa. Verifiquei os logs do appium com o chat gpt, usei as mesmas dependências que o professor e me certifiquei de configurar as variáveis de ambiente antes de tudo.
Joguei a versão do Java para o Java 8, pois não consegui rodar na mais atual. Não estou conseguindo progredir sozinho daqui.
Já mudei as dependências por recomendação do chat gpt tbm.
Esses são os logs do appium
[Appium] Welcome to Appium v2.4.1 [Appium] The autodetected Appium home path: C:\Users\gabri.appium [Appium] Attempting to load driver uiautomator2... [Appium] Requiring driver at C:\Users\gabri.appium\node_modules\appium-uiautomator2-driver\build\index.js [Appium] AndroidUiautomator2Driver has been successfully loaded in 1.424s [Appium] Appium REST http interface listener started on http://0.0.0.0:4723 [Appium] You can provide the following URLs in your client code to connect to this server: [Appium] http://192.168.56.1:4723/ [Appium] http://192.168.56.2:4723/ [Appium] http://192.168.15.7:4723/ [Appium] http://127.0.0.1:4723/ (only accessible from the same host) [Appium] Available drivers: [Appium] - uiautomator2@2.39.0 (automationName 'UiAutomator2') [Appium] No plugins have been installed. Use the "appium plugin" command to install the one(s) you want to use. [HTTP] --> POST /wd/hub/session [HTTP] {"desiredCapabilities":{"app":"C:\programa\AluraAppium\src\main\resources\alura_esporte.apk","automationName":"UiAutomator2","platformName":"Android"},"capabilities":{"firstMatch":[{"appium:app":"C:\programa\AluraAppium\src\main\resources\alura_esporte.apk","appium:automationName":"UiAutomator2","platformName":"android"}]}} [HTTP] No route found for /wd/hub/session [HTTP] <-- POST /wd/hub/session 404 14 ms - 211
Essa é a Exception que aponta no código
Exception in thread "main" org.openqa.selenium.SessionNotCreatedException: 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)