Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-28464] Android: ECONNREFUSED error when starting emulator with Node.js 14

GitHub Issuen/a
TypeBug
PriorityNone
StatusClosed
ResolutionFixed
Resolution Date2021-06-16T09:51:07.000+0000
Affected Version/sRelease 10.0.0
Fix Version/sRelease 10.0.1
ComponentsAndroid
Labelsn/a
ReporterEwan Harris
AssigneeEwan Harris
Created2021-06-03T08:51:41.000+0000
Updated2021-06-16T09:51:07.000+0000

Description

Description

When starting the Android emulator with Node.js 14 a ECONNREFUSED can occur if the adb daemon is not running. This is most likely identical to DAEMON-341 *Workaround* Start the adb daemon using adb start-server

Steps to reproduce

1. Kill the adb daemon with adb kill-server 2. Build to an Android emulator

Actual

Build errors with \[ERROR\] connect ECONNREFUSED 127.0.0.1:5037

Expected

No error

Comments

  1. Ewan Harris 2021-06-03

    node-titanium-sdk PR: https://github.com/appcelerator/node-titanium-sdk/pull/431
  2. Ewan Harris 2021-06-03

    titanium_mobile PR: https://github.com/appcelerator/titanium_mobile/pull/12865
  3. Ewan Harris 2021-06-16

    master PR and 10_0_X backport merged

JSON Source