Hi, I'm not sure exactly what I'm doing wrong...but it seems that Appium is having issues connecting to an android device connected via USB. First, after plugging in the device, I do not get any output when running 'adb devices' -- however, I've installed Android File Transfer and can see that the device is in fact connected. My desired capabilities hash is very simple:
capabilities = {
'device' => 'android',
'app' => 'chrome'
}
I do not have an app installed on the device, it is merely supposed to open chrome and navigate to our website. I was able to successfully run tests on an emulator, but it took very long, so I'm trying to get it to run on a real device in the hopes that it will speed up runtime. What am I missing here? Do I need to set up an AVD even though I'm connecting a real device? Also, it seems to timeout after trying to install this apk. Maybe its reading that the device is there and just failing on this install? Help please!
[daniel.hillman@fahim-spare-mac: ~] $ info: Welcome to Appium v0.14.2
info: Appium REST http interface listener started on
0.0.0.0:4723info: Not spawning instruments force-quit watcher since it only works on 10.9 and you have 10.8.5
debug: Appium request initiated at /wd/hub/session
debug: Request received with params: {"desiredCapabilities":{"device":"android","app":"chrome"}}
info: Looks like we want chrome on android
info: Creating new appium session b68cc156-7e19-4502-a6f5-ecae8a0ace18
info: Ensuring Chromedriver exists
debug: Pushing unlock helper app to device...
debug: executing: adb install /usr/local/lib/node_modules/appium/build/unlock_apk/unlock_apk-debug.apk
POST /wd/hub/session 200 59997ms