Android INSTALL_FAILED_CONTAINER_ERROR on installing an application
I got this error while I rebooted my android device in the middle of installing an application (it was taking ages so I assumed that it was stuck). It seems that android did not have time to clean the file system, so every time i was trying to install an application I was getting the error:
ASEC file ‘/mnt/secure/asec/smdl2tmp1.asec’ currently exists – destroy it first! (Address already in use)
The solution to this is actually very simple. Make sure that you have connected your device to your computer and that it’s running on debug mode (it’s not mounted). Open a command window, go to your
Android\android-sdk\platform-tools and type
adb shell. This should open the adb shell and connect as root. Then simply type
rm /mnt/secure/asec/smdl2tmp1.asec and the problem should go away.