问题
I have followed the steps in this link. When I run using the command tns run android --emulator, I got the following error in command prompt
Configuring > 0/4 projects > root projectError: read ECONNRESET
at exports._errnoException (util.js:890:11)
at TCP.onread (net.js:552:26)
Following is the error screenshot for your reference.
Can someone help me to solve this issue? Thanks in advance.
回答1:
I have fixed this issue by updating tns-core-modules using the command npm install tns-core-modules@latest --save. After that, I have enabled the Virtualization Technology in BIOS on system startup. Now the emulator is working fine.
来源:https://stackoverflow.com/questions/38131709/tns-run-android-emulator-not-working-nativescript