Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
caro-li opened this issue Oct 12, 2019 · 19 comments
Labels
question Further information is requested

Comments

@caro-li
Copy link

caro-li commented Oct 12, 2019

Ask your Question

@caro-li caro-li added the question Further information is requested label Oct 12, 2019
@alviankosim
Copy link

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 :)

@topsion-12345
Copy link

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

@ufukucar
Copy link

ufukucar commented Dec 1, 2019

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!

@sarykemmoun
Copy link

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.

@aliahmedbd
Copy link

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.

@matyneKnight
Copy link

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!

@Satur-nity
Copy link

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

@Satur-nity
Copy link

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

@Raheelbutt786
Copy link

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

@infinitbility
Copy link

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

@hadpro24
Copy link

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

@adnan1234-ad
Copy link

I have no app/build folder in the project but getting the same error
I tried the same solution but did not fix it
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

@vincentmegia
Copy link

in my case after upgrading grade plugin in android studio, I've noticed that package in AndroidManifest.xml was removed. Putting it back solved it

@abdulbari149
Copy link

in my case after upgrading grade plugin in android studio, I've noticed that package in AndroidManifest.xml was removed. Putting it back solved it

Thanks Man, It really helped me solve my issue

@arslanafzal077
Copy link

i have this issue with react-native 0.69 also add the @react-native-community/cli-platform-android but still got the same error

@szymonrybczak
Copy link
Collaborator

@arslanafzal077 please see #1981 (comment)

@ahaseeb001
Copy link

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
for me no need to del this file : platform-android Solution 2:Try deleting app\build\intermediates\signing_config\debug\out\signing-config.json

@deathook007
Copy link

For me, the problem was located within the file at node_modules/@react-native-camera-roll/camera-roll/android/src/main/java/AndroidManifest.xml

The absence of this attribute was causing complications during the build process.

The original content of the AndroidManifest.xml file appeared as follows:
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

I added the missing package attribute to the manifest element as shown below:
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.reactnativecommunity.cameraroll">

@longnc100500
Copy link

For me, the problem was located within the file at node_modules/@react-native-camera-roll/camera-roll/android/src/main/java/AndroidManifest.xml

The absence of this attribute was causing complications during the build process.

The original content of the AndroidManifest.xml file appeared as follows: <manifest xmlns:android="http://schemas.android.com/apk/res/android">

I added the missing package attribute to the manifest element as shown below: <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.reactnativecommunity.cameraroll">

same as "react-native-wheel-pick"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests