我的应用程序总是在 Android 模拟器中崩溃。
每次我将我的应用程序导航到主选项卡时,我的应用程序都会因错误而崩溃。我认为这不是由 React Native Navigation 引起的,我认为是因为 React Native Vector Icons 因为在 Android 中它需要为选项卡添加图标。这个错误只是突然出现而没有更改我的任何代码。
这是来自 React Native Debugger 的错误:
Uncaught (in promise) TypeError: Iterator value v is not an entry object
at new Map (native)
at file:///D:/Downloads/rn-debugger-windows-ia32/resources/app.asar/js/bundle。 js:9:8044
匿名
这些是我的依赖项:
"react": "16.6.3",
"react-native": "0.58.6",
"react-native-maps": "^0.23.0",
"react-native-navigation": "^1.1.493",
"react-native-vector-icons": "^6.4.1"
随时询问我的代码和任何问题。谢谢!