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

E/ReactNativeJNI: Got JS Exception: Unexpected identifier 'str' #23224

Closed
GospelHW opened this issue Jan 31, 2019 · 7 comments
Closed

E/ReactNativeJNI: Got JS Exception: Unexpected identifier 'str' #23224

GospelHW opened this issue Jan 31, 2019 · 7 comments
Labels
Bug Resolution: Locked This issue was locked by the bot.

Comments

@GospelHW
Copy link

GospelHW commented Jan 31, 2019

I want to upgrade RN to 0.57.8 from 0.38
my step is:
1.npm install --save react-native@0.57.8
2.react-native run-android

Environment
React Native Environment Info:
System:
OS: macOS High Sierra 10.13.4
CPU: (8) x64 Intel(R) Core(TM) i7-4750HQ CPU @ 2.00GHz
Memory: 66.59 MB / 8.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 11.6.0 - /usr/local/bin/node
npm: 6.7.0 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
Android SDK:
API Levels: 22, 23, 24, 25, 26, 27, 28
Build Tools: 23.0.1, 23.0.3, 27.0.3, 28.0.3
System Images: android-28 | Google APIs Intel x86 Atom
IDEs:
Xcode: /undefined - /usr/bin/xcodebuild
npmPackages:
react: ^16.5.2 => 16.7.0
react-native: ^0.57.8 => 0.57.8
npmGlobalPackages:
react-native-cli: 2.0.1

Description
stack is
2019-01-31 10 48 13

And Devices show
device-2019-01-31-104658

Do you know what is exception?Please help me.thank you.

@react-native-bot
Copy link
Collaborator

Can you run react-native info and edit your issue to include these results under the Environment section?

If you believe this information is irrelevant to the reported issue, you may write [skip envinfo] under Environment to let us know.

@GospelHW
Copy link
Author

@react-native-bot okay,this is Env info :
React Native Environment Info:
System:
OS: macOS High Sierra 10.13.4
CPU: (8) x64 Intel(R) Core(TM) i7-4750HQ CPU @ 2.00GHz
Memory: 66.59 MB / 8.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 11.6.0 - /usr/local/bin/node
npm: 6.7.0 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
Android SDK:
API Levels: 22, 23, 24, 25, 26, 27, 28
Build Tools: 23.0.1, 23.0.3, 27.0.3, 28.0.3
System Images: android-28 | Google APIs Intel x86 Atom
IDEs:
Xcode: /undefined - /usr/bin/xcodebuild
npmPackages:
react: ^16.5.2 => 16.7.0
react-native: ^0.57.8 => 0.57.8
npmGlobalPackages:
react-native-cli: 2.0.1

@react-native-bot
Copy link
Collaborator

It looks like you are using an older version of React Native. Please update to the latest release, v0.58 and verify if the issue still exists.

The "Resolution: Old Version" label will be removed automatically once you edit your original post with the results of running react-native info on a project using the latest release.

@gronel
Copy link

gronel commented Jan 31, 2019

I try to update from 57 to 58 same problem i encounter.

@GospelHW
Copy link
Author

@react-native-bot I will try to update to the v0.58...but are you sure?

@GospelHW
Copy link
Author

@react-native-bot Thank you very mach,this bug not show agin,but i have new question? looks #23228

@gronel
Copy link

gronel commented Jan 31, 2019 via email

@GospelHW GospelHW closed this as completed Feb 1, 2019
@facebook facebook locked as resolved and limited conversation to collaborators Feb 1, 2020
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Feb 1, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

3 participants