-
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
Module AppRegistry is not a registered callable module #21089
Comments
Can you run If you believe this information is irrelevant to the reported issue, you may write |
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 |
I put Appregistry on index.js Then in app/build/build.gradle, change the entryFile from app.js to index.js project.ext.react = [ |
Still getting this issue.
|
### Environment
Hello,
I am getting trouble when BUILD signed APK . My app always crash when open. When build as DEBUG APK it works properly.
My package json file
{
"name": "HelloBeauty",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest",
"react-devtools": "react-devtools"
},
"dependencies": {
"@expo/vector-icons": "^6.3.1",
"axios": "^0.18.0",
"babel-plugin-transform-inline-environment-variables": "^0.4.3",
"native-base": "^2.7.2",
"react": "16.4.1",
"react-native": "0.56.0",
"react-native-calendars": "^1.20.0",
"react-native-easy-grid": "^0.2.0",
"react-native-image-picker": "^0.26.10",
"react-native-modal-datetime-picker": "^6.0.0",
"react-native-simple-radio-button": "^2.7.2",
"react-native-spinkit": "^1.1.1",
"react-navigation": "^2.11.2"
},
"devDependencies": {
"babel-jest": "23.4.2",
"babel-preset-react-native": "^5",
"jest": "23.4.2",
"react-devtools": "^3.2.3",
"react-test-renderer": "16.4.1"
},
"jest": {
"preset": "react-native"
},
"rnpm": {
"assets": [
"./assets/fonts/"
]
}
}
This is error what I get in android studio
``Module AppRegistry is not a registered callable module (calling runApplication)
09-13 11:13:21.580 30979-31060/? E/AndroidRuntime: FATAL EXCEPTION: mqt_native_modules
Process: com.hellobeauty, PID: 30979
com.facebook.react.common.JavascriptException: Module AppRegistry is not a registered callable module (calling runApplication), stack:
value@25:3211
@25:935
value@25:2621
value@25:907
The text was updated successfully, but these errors were encountered: