" error: could not connect to TCP port 5554: Connection refused"
See original GitHub issueHi, I’m using the latest released version of this action, and consistently get this error.
/Users/runner/Library/Android/sdk/platform-tools/adb -s emulator-5554 emu kill
error: could not connect to TCP port 5554: Connection refused
The process '/Users/runner/Library/Android/sdk/platform-tools/adb' failed with exit code 1
This is the workflow I’m using:
jobs:
test:
name: Testing polyPod iOS app
runs-on: macOS-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16
cache: "npm"
cache-dependency-path: "**/package-lock.json"
- name: Lock xcode version
run: cd platform/ios; make lockxcodeversion
- name: Build API and features
run: ./build.js
- name: Build and test iOS
run: |
cd platform/ios
set -o pipefail
make test | xcpretty
- uses: actions/setup-java@v1
with:
java-version: 11
- name: Test android instrumentation
uses: ReactiveCircus/android-emulator-runner@76c2bf6f95ed6458fd659a1bdb680a0f8df232dc
with:
working-directory: platform/android
api-level: 30
script: ./gradlew connectedAndroidTest
Really have no idea what the problem can be. It’s probably the case that the emulator is not launched, but I have no idea why. I have upgraded to the latest macos version, and latest version of this action to no avail.
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
could not connect to TCP port 5554: Connection refused #161
Hello I have an error when I try to start an emulator. My workflow is name: Generate screenshots on: [pull_request] jobs: screenshots: name: ......
Read more >Expo will not run the app Error: could not connect to TCP port ...
My AVD mobile appeared on screen but i got following error on the terminal. Error: could not connect to TCP port 5554: cannot...
Read more >Expo Couldn't start project on Android: could not connect to ...
Coding example for the question Expo Couldn't start project on Android: could not connect to TCP port 5554: Connection refused-React Native.
Read more >Port 5554 (tcp/udp) - SpeedGuide
Trojan runs a FTP server on port 5554 on infected systems and attempts to connect to random IPs on TCP port 445. If...
Read more >Is it possible to connect to Android emulators running on a ...
Learn about connecting to Android emulators running on a Mac from a Windows VM ... Note that the emulator is listening on 2...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Can you share the full log? Looking at your action input I think you might need to specify
targetand/orarchas the default combination might not be available in newer versions of the system images.This combination does work:
As you said, default machines are no longer there, but
x86_64does work. Thanks!