Q:

Android INSTALL_FAILED_INSUFFICIENT_STORAGE

I know that this is a quite common issue in android development, but the thing is that I do not have an SD card on my android device, so when I write android:installLocation="preferExternal" in my manifest, I get Failure [INSTALL_FAILED_MEDIA_UNAVAILABLE]. Any idea how to fix it without SD card?

A:

You can declare installLocation="auto", which means that your application may be installed on the external storage, but you don't have a preference of install location. You have enough memory on your device? I know my phone won't let me install from play store even if I have 400mb and app takes up 20mb. It needs some free space for some reason.
It's quite a common thing, just free up some more space and you should be fine.

