Щелкните поле ошибки в React Native, выдает ошибку: requireNativeComponent: «RCTScrollContentView» не найден в UIManager ⇐ Android

Форум для тех, кто программирует под Android
Anonymous
Щелкните поле ошибки в React Native, выдает ошибку: requireNativeComponent: «RCTScrollContentView» не найден в UIManager

Сообщение Anonymous »

Когда я пытаюсь запустить React Native на Android, я получаю следующую ошибку после попытки щелкнуть окно журнала в приложении:

Код: Выделить всё

Invariant Violation: An error was thrown when attempting to render log messages via LogBox.

requireNativeComponent: "RCTScrollContentView" was not found in the UIManager.

This error is located at:
in RCTScrollContentView (created by ScrollView)
in RCTScrollView (created by ScrollView)
in ScrollView (created by ScrollView)
in ScrollView (created by LogBoxInspectorCodeFrame)
in RCTView (created by View)
in View (created by LogBoxInspectorCodeFrame)
in RCTView (created by View)
in View (created by LogBoxInspectorCodeFrame)
in RCTView (created by View)
in View (created by LogBoxInspectorSection)
in RCTView (created by View)
in View (created by LogBoxInspectorSection)
in LogBoxInspectorSection (created by LogBoxInspectorCodeFrame)
in LogBoxInspectorCodeFrame (created by LogBoxInspectorBody)
in RCTScrollContentView (created by ScrollView)
in RCTScrollView (created by ScrollView)
in ScrollView (created by ScrollView)
in ScrollView (created by LogBoxInspectorBody)
in LogBoxInspectorBody (created by LogBoxInspector)
in RCTView (created by View)
in View (created by LogBoxInspector)
in LogBoxInspector (created by _LogBoxInspectorContainer)
in RCTView (created by View)
in View (created by _LogBoxInspectorContainer)
in _LogBoxInspectorContainer (created by LogBoxStateSubscription)
in LogBoxStateSubscription
in RCTView (created by View)
in View (created by AppContainer)
in RCTView (created by View)
in View (created by AppContainer)
in AppContainer
in LogBox(RootComponent), js engine: hermes
Пакет RNFS тоже по какой-то причине не работал
Когда я возвращаюсь к предыдущему коммиту, все работает нормально, но эта ошибка возникает, когда Я пытаюсь запустить новый коммит. После стирания данных на телефоне проблема исчезает, но RNFS по-прежнему не может загрузить файлы. Перезагрузка приложения приводит к повторному появлению ошибки. У меня версия 0.72.13.

Подробнее здесь: https://stackoverflow.com/questions/793 ... ponent-rct

Вернуться в «Android»