View没有本机类型编号的NativeProp RCTView.borderTopRadius的propType

问题描述 投票:1回答:1

当我在react native中运行react-native run-android时,我收到此错误'View has NativeProp RCTView.borderTopRadius of native type number'。它似乎在我的Android模拟器上。有什么解决方案吗?我在网上尝试了所有的东西,但它没有用。错误是这样的..(如果你自己没有改变这个道具,这通常意味着你的本机代码版本和javascript代码都不在syc中。更新两者应该会让这个错误消失)

react-native react-native-android react-native-ios
1个回答
2
投票

这是一个新问题,从5月15日开始,并在github.https://github.com/facebook/react-native/issues/19259上查看问题

编辑app / build.gradle

compile ("com.facebook.react:react-native:your-react-native-version") { force = true } // From node_modules
© www.soinside.com 2019 - 2024. All rights reserved.