您好,我遇到以下错误。心理急救
更新由 RCTView 管理的 View 的属性“accessibilityRole”时出错 无效的 无效的可访问性角色值:tab
React Native 环境信息:
系统:
OS: macOS 10.15.2
CPU: (4) x64 Intel(R) Core(TM) i5-5350U CPU @ 1.80GHz
Memory: 53.47 MB / 8.00 GB
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 12.14.1 - ~/.nvm/versions/node/v12.14.1/bin/node
npm: 6.13.4 - ~/.nvm/versions/node/v12.14.1/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
Android SDK:
API Levels: 28, 29
Build Tools: 28.0.3, 29.0.2
System Images: android-28 | Google APIs Intel x86 Atom_64, android-28 | Google Play Intel x86 Atom, android-29 | Google APIs Intel x86 Atom
IDEs:
Android Studio: 3.5 AI-191.8026.42.35.6010548
Xcode: 11.3.1/11C504 - /usr/bin/xcodebuild
npmPackages:
react: 16.6.3 => 16.6.3
react-native: ^0.59.10 => 0.59.10
最佳答案
使用的确切版本
"native-base":"2.13.12"
"@react-native-community/toolbar-android": "0.1.0-rc.2",
删除 node_module 和 npm install
关于react-native - 更新由 :RCTView 管理的 View 的属性 'accessibilityRole' 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59949770/