tns运行android--模拟器不工作-NativeScript

tns运行android--模拟器不工作-NativeScript,android,nativescript,Android,Nativescript,我已经遵循了本文中的步骤。当我使用命令tnsrunandroid--emulator运行时,在命令提示符中出现了以下错误 Configuring > 0/4 projects > root projectError: read ECONNRESET at exports._errnoException (util.js:890:11) at TCP.onread (net.js:552:26) 以下是错误截图,供您参考 有人能帮我解决这个问题吗?提前感谢。我已通过

我已经遵循了本文中的步骤。当我使用命令tnsrunandroid--emulator运行时,在命令提示符中出现了以下错误

Configuring > 0/4 projects > root projectError: read ECONNRESET
    at exports._errnoException (util.js:890:11)
    at TCP.onread (net.js:552:26)
以下是错误截图,供您参考


有人能帮我解决这个问题吗?提前感谢。

我已通过使用命令
npm install tns core更新
tns核心模块
解决了此问题-modules@latest--保存
。之后,我在系统启动时在BIOS中启用了
虚拟化技术。现在模拟器工作正常。

我认为这是由旧模块造成的。关于这一点,您可以按照这里的步骤来更新NativeScript。此外,从项目中删除
/platform
/node\u modules
文件夹。如果您使同一个项目过期,您可以尝试使用Genymotion-,它是免费供个人使用的。