Durga M
Durga M

Reputation: 544

Android release build generated in Android Studio 3.0 unable to install

Android build generated using "Android Studio 3.0 (with gradle-4.1)" is not installing in phone, where as able to install the build generated by Studio before to this version.

Able to install the build through USB, but when trying to install the same build generated in other device, not able to install. In device it shows "App not installed".

Upvotes: 2

Views: 1520

Answers (1)

sissyphus_69
sissyphus_69

Reputation: 350

Before making the build, check if you have instant run enabled or not. It is enabled by default and can be found under File -> Settings -> Build,Execution,Deployment -> Instant Run

Disable it and then try rebuilding the apk. Check comments and answers here

Now, if you are building a release apk and you have selected Signature Version V2(Full APK Signature), in the generate signed apk dialog, app might not install after the build is made.

You need to re-generate a signed apk with both the signature versions enabled i.e V1 & V2. You will get this option under Build -> Generate Signed APK.

Combining this with the disable instant run thing, your apk should install smoothly.

Upvotes: 2

Related Questions