【发布时间】:2022-08-06 08:10:32
【问题描述】:
我正在运行一个使用 react native expo 创建的 android 应用程序。 它在 Windows 机器 android studio 模拟器上运行良好 最近我切换到mac,当我在android studio中打开项目时弹出这个错误。
TypeError: this.InnerNativeModule.configureProps is not a function. (In \'this.InnerNativeModule.configureProps(uiProps, nativeProps)\', \'this.InnerNativeModule.configureProps\' is undefined)
at node_modules/react-native/Libraries/Core/ExceptionsManager.js:104:6 in reportException
at node_modules/react-native/Libraries/Core/ExceptionsManager.js:171:19 in handleException
at node_modules/react-native/Libraries/Core/setUpErrorHandling.js:24:6 in handleError
at node_modules/expo-error-recovery/build/ErrorRecovery.fx.js:12:21 in ErrorUtils.setGlobalHandler$argument_0
此错误的可能原因和可能的解决方案可能是什么? 提前致谢
标签: react-native android-studio expo