相关疑难解决方法(0)

错误:无法确定当前字符,它不是 android 的 react-native 中的字符串、数字、数组或对象

每当我在保持模拟器运行的同时运行react-native run-android时,我都会收到此错误。react-native run-ios完全正常。

Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081
:ReactNative:Failed to parse React Native CLI configuration: groovy.json.JsonException: Unable to determine the current character, it is not a string, number, array, or object

The current character read is 'E' with an int value of 69
Unable to determine the current character, it is not a string, number, array, or object
line number 1
index number 0
Error: Invalid attribute nameLine: 16Column: 18Char: .    at error (/Users/yashatreya/Desktop/Realyze/Realyze/node_modules/sax/lib/sax.js:651:10)    at …
Run Code Online (Sandbox Code Playgroud)

javascript java android node.js react-native

14
推荐指数
2
解决办法
2万
查看次数

标签 统计

android ×1

java ×1

javascript ×1

node.js ×1

react-native ×1