-
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
Build crash [Android] #17513
Comments
Look at android studio in the Logcat window - you should have the exact crash message. Nobody will be able to help you without it. |
@compojoom I looked at the logcat in android studio. It keeps on running and I am totally unable to understand it. Please help. |
I guess this is the error we are looking for : 01-11 10:38:20.420 15454-15454/com.luxsocial E/AndroidRuntime: FATAL EXCEPTION: main |
Got the issue. There is a Fatal exception in Splash screen. I have used react-native-splash-screen. Can someone help me with this ? @compojoom Thanks for your help. |
@ershubhamgarg did you fix it? I am facing the same issue without using react-native-splash-screen :) |
Is this a bug report?
No
Have you read the Contributing Guidelines?
No
Environment
Environment:
OS: macOS Sierra 10.12.6
Node: 8.4.0
Yarn: 1.3.2
npm: 5.5.1
Watchman: 4.7.0
Xcode: Xcode 9.2 Build version 9C40b
Android Studio: 2.3 AI-162.4069837
Packages: (wanted => installed)
react: 16.0.0 => 16.0.0
react-native: 0.51.0 => 0.51.0
Target Platform: iOS (8.0)
Steps to Reproduce
Expected Behavior
my project should run.
Actual Behavior
Android build built successfully but crashing on Launch.
Reproducible Demo
(Paste the link to an example project and exact instructions to reproduce the issue.)
my Package.json looks like :
{
"name": "LuxSocial",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest"
},
"dependencies": {
"react": "16.0.0",
"react-native": "0.51.0",
"react-native-fcm": "^10.0.3",
"react-native-image-progress": "^1.0.1",
"react-native-iphone-x-helper": "^1.0.1",
"react-native-keyboard-aware-scroll-view": "^0.4.1",
"react-native-loading-spinner-overlay": "^0.5.2",
"react-native-modal-dropdown": "^0.5.0",
"react-native-read-more-text": "^1.0.0",
"react-native-router-flux": "^3.41.0",
"react-native-splash-screen": "^3.0.6",
"react-native-vector-icons": "^4.4.2",
"react-redux": "^5.0.6",
"redux": "^3.7.2",
"redux-thunk": "^2.2.0"
},
"devDependencies": {
"babel-jest": "21.2.0",
"babel-preset-react-native": "4.0.0",
"eslint": "^4.14.0",
"eslint-plugin-react": "^7.5.1",
"jest": "21.2.1",
"react-test-renderer": "16.0.0"
},
"jest": {
"preset": "react-native"
}
}
The text was updated successfully, but these errors were encountered: