Failure [INSTALL_FAILED_CONTAINER_ERROR]

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:

  1. Go to play settings, android tab
  2. 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.

34 Likes

Thank you for this! It solved my problem in under 1 minute saving me the 3 hours you sadly had to waste.

Zaddo - Thank you!

Thanks so much Zaddo, just found this after several days trouble shooting and it immediately fixed my problem!

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.

Does adb logcat complain something?

@Zaddo67 : Thank you so much for helping. It worked and my problem solved finally after a lots of search :slight_smile:

Great thank, @Zaddo67

@Zaddo67 hey its not working for me…I set the install location to automatic, but the app is still not getting installed on my phone…please help!

Nice! Thank you!

Another thanks, lucky only wasted about 30 minutes until I found this post.

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.

2 Likes

Thanks a Lot…really…

Thank you - this saved me a lot of wasted time!

You are a life saver!:slight_smile:

Doesn’t work for me :frowning:

1 Like

This worked for me:
Check your bundle indentifier,
set bundle indentifier like this: com.your_company_name.your_product name

Thanks, but my problem turned out to be related to my CPU architecture. I got a newer phone and now everything is fine.

I searched for application not installed android unity and it did solved my problem.

Thanks, you rock!

Thanks, It solved my problem! :smile: