android - Catalyst Instance 已经消失:由 FrescoModule 请求
问题描述
描述
我正在将 react-native 与跨平台支持、android(发现错误)、ios(未测试)、web(正常工作)集成。
使用命令创建项目rect-native init "app"
并使用它进行安装时,react-native run-android
它可以工作,但是在安装 react-native-web 时它给了我错误,再次尝试是它给我错误的地方
反应原生版本:
系统:
OS: Windows 10 10.0.19043
CPU: (4) x64 Intel(R) Core(TM) i5-6500T CPU @ 2.50GHz
Memory: 2.98 GB / 15.88 GB
二进制文件:
Node: 14.17.6 - C:\Program Files\nodejs\node.EXE
Yarn: Not Found
npm: 7.21.1 - C:\Program Files\nodejs\npm.CMD
Watchman: Not Found
开发工具包:
Android SDK: Not Found
Windows SDK:
AllowDevelopmentWithoutDevLicense: Enabled
IDE:
Android Studio: Version 2020.3.0.0 AI-203.7717.56.2031.7678000
Visual Studio: Not Found
语言:
Java: 15.0.1
npmPackages:
@react-native-community/cli: Not Found
react: 17.0.2 => 17.0.2
react-native: 0.65.1 => 0.65.1
react-native-windows: Not Found
npmGlobalPackages:
*react-native*: Not Found
重现步骤
react-native init 'Name'
- 从步骤https://necolas.github.io/react-native-web/docs/installation/整合 react-native-web
- 从这里为 react-native-web 应用额外的配置https://arry.medium.com/how-to-add-react-native-web-to-an-existing-react-native-project-eb98c952c12f
react-native run-android
预期成绩
应用程序正常运行
链接(与顶部相同):
https://necolas.github.io/react-native-web/docs/installation/ https://arry.medium.com/how-to-add-react-native-web-to-an-existing-react-本机项目-eb98c952c12f
解决方案
推荐阅读
- javascript - 表单填充后启用按钮 Javascript - Swift
- c# - 二叉搜索树删除功能
- java - 在 Golang 中初始化一个新类(将 Java 转换为 Golang)
- mysql - 不同疾病按同一ID分组
- c++ - 在不影响重力的情况下阻尼弹簧
- python - 如何在画布 Tkinter 上刷新文本
- sapui5 - 每次打开视图时都不会调用“onBeforeRendering”或“onAfterRendering”
- javascript - 在 innerHTML 中调用函数
- azure - 如何将附加模板中的 loadBalancingRules、侦听器和概率关联到 Azure 云上的现有负载均衡器?
- django - 获取模型中 M2M 字段的所有可能值