tns设备运行-设备给出无法读取未定义的属性'replace'

问题描述 投票:0回答:1

我正在尝试在Genymotion模拟器中运行Nativescript ann。但其困扰无法读取未定义的属性'replace'

enter image description here

android nativescript genymotion
1个回答
0
投票

不确定是否找到答案,但这已为我解决了:

  1. 运行tns device获取连接到机器的设备列表。

  2. 使用上一个命令中的设备标识符并运行以下命令:

tns device run --device <device identifier>
© www.soinside.com 2019 - 2024. All rights reserved.