What does this mean: Failure [INSTALL_FAILED_CONTAINER_ERROR]?

后端 未结 14 1468
轮回少年
轮回少年 2020-12-02 07:28

I try to deploy my app and sometimes get this error:

Failure 
[INSTALL_FAILED_CONTAINER_ERROR] 

I tried to google it but don\'t find what

相关标签:
14条回答
  • 2020-12-02 07:45

    Had the same error with various .apk on Cyanogenmod 12.1 (Android 5.1.1) on my Note 8 with a second partition for Link2SD. I was able to install the apps by forcing the installation via adb as root:

    adb root
    adb install -f myapp.apk
    
    0 讨论(0)
  • 2020-12-02 07:47

    in some situations, removing the libs/android-support-v4.jar generates this error.

    0 讨论(0)
  • 2020-12-02 07:48

    remove this file from your device

    /mnt/secure/asec/smdl2tmp1.asec
    

    Edit/Update by Mathias Conradt (OP):

    If you don't have root access, you need to mount the sdcard and remove it via pc:

    /.android_secure/smdl2tmp1.asec
    
    0 讨论(0)
  • 2020-12-02 07:48

    I have had this error repeatedly. I have found the simplest way to avoid the error in its entirety is to simply format the SD card. Using the phone or emulators internal tools. I have found that the automatically generated SD cards or even making your own sdcard.iso fails and causes this error unless formated by the internal android tools.

    0 讨论(0)
  • 2020-12-02 07:52

    I got this error message from Android 5.0.1. I had changed the preferred install location to "Removable SD card" via Settings->Apps->Preferred Install Location.

    I changed the option back to "Let the system decide" and the error message went away.

    0 讨论(0)
  • 2020-12-02 07:52

    Restarting my device fixed the issue for me.

    0 讨论(0)
提交回复
热议问题