插件 nativescript-mapbox 未包含在设备上的预览应用程序中

Plugin nativescript-mapbox is not included in preview app on device

插件 nativescript-mapbox 未包含在设备上的预览应用程序中

tns 插件添加 nativescript-mapbox

有人遇到过这种情况吗?

它的意思就是它所说的。 Nativescript Preview 应用只安装了有限数量的库,因此只能用于基本的简单应用。

The Preview app comes with a predefined set of NativeScript plugins. If your app > utilizes a plugin that is not present in the Preview app, you will see a warning > message and your app might not work as expected.

tns preview documentation

开发应用程序的最佳解决方案是使用模拟器。

附带说明一下,根据我的经验,我发现 iOS 预览版应用程序有更多插件,而且通常效果更好。