Я использую NativeScript для разработки мобильного приложения. Я пытаюсь эмулировать приложение с помощью 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'.
При вводе этой команды у меня есть устройство эмулятора ( Pixel 2 API 2 ): tns device android --available-devices