tns run android --emulator not working - NativeScript

允我心安 提交于 2019-12-11 02:23:59

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!