[TIMOB-28464] Android: ECONNREFUSED error when starting emulator with Node.js 14
GitHub Issue | n/a |
Type | Bug |
Priority | None |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2021-06-16T09:51:07.000+0000 |
Affected Version/s | Release 10.0.0 |
Fix Version/s | Release 10.0.1 |
Components | Android |
Labels | n/a |
Reporter | Ewan Harris |
Assignee | Ewan Harris |
Created | 2021-06-03T08:51:41.000+0000 |
Updated | 2021-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
JSON Source
node-titanium-sdk PR: https://github.com/appcelerator/node-titanium-sdk/pull/431
titanium_mobile PR: https://github.com/appcelerator/titanium_mobile/pull/12865
master PR and 10_0_X backport merged