react-native run-android or installing a official release .apk crashes when the app loads. It does work for android version 5.0 and greater
Could not run adb reverse: Command failed: /usr/local/opt/android-sdk/platform-tools/adb -s TA431097MJ reverse tcp:8081 tcp:8081
Unable to install /Users/username/stardust-app/android/app/build/outputs/apk/app-release.apk
com.android.ddmlib.InstallException: INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES
maybe you are using touchableNativeFeedback with ripple effect that will crash your app under android 5.0
Adb is not supported by versions of android < 5. # SOLUTION:## with your app open press on the button menu of your device, dev settings, Debug server host & port for device, enter the ip of your pc and port 8081 ex: 192.168.1.1:8081
The error info is very clear, this is not crash. The log indicate apk install is failed. It's likely that the phone has previously installed the same app, but the signature is different. You can resolve this by simply uninstall the old app.
Hi there! This issue is being closed because it has been inactive for a while. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. Either way, we're automatically closing issues after a period of inactivity. Please do not take it personally!
If you think this issue should definitely remain open, please let us know. The following information is helpful when it comes to determining if the issue should be re-opened:
If you would like to work on a patch to fix the issue, contributions are very welcome! Read through the contribution guide, and feel free to hop into #react-native if you need help planning your contribution.
Most helpful comment
Adb is not supported by versions of android < 5. # SOLUTION:## with your app open press on the button menu of your device, dev settings, Debug server host & port for device, enter the ip of your pc and port 8081 ex: 192.168.1.1:8081