我用
开发移动应用程序。我试着用
tns run android --emulator
但在1分钟或更短的时间后,我有以下错误。
λ tns run android --emulator
Searching for devices...
Starting Android emulator with image Pixel_2_API_25
Cannot find connected devices.
Emulator start failed with: Cannot run your app in the native emulator. Increase the timeout of the operation with the --timeout option or try to restart your adb server with 'adb kill-server' command. Alternatively, run the Android Virtual Device manager and increase the allocated RAM for the virtual device.
To list currently connected devices and verify that the specified identifier exists, run 'tns device'.
To list available emulator images, run 'tns device <Platform> --available-devices'.
我有一个模拟器设备(
像素2 API 2
)键入此命令时:
tns device android --available-devices