我错过了什么,我已完成 的安装指南中要求的所有步骤 native 脚本 运行 tns doctor 给我以下输出...
C:\abc\xyz>tns doctor
√ Getting environment information
√ 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.
√ Local builds for iOS can be executed only on a macOS system. To build for iOS on a different operating system, you can use the NativeScript cloud infrastructure.
No issues were detected.
√ Getting NativeScript components versions information...
√ Component nativescript has 4.0.2 version and is up to date.
× Component tns-core-modules is not installed.
× Component tns-android is not installed.
× Component tns-ios is not installed.
最佳答案
试试这个 - tns platform add android
关于android - × 组件 tns-core-modules 未安装。 × 组件 tns-android 未安装。 × 组件 tns-ios 未安装,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50520734/