Faced with such a problem that when installing the application on the emulator, an error INSTALL_FAILED_INSUFFICIENT_STORAGE pops up:

537 KB/s (40225545 bytes in 73.115s)
pkg: /data/local/tmp/.-debug.apk
Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE]

In my case, you cannot use the manifest option (to install on the card)

 <manifest xmlns:android="http://schemas.android.com/apk/res/android" android:installLocation="preferExternal" ... > 

That is, the application must be installed in the internal memory of the device (emulator).

How to achieve this?

    1 answer 1

    Run the emulator from the console with the partition-size option (size in MB). Other ways are unknown to me.

     emulator -avd avd_name -partition-size 512 
    • Thank you, this is what you need. - stanislav