Macos tns运行不';t在Mac中的emulator中加载应用程序

Macos tns运行不';t在Mac中的emulator中加载应用程序,macos,nativescript,avd,Macos,Nativescript,Avd,tns医生也列出了良好的结果 tns device android --available-devices You are using the deprecated nsconfig.json file. Just be aware that NativeScript 7 has an improved nativescript.config.(js|ts) file for when you're ready to upgrade this project. Available emula

tns医生也列出了良好的结果

tns device android --available-devices

You are using the deprecated nsconfig.json file. Just be aware that NativeScript 7 has an improved nativescript.config.(js|ts) file for when you're ready to upgrade this project.

Available emulators
Calculated width 89 is above terminal width: 80. You can try using smaller value for min_column_width. Current value is: 15
┌───────────────┬──────────┬───────────┬───────────────┬───────────────┬────────────┐
│ Device Name   │ Platform │ Version   │ Device        │ Image         │ Error Help │
│               │          │           │ Identifier    │ Identifier    │            │
│ Pixel_2_API_R │ Android  │           │               │ Pixel_2_API_R │            │
└───────────────┴──────────┴───────────┴───────────────┴───────────────┴────────────┘

Connected devices & emulators
Searching for devices...
Cannot find connected devices. Reconnect any connected devices, verify that your system recognizes them, and run this command again.
但是,当我运行
tns run android
时,我看到以下内容:

✔ Getting environment information 

No issues were detected.
✔ Your ANDROID_HOME environment variable is set and points to correct directory.
✔ Your adb from the Android SDK is correctly installed.
✔ The Android SDK is installed.
✔ A compatible Android SDK for compilation is found.
✔ Javac is installed and is configured properly.
✔ The Java Development Kit (JDK) is installed and is configured properly.
✔ Xcode is installed and is configured properly.
✔ xcodeproj is installed and is configured properly.
✔ CocoaPods are installed.
✔ CocoaPods update is not required.
✔ CocoaPods are configured properly.
✔ Your current CocoaPods version is newer than 1.0.0.
✔ Python installed and configured correctly.
✔ The Python 'six' package is found.
✔ Xcode version 10.0.0 satisfies minimum required version 10.
✔ Getting NativeScript components versions information...
⚠ Update available for component nativescript. Your current version is 7.0.7 and the latest available version is 7.0.8.
$emulator@Pixel\u 2\u API\R
只是启动了模拟器

当我运行
tns运行android时

由于某些原因,它无法启动模拟器并运行应用程序。我遗漏了什么?

此链接有帮助。我可以执行tns运行android,它会在模拟器上加载应用程序


此链接有帮助。我可以执行tns运行android,它会在模拟器上加载应用程序


tns run ios启动ios模拟器,但不加载应用程序。。。。。这就是我在终端中看到的:tns run ios——强制您使用不推荐的nsconfig.json文件。请注意,NativeScript 7有一个改进的NativeScript.config.(js | ts)文件,可用于升级此项目。下一版本的NativeScript将不支持当前的Xcode版本10.0.0。考虑更新XCODE到最新官方版本。正在搜索设备。。。找不到执行操作的适用设备。请确保连接的设备受信任,然后重试。tns run ios会启动ios模拟器,但不会加载应用。。。。。这就是我在终端中看到的:tns run ios——强制您使用不推荐的nsconfig.json文件。请注意,NativeScript 7有一个改进的NativeScript.config.(js | ts)文件,可用于升级此项目。下一版本的NativeScript将不支持当前的Xcode版本10.0.0。考虑更新XCODE到最新官方版本。正在搜索设备。。。找不到执行操作的适用设备。请确保连接的设备受信任,然后重试。
    You are using the deprecated nsconfig.json file. Just be aware that NativeScript 7 has an improved nativescript.config.(js|ts) file for when you're ready to upgrade this project.
Searching for devices...
Cannot find connected devices.
Emulator start failed with: No emulator image available for device identifier 'undefined'.
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'.
tns device
You are using the deprecated nsconfig.json file. Just be aware that NativeScript 7 has an improved nativescript.config.(js|ts) file for when you're ready to upgrade this project.

Connected devices & emulators
Searching for devices...
Cannot find connected devices. Reconnect any connected devices, verify that your system recognizes them, and run this command again.