-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Got [0 device connected] when running script on another machine #3
Comments
I would love to help you. But not sure what causes this issue. If you can remote, we can debug. |
Thanks @email2vimalraj I think you can see the issue when you run the code from another PC and replace the localhost:7100... To the target IP address host. So sad that I have no way to provide you to access to my company network. ;( |
I have the same issue. The devices is reserved in the STF web interface. But adb states 0 device connected. |
T E S T SRunning com.vimalselvam.stf.AndroidTest |
I think you need to add Adb keys to you stf |
I can connect to the device by using adb connect ipaddress:port in the command line. And after that it also shows up in the connected (The ip address I get for the ADB connect is different then ip address of the web server.) |
I if do this by hand: MACC02NT0WVG3QP:~ phnl310030549$ adb connect 161.85.22.95:15033
Then I get this error: [Appium] Creating new AndroidDriver (v1.20.0) session |
any solution to this issue? I get same error when running from other server. |
I have the same problem here. It locks the device successfully but the adb commands doesn't works Running com.vimalselvam.stf.AndroidTest Results : Failed tests: setup(com.vimalselvam.stf.AndroidTest) Tests run: 4, Failures: 1, Errors: 0, Skipped: 3 [INFO] ------------------------------------------------------------------------ |
I am also getting same issue (Could not find a connected Android device) whe running scripts from another machine. |
Thank you for creating this sample project. It's amazing!
I tested on the host where devices plugged and the test was successfully.
But when I run script from another PC. I could see it reserved the device [saw "Stop Using status"] but there was no device connected (even tried with adb devices command manually).
Could you possibly help me to point out where I need to do to narrow down the issue.
Thank you so much!
The text was updated successfully, but these errors were encountered: