(This blog software cannot be installed) install failed container error Solution

Source: Internet
Author: User

When the project uses Android: installlocation = "preferexternal ",

Installation Error: install_failed_container_error

Today I am debugging my program on n880. Sometimes the program reports that it cannot be installed. Use ADB install to display failure [install_failed_container_error]

View logcat display

07-10 14:05:50. 133: E/vold (79): ASEC File '/mnt/secure/ASEC/smdl2tmp1. ASEC' currently exists-Destroy it first! (Address already in use)
07-10 14:05:50. 143: E/packagehelper (670): failed to create secure container smdl2tmp1
07-10 14:05:50. 143: E/defcontainer (670): failed to create container smdl2tmp1

Apparently it is/mnt/secure/ASEC/smdl2tmp1. ASEC has a problem.

Because my mobile phone does not have root, I cannot directly access this file or use ADB shell to RM.

ADB su root display

C: \ Users \ luozhuang \ workspace \ word2text> ADB Shell
$ RM/mnt/secure/ASEC/smdl2tmp1. ASEC
Rm/mnt/secure/ASEC/smdl2tmp1. ASEC
Rm failed for/mnt/secure/ASEC/smdl2tmp1. ASEC, permission denied
$ Sudo RM/mnt/secure/ASEC/smdl2tmp1. ASEC
Sudo RM/mnt/secure/ASEC/smdl2tmp1. ASEC
Sudo: Permission denied
$ Su
Su
Su: Permission denied
$ Su Root
Su Root
Su: Permission denied

The solution is:

Connect your computer with a large USB capacity,
Go to the. android_secure directory under the SD card
(If the directory is a hidden directory, You need to select "show all files and folders" in "computer resource manager-tools-Folder option-View );

Find the "smdl2tmp1. ASEC" file and delete it.

Then launch the phone or unplug the data cable.

You can reinstall it.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.