react-native - 更新由 :RCTView 管理的 View 的属性 'accessibilityRole' 时出错

标签 react-native

您好,我遇到以下错误。心理急救

更新由 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

enter image description here

最佳答案

使用的确切版本

"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/

相关文章:

android - 如何在 Android 上以 mapbox-gl 样式将 `asset://` 用于非 APK 文件?

javascript - react native : synchronously run functions

ios - AlertIOS 未定义错误(React Native)

javascript - 等到所有回调都被调用

javascript - 无法将登录身份验证 token 作为参数传递

javascript - 如何在 React/React Native 中使用 Emscripten 编译的 JavaScript

reactjs - 使用 React Native 隐藏状态栏

android - React Native - 如何使用图像组件中的uri加载本地镜像?

react-native - 如何使用 react 导航( react 原生)实现扩展卡片动画/过渡?

javascript - 通过 javascript 加密并通过 Java 解密