-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
Android and iOS app crash at startup in production build #21765
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 |
Same issue after upgrading from v0.56 to v0.57 |
'com.android.tools.build:gradle:3.2.1'
working normal after downgrade 3.2.1 to 'com.android.tools.build:gradle:3.1.4' |
@llitfkitfk I got the same error. |
I got the same error,the same logs. |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions. |
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information. |
Environment
React Native Environment Info:
System:
OS: Linux 4.15 Ubuntu 18.04.1 LTS (Bionic Beaver)
CPU: x64 Intel(R) Core(TM) i3-4150 CPU @ 3.50GHz
Memory: 399.68 MB / 15.54 GB
Shell: 4.4.19 - /bin/bash
Binaries:
Node: 8.10.0 - /usr/bin/node
Yarn: 1.8.0 - /home/linuxbrew/.linuxbrew/bin/yarn
npm: 5.10.0 - /home/linuxbrew/.linuxbrew/bin/npm
Watchman: 4.9.0 - /home/linuxbrew/.linuxbrew/bin/watchman
SDKs:
Android SDK:
Build Tools: 19.0.1, 19.1.0, 20.0.0, 21.1.2, 22.0.1, 23.0.1, 23.0.2, 23.0.3, 24.0.0, 24.0.1, 24.0.2, 24.0.3, 25.0.0, 25.0.1, 25.0.2, 25.0.3, 26.0.0, 26.0.0, 26.0.1, 26.0.2, 26.0.3, 27.0.0, 27.0.1, 27.0.2, 27.0.3, 28.0.0, 28.0.0, 28.0.1, 28.0.2
API Levels: 16, 17, 18, 19, 21, 22, 23, 24, 25, 26, 27, 28
npmPackages:
react: 16.4.1 => 16.4.1
react-native: 0.57.0 => 0.57.0
npmGlobalPackages:
create-react-native-app: 1.0.0
react-native-cli: 2.0.1
react-native-scripts: 1.14.1
Description
Android and Ios app crash at startup in production build
here is a crash log
Following are the dependencies in package.json file
Steps to reproduce
For iOS:
For Android:
react-native run-android --variant=release
.The text was updated successfully, but these errors were encountered: