【问题标题】:View has no propType for NativeProp RCTView.borderTopRadius of native type numberView 没有原生类型编号的 NativeProp RCTView.borderTopRadius 的 propType
【发布时间】:2018-05-18 15:35:26
【问题描述】:

当我在 react native 中运行 react-native run-android 时,我收到此错误“View has no propType for NativeProp RCTView.borderTopRadius of native type number”。它似乎在我的android模拟器上。有什么解决办法吗?我尝试了网上所有的东西,但它没有用。 错误是这样的..(如果您自己没有更改此道具,这通常意味着您的本机代码和javascript代码版本超出了syc。更新两者应该可以消除此错误)

【问题讨论】:

    标签: react-native react-native-android react-native-ios


    【解决方案1】:

    这是一个新的问题,从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
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2016-03-02
      • 1970-01-01
      • 2023-03-15
      • 1970-01-01
      • 1970-01-01
      • 2019-08-14
      • 1970-01-01
      • 2012-05-16
      相关资源
      最近更新 更多