android - Appium timeout error while connecting to driver -


i using appium automate native android application on real device getting following exception @ openqa.selenium.webdriverexception the http request remote webdriver server url http://127.0.0.1:4723/wd/hub/session timed out after 60 seconds.

on checking appium server logs mentioned follows :

info: console loglevel: debug

info: --> post /wd/hub/session {"desiredcapabilities":{"device":"android","platform":"windows","devicename":"soti india (sm-p600)","platformname":"android","platformversion":"4.4","apppackage":"net.soti.hub","appactivity":"net.soti.securecontentlibrary.activities.splashactivity"}} info: client user-agent string: undefined info: [debug] following desired capabilities provided, not recognized appium. passed on other services running on server. : device, platform info: [debug] didn't app did android package, attempt launch on device info: [debug] creating new appium session 0762641e-991f-4b4b-8953-e4b9135f22ef info: starting android appium info: [debug] getting java version info: java version is: 1.8.0_45 info: [debug] checking whether adb present warn: android_home environment variable not set android sdk root directory path. android_home required compatibility sdk 23+. checking along path adb. info: [debug] executing cmd: adb info: [debug] using adb g:\adb\sdk\platform-tools\adb.exe

warn: no app capability, can't parse package/activity info: [debug] set chromedriver binary as: c:\appium\appium\node_modules\appium\build\chromedriver\windows\chromedriver.exe info: [debug] using fast reset? true info: [debug] preparing device session info: [debug] not checking whether app present since assuming it's on device info: retrieving device info: [debug] trying find connected android device info: [debug] getting connected devices... info: [debug] executing cmd: "g:\adb\sdk\platform-tools\adb.exe" devices info: [debug] 1 device(s) connected info: found device 43007015586711f1 info: [debug] setting device id 43007015586711f1 info: [debug] waiting device ready , respond shell commands (timeout = 5) info: [debug] executing cmd: "g:\adb\sdk\platform-tools\adb.exe" -s 43007015586711f1 wait-for-device info: [debug] executing cmd: "g:\adb\sdk\platform-tools\adb.exe" -s 43007015586711f1 shell "echo 'ready'" info: [debug] starting logcat capture error: logcat capture failed: spawn enoent info: [debug] stopping logcat capture info: <-- post /wd/hub/session - - ms - -

what can possible issue

it seems have not configured android sdk path in appium gui..

in appium gui under android setting have set android sdk path

if running appium console have set android_home in environment variables , assign environment path


Comments

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

php - Find a regex to take part of Email -