Unable to determine the current character, it is not a string, number, array, or object in react native

By React Native debugger

Infinitbility
1 min readMar 30, 2020
Captured By Shani Tiwari

This error occurs for many reasons on react native application. I found some solutions.

Solution 1

  1. Delete Your Builds folder Available on react native app
Dir1. Project\android\build
2. Project\Android\App\build

2. Clean & Run Your project

$ cd android$ gradlew clean$ cd ..$ npx react-native run-android

Solution 2

  1. Delete Your signing-config.json file
DirProject\android\app\build\intermediates\signing_config\debug\out\signing-config.json

2. Clean & Run Your project

$ cd android$ gradlew clean$ cd ..$ npx react-native run-android

Solution 3

  1. install CLI-platform-android
npm i --save @react-native-community/cli-platform-android

2. Clean & Run Your project

$ cd android$ gradlew clean$ cd ..$ npx react-native run-android

Solution 4

  1. check & correct your AndroidManifest.xml file

Sometimes we forgot to close tags on an XML file

DirProject\android\app\src\main\AndroidManifest.xml

2. Clean & Run Your project

$ cd android$ gradlew clean$ cd ..$ npx react-native run-android

Clap For Your Solved error…

--

--

Infinitbility
Infinitbility

Written by Infinitbility

Subscribe my newsletter to get weekly updates. — https://infinitbility.com/about

No responses yet