-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
app crash in release build only #22046
Comments
It looks like you are using an older version of React Native. Please update to the latest release, v0.57 and verify if the issue still exists. The ":rewind:Old Version" label will be removed automatically once you edit your original post with the results of running |
Was this resolved by updating to latest react-native release ? |
@ingviso do this steps in terminal at project root directory this fix the problem for me |
That worked thanks @ProMasoud |
works for me. thanks |
Wow! Been pulling my hair out over this. Why does this work? I inherited a project that doesn't actually have an index.js file so I updated your script to use index.android.js but why does my debug project run with no problem but the signed apk release build crash on startup. Thanks again! |
Thanks a million! |
Environment
Environment:
OS: Windows 10
Node: 8.12.0
Yarn: Not Found
npm: 6.4.1
Watchman: Not Found
Xcode: N/A
Android Studio: Version 3.2.0.0 AI-181.5540.7.32.5056338
Packages: (wanted => installed)
react: ^16.5.2 => 16.5.2
react-native: ^0.55.4 => 0.55.4
Description
I have problem with release build of react native. App successfully generated and install in device but crash while open the app.
With android studio LOGCAT I get the log of app and this is the error
of course in debug build app work correctly with any problem
I searched a lot in previous issue and stackoverflow but any of them wasn't for release build.
The text was updated successfully, but these errors were encountered: