【发布时间】:2021-07-18 05:22:22
【问题描述】:
需要帮助!请。
我已经编写了一个基本的 NativeScript (v7.2.1) 应用程序,并且正在使用“BottomNavigation”组件。 Doc
这在运行 NativeScript 预览应用程序以在 iOS 设备上进行测试时工作得非常好,但是当我构建应用程序并在 iOS 设备上启动它时,应用程序由于以下异常而崩溃,该异常显示“未找到模块 'BottomNavigation'元素“底部导航”。”
我不确定如何解决这个问题,因为“BottomNavigation”组件是核心组件的一部分。
我们将不胜感激任何有关这方面的帮助和信息。
Terminating app due to uncaught exception 'NativeScript encountered a fatal error: Uncaught Error: Building UI from XML. @app-root.xml:1:1 > Building UI from XML. @home/main-page.xml:3:5 > Building UI from XML. @home/home-page.xml:23:5 > Module 'BottomNavigation' not found for element 'BottomNavigation'. > instanceType is not a constructor
【问题讨论】:
标签: ios nativescript bottomnavigationview