Kenny Hartono
Kenny Hartono

Reputation: 444

Unable to install signed apk from React Native

After successfully running

./gradlew assembleRelease

BUILD SUCCESSFUL

Total time: 15.842 secs

This build could be faster, please consider using the Gradle Daemon: http://gradle.org/docs/2.4/userguide/gradle_daemon.html

I put the "app-release.apk" into the phone, and tried to install it using File Browser. The app icon is showing nowhere.

The installation had text : "App not installed"

enter image description here

Upvotes: 17

Views: 20244

Answers (9)

Roshan Bagde
Roshan Bagde

Reputation: 107

In Redmi 7 pro, there are 2 spaces are available to use, Current working space and 2nd space. I uninstalled an application from my current working space so the setting part(Delete for all users was not available), I went to my 2nd space, application was present there, I uninstalled the application, came back to my working space and installed app again, This solution works for me!!!

Upvotes: 0

Soban Arshad
Soban Arshad

Reputation: 1411

check your device storage, same issue happened to me, i deleted some apps and made some space then tried to install, application got installed.

Upvotes: 0

Sharad S Katre
Sharad S Katre

Reputation: 398

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".

Upvotes: 6

Braven
Braven

Reputation: 553

If someone still have this problem, try to deactivate in the device configurations google Play protect options. That worked for me.

Upvotes: 0

Redmen Ishab
Redmen Ishab

Reputation: 2339

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!

Upvotes: 4

Rumesh Madushanka
Rumesh Madushanka

Reputation: 379

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.

Upvotes: 0

Jose Villalobos
Jose Villalobos

Reputation: 559

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.

Upvotes: 2

ArdentLearner
ArdentLearner

Reputation: 732

Had a similar issue where it was only happening in android 5(lollipop) and below. Turns out my app was partially signed. Running jarsigner -verify -verbose -certs android/app/prod/release/app-prod-release.apk gave jar is unsigned. Turns out the issue was I was not checking the checkboxes for V1 and V2 at the bottom of the 2nd Generate signed APK dialog box. I was leaving out V1. enter image description here Be keen to chek both.

Upvotes: 9

Kenny Hartono
Kenny Hartono

Reputation: 444

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.

Upvotes: 25

Related Questions