Android:com.facebook.jni.CppException: Unexpected end of script

See original GitHub issue

`com.facebook.jni.CppException: Unexpected end of script

no stack at com.facebook.react.bridge.queue.NativeRunnable.run(Native Method) at android.os.Handler.handleCallback(Handler.java:907) at android.os.Handler.dispatchMessage(Handler.java:105) at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:29) at android.os.Looper.loop(Looper.java:216) at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:232) at java.lang.Thread.run(Thread.java:784)`

Description

Online logs only crash when RNActivity is run for the first time.

React Native version:

0.59.10

Expected Results

I hope not to send crash

Device

This crash is almost caused by Huawei and Honor phones image

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:9

github_iconTop GitHub Comments

2reactions
wangchongweicommented, Aug 13, 2020

I got the same issues.

0reactions
MetaBenjicommented, Nov 17, 2022

did anyone manage to find a solution to this? I’m running into a similar problem. @mouhsnimohamed and @HMY314 did you have any luck solving it?

Read more comments on GitHub >

github_iconTop Results From Across the Web

com.facebook.react.devsupport.JSException: Unexpected ...
So after much debugging I found the cause of this issue and I'll post it here incase anyone else runs into it. My...
Read more >
com.facebook.jni.CppException: Unexpected token ...
Hi Guys, I am building the application based on jitsi meet sdk. but when i run the jitsi meet application after some customization...
Read more >
com.facebook.jni.cppexception: expected at most 2 argument ...
i get 'com.facebook.jni.CppException: Could not get BatchedBridge, make sure your bundle is packaged correctly...' error from react native signed apk.
Read more >
Com.facebook.jni.CppException - react native 0.64
Question: Com.facebook.jni.CppException: getPropertyAsObject: property — react native 0.64 Answer : 1 ...
Read more >
create-react-native-web-app from orYoffe - GithubHelp
https://github.com/facebook/create-react-app/issues/253 modules: ... undefined failed, the file appears to be corrupt: "Unexpected end of data" info Visit ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found