Cli: Unable to determine the current character, it is not a string, number, array, or object

Created on 12 Oct 2019  路  11Comments  路  Source: react-native-community/cli

Ask your Question

question

Most helpful comment

How to fix this bug?
Solution 1: run npm i --save @react-native-community/cli-platform-android
Solution 2:Try deleting app\build\intermediates\signing_config\debug\out\signing-config.json

Works! Thnx

All 11 comments

hello, in my case, it's because of my mistake. unfortunately i remove closing tag > inside AndroidManifest.xml. After i put it again, it works with no error.

But, before i find out the problem. On the internet, they suggest me to delete android/app/build folder.

hope it helps :)

How to fix this bug?
Solution 1: run npm i --save @react-native-community/cli-platform-android
Solution 2:Try deleting app\build\intermediates\signing_config\debug\out\signing-config.json

Works! Thnx

How to fix this bug?
Solution 1: run npm i --save @react-native-community/cli-platform-android
Solution 2:Try deleting app\build\intermediates\signing_config\debug\out\signing-config.json

Works! Thnx

Thanks man.
Solution-2 worked for me!

hello, in my case, it's because of my mistake. unfortunately i remove closing tag > inside AndroidManifest.xml. After i put it again, it works with no error.

@alviankosim
Thanks!
It was my problem too.

How to fix this bug?
Solution 1: run npm i --save @react-native-community/cli-platform-android
Solution 2:Try deleting app\build\intermediates\signing_config\debug\out\signing-config.json

Works! Thnx

Thanks, man. The solution is worked for me.

How to fix this bug?
Solution 1: run npm i --save @react-native-community/cli-platform-android
Solution 2:Try deleting app\build\intermediates\signing_config\debug\out\signing-config.json

Works! Thnx

Thanks man,
when I tried solution 2, it didn't work but when i delete app\build\intermediates\signing_config\release\out\signing-config.json, it worked!

In my case I don't have signing-config.json on my react-native project still facing an issue.

Hey guys,

I found a solution

step 1: delete your app/build folder
step 2: goto your project/android>gradlew clean
step 3: project>npx react-native run-android

How to fix this bug?
Solution 1: run npm i --save @react-native-community/cli-platform-android
Solution 2:Try deleting app\build\intermediates\signing_config\debug\out\signing-config.json

Works! Thnx

worked for me thanku

I Follow Below blog and it's work for me

https://medium.com/@tiwarishani/unable-to-determine-the-current-character-it-is-not-a-string-number-array-or-object-in-react-f34c80d96e8e

How to fix this bug?
Solution 1: run npm i --save @react-native-community/cli-platform-android
Solution 2:Try deleting app\build\intermediates\signing_config\debug\out\signing-config.json

Works! Thnx

Thanks. The first method works for me

Was this page helpful?
0 / 5 - 0 ratings