Today I have problem with one of my app's. The app was a little larger (7 Mb) and I always getting error INSTALL_FAILED_CONTAINER_ERROR
The solution is very simple.
You must mount your SD card on your PC and find the folder .android_secure on SD Card. In that folder find the file smdl2tmp1.asec and delete it. :icon_clap:
After that the error has gone and my app compiles without problems.
BTW
I have one question for Erel. Maybe to put this question also in section of Bugs & wishlist
Why is this in Basic4Android app:
If I check option Can Install To Externall Storage in manifest will be
If option is not checked Can Install To Externall Storage then in manifest we have
But there is not option in B4A to put that option to auto because install location can be also on auto
- I tryed then Uncheck option Can Install To Externall Storage and app still fails
- I tryed with Restart ADB server but still not luck
- I tryed to turn off/On my mobile phone but error was still there
The solution is very simple.
You must mount your SD card on your PC and find the folder .android_secure on SD Card. In that folder find the file smdl2tmp1.asec and delete it. :icon_clap:
After that the error has gone and my app compiles without problems.
BTW
I have one question for Erel. Maybe to put this question also in section of Bugs & wishlist
Why is this in Basic4Android app:
If I check option Can Install To Externall Storage in manifest will be
B4X:
android:installLocation="preferExternal">
B4X:
android:installLocation="internalOnly">
But there is not option in B4A to put that option to auto because install location can be also on auto
B4X:
android:installLocation=["auto" | "internalOnly" | "preferExternal"] >