skip to Main Content

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


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

    Login or Signup to reply.
  2. Check versionNameSuffix of productFlavors and buildTypes in build.gradle (:app) for each installation of build variant will be unique

    Login or Signup to reply.
  3. This is happening because of less memory on the emulator device
    how to solve it :-

    1. Go to device manager
    2. Click on emulator setting(The pen symbol)
    3. Then click on advance settings
    4. Increase the internal memory of the device to at least 2Gb

    The problem should be resolved .

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search