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] ‘appbuildoutputsapkdebugapp-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?
3
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
This is happening because of less memory on the emulator device
how to solve it :-
The problem should be resolved .