After successfully running
./gradlew assembleRelease
BUILD SUCCESSFUL
Total time: 15.842 secs
This build could be faster, please consider using the G
The app was installed in other user. It is seen as uninstalled, but actually it is installed in multi user environment in android. Press the app in the settings, then press again the app to go into the details. Press the three dots on the top right corner of the screen, the select uninstall for all users.
Make sure that you have generated a sign APK. To generate sign APK you have to follow the instruction they have given
https://facebook.github.io/react-native/docs/signed-apk-android
This is not affected to debug build.
For me disabling the Play Protects from Google Play Store works:
Following are the steps to disable Play Protect:
To disable Google Play Protect. Open "Play Store" application => tap on Menu button => select "Play Protect" option => Disable the options "Scan device for security threats".
I had followed every steps from documentation and other helps from stackoverflow but None helped me . And after series of attempts I found my way out solving the 'App not installed issue'
Before running
./gradlew assembleRelease
I also ran
./gradlew bundleRelease
Hope it might be a help to you!
If someone still have this problem, try to deactivate in the device configurations google Play protect options. That worked for me.
You should check if there are any files related to the app in your device, i had a similar problem and solved it by removing all the cache data from the device. So, make sure to delete the data/cache of the app before unistalling it.