I was getting the following error when installing my apk to an AVM using “adb install myapp.apk”:
Failure [INSTALL_FAILED_CONTAINER_ERROR]
It took 3 hours to find a solution. So I thought I would post the answer here and maybe save someone else the trouble.
The soluiton is:
Go to play settings, android tab
Under other settings/Configuation/Install Location, set this to “Automatic”
So simple when you know what to do.
Most of the answers I googled tell you to change the manifest install location to auto: android:installLocation=“auto”
Which I kept doing in the XML file. But I am guessing this gets overriden by player preferences.
thanks, I’ve made those steps and finally I could install the application on android, but the application closes after loading. however, it works fine in desktop version.
This is not working for me, whatever Android device I use. The install location is already set to Automatic, also in the manifest there is nothing telling a preferred install location. I just updated all the possible Android SDKs and JDKs.