react-native - 无法连接到开发服务器反应原生 android studio
问题描述
我再次重新安装节点模块并出现此错误
Error: Forward-slash in opening tag not followed by >Line: 9Column: 42Char: / at error (F:\project\node_modules\sax\lib\sax.js:651:10) at strictFail (F:\project\node_modules\sax\lib\sax.js:677:7) at SAXParser.write (F:\project\node_modules\sax\lib\sax.js:1295:13) at new XmlDocument (F:\project\node_modules\xmldoc\lib\xmldoc.js:261:15) at readManifest (F:\project\node_modules\@react-native-community\cli-platform-android\build\config\readManifest.js:38:10) at Object.projectConfig (F:\project\node_modules\@react-native-community\cli-platform-android\build\config\index.js:70:46) at Object.get project [as project] (F:\project\node_modules\react-native\node_modules\@react-native-community\cli\build\tools\config\index.js:106:50) at filterConfig (F:\project\node_modules\react-native\node_modules\@react-native-community\cli\build\commands\config\config.js:13:20) at Object.func (F:\project\node_modules\react-native\node_modules\@react-native-community\cli\build\commands\config\config.js:27:32) at Command.handleAction (F:\project\node_modules\react-native\node_modules\@react-native-community\cli\build\index.js:186:23)
解决方案
您的 AndroidManifest.xml 中存在语法错误。
推荐阅读
- javascript - IST 时间转换为 HHH:MM
- android - 如何修复更新 Firebase 依赖项的错误
- spring - JPA Native 查询在 INSERT INTO VALUES 上为 List paremeter 放置括号错误
- typescript - TypeScript 中的模块解析如何用于全局值(即描述)?
- excel - 初始化时在 Excel 用户表单内的 Google 地图上搜索城市
- java - 程序在可执行 jar 中的“new MimeMessage(session)”上退出
- javascript - 删除每个用户对象上的键值对
- javascript - 在 webpack 加载器中获取入口点名称
- sql - 窗口分析函数,其中窗口框架和顺序是不同的字段?
- javascript - 映射数组中的所有对象