expo build:android, I encountered ECONNRESET error.
E:\App Development>expo build:android read ECONNRESET Error: read ECONNRESET at TLSWrap.onStreamRead (internal/stream_base_commons.js:204:27)
Expo Cli 3.21.5
System: Windows 10
Binaries: Node 12.18.0
IDEs: Visual Studio Code
Emulator: Android Emulator – Nexus Q (v10)
Well, In this tutorial I’ll explain how to solve the error – Read ECONNRESET
Fix Read ECONNRESET error
The ECONNRESET error means the TCP conversation has abruptly closed the connection!
Firstly verify that you’ve followed the instructions from the Expo on Building Standalone Apps.
Option 1: You may try deleting
.expo folder and then build the app.
Option 2: If option 1 didn’t work, then you can try disabling the Windows Firewall. In my case, this option fixed the issue as the Firewall was blocking the connection to the expo build server.