Reputation: 1006
I have an already working appium tests suite on my MacOS desktop, but when i try to run the same tests on an Ubuntu 16.04 desktop, I get the following error and appium gets closed automatically.
Android bootstrap socket crashed: Error: connect ECONNREFUSED
Also, just to be clear, i'm not trying to run simultaneous tests, just a single emulated android device.
1.6.3-Beta
. Also tried with 1.5.3 and got the same error.Ubuntu 16.04
7.6.0
. But got the same error with v6.Andorid 6 (Marshmallow)
Simulator
Appium CLI
Been stuck on this for a few days. Saw some question referring to simultaneous tests on the internet, but its not my case. I'm trying to run my tests on a single emulated android device.
Also tried to change the bootstrap port using the -bp
option, and set the localhost address using -a 127.0.0.1
, but no success.
https://gist.github.com/BernalCarlos/752efe621a55a2b2b0d07b966c8b5354
Thank you on advance.
Upvotes: 0
Views: 1192
Reputation: 107
I solved the problem adding the appium server argument --suppress-adb-kill-server, it prevents killing the adb server socket
Upvotes: 0
Reputation: 21
I had the similar problem. Set ADB
path in system variable as C:\Users\<username>\AppData\Local\Android\Sdk\platform-tools
This will fix the issue.
Upvotes: 0
Reputation: 1006
Solved the problem by making a fresh install of linux mint 18.1.
Still don't know why this showed up in ubuntu 16.04.
Upvotes: 0