HMS 中的 React Native 获取 groovy.json.JsonException: 无法确定当前字符,它不是字符串、数字、数组或对象
React Native in HMS getting groovy.json.JsonException: Unable to determine the current character, it is not a string, number, array or object
当我在 HMS 中使用 React Native 时出现以下错误
错误信息:groovy.json.JsonException:无法确定当前字符,它不是字符串、数字、数组或对象
每次我尝试 运行 并构建 React native HMS Location Kit 时都会出现上述错误。
在文件夹中添加所有依赖和Location SDK并链接。
如何解决问题?
通过 运行 卸载 npm
npm uninstall -g
并通过运行在项目文件夹中重新安装
npm 安装
和link 运行 的项目
npm link
当我在 HMS 中使用 React Native 时出现以下错误 错误信息:groovy.json.JsonException:无法确定当前字符,它不是字符串、数字、数组或对象
每次我尝试 运行 并构建 React native HMS Location Kit 时都会出现上述错误。
在文件夹中添加所有依赖和Location SDK并链接。
如何解决问题?
通过 运行 卸载 npm npm uninstall -g
并通过运行在项目文件夹中重新安装 npm 安装
和link 运行 的项目 npm link