react-native: Android local release/debug works, play store version crashes
I’ve developed a react-native app and published it to the play store. After upgrading React Native to v0.60.5 and adding some features the updated version 1.1.0 stopped working.
While the local builds (debug/release) built in android studio are working, the uploaded app bundle available in play store is not.
The version downloaded in the play store stucks in the slash screen and isn’t returning any feedback.
React Native version: 0.60.5
adb logcat *:E
is throwing following lines:
09-30 17:40:33.025 1194 1253 E PackageManager: failed to find package com.brive_app
09-30 17:40:33.025 1194 1253 E OverlayManager: Failed to change enabled overlays for com.brive_app user 0
09-30 17:40:50.114 30740 30740 E com.brive_app: Not starting debugger since process cannot load the jdwp agent.
09-30 17:41:56.791 25572 25600 E s.nexuslaunche: Failed to open APK '/data/app/com.brive_app-6ENCGUCstJdR8hpsQylxaw==/base.apk' I/O error
09-30 17:41:56.791 25572 25600 E ResourcesManager: failed to add asset path /data/app/com.brive_app-6ENCGUCstJdR8hpsQylxaw==/base.apk
09-30 21:43:31.034 1194 1244 E ActivityManager: ANR in com.brive_app (com.brive_app/.MainActivity)
09-30 21:43:31.034 1194 1244 E ActivityManager: PID: 12998
09-30 21:43:31.034 1194 1244 E ActivityManager: Reason: Input dispatching timed out (Waiting because no window has focus but there is a focused application that may eventually add a window when it finishes starting up.)
What I did already
- Clean the whole project
- Restarted everything
Used packages
"@react-native-community/async-storage": "^1.6.1",
"@react-native-community/netinfo": "^4.2.2",
"@types/react-native-svg-charts": "^5.0.2",
"@types/react-redux": "^7.1.2",
"@types/redux-api-middleware": "^3.0.1",
"interpolate-range": "^2.1.0",
"moment": "^2.24.0",
"react": "16.8.6",
"react-native": "0.60.5",
"react-native-background-fetch": "^2.7.0",
"react-native-device-info": "^2.3.2",
"react-native-iphone-x-helper": "^1.2.1",
"react-native-keychain": "^3.1.3",
"react-native-maps": "0.25.0",
"react-native-modal": "^11.3.1",
"react-native-navigation": "3.0.0-alpha.11",
"react-native-svg": "^9.6.4",
"react-native-svg-charts": "^5.3.0",
"react-native-webview": "^6.9.0",
"react-native-zendrive": "^1.0.2",
"react-redux": "^7.1.0",
"redux": "^4.0.4",
"redux-api-middleware": "^3.0.1",
"redux-persist": "^5.10.0",
"redux-thunk": "^2.3.0",
"string-format": "^2.0.0"
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 9
- Comments: 19 (1 by maintainers)
Is that happening to all Android apps using react-native 0.60 or just the ones with Hermes enabled?
Probably a duplicate of: https://github.com/facebook/react-native/issues/26400
@vipin-developer No I couldn’t resolve it, one workaround is to switch to APK instead of generating app bundles (AAB).