全部产品

INSTALL_FAILED_CONTAINER_ERROR

日志示例:

D/VoldConnector( 553): RMV <- {200 6 asec operation succeeded}

E/MountService( 553): External SD not exist, and PMS want to create ASEC in SD (APP2SD). For SWAP feature, make createSecureContainer() fail!

E/DefContainer( 7417): Failed to create container smdl2tmp1I/ProviderMap( 553): getProviderByName: , callingUid = 1000

W/ActivityManager( 553): No content provider found for permission revoke: file:///data/local/tmp/a.apk

I/PackageManager( 553): Apk copy done

问题分析:MountService要求读写外部存储器权限,但是存储器不存在,因此安装失败返回。

解决方案:KeySolution:需要安装SD卡在手机上,这样MountService就可以成功创建ASEC文件在sd卡上,所以应用安装成功。遇到此类问题请联系工作人员。参考文献:

  1. http://blog.csdn.net/lilian0118/article/details/24455019