I am getting error- 'Failed to install-write all apks'

I am working on android studio project and after completing the code i run the on my android device and it showed an error-Failed to install- Installation did not succeed. The application could not be installed. List of apks: [0] 'app\build\outputs\apk\debug\app-debug.apk' Installation failed due to: 'Failed to install-write all apks'

It was working fine as I have tested the app many times but now it is showing error. How can I fix this issue?

2 Answers

This error generally occurs when device doesn't have sufficiant storage space to install the apk.
Check your phone storage, clean some memory to make sure you have enough memory to fully install/run your application

Check versionNameSuffix of productFlavors and buildTypes in build.gradle (:app) for each installation of build variant will be unique

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like