Android安装应用程序出现“INSTALL_FAILED_CONTAINER_ERROR”错误的解决办法
16lz
2021-01-23
08-08 05:42:10.300 E/PackageHelper( 1825): Failed to create secure container smdl2tmp1
08-08 05:42:10.300 D/VoldCmdListener( 1134): asec create smdl2tmp1 18 fat {} 10027
08-08 05:42:10.300 E/Vold ( 1134): ASEC file '/mnt/secure/asec/smdl2tmp1.asec' currently exists - destroy it first! (Address already in use)
08-08 05:42:10.300 W/Vold ( 1134): Returning OperationFailed - no handler for errno 98
08-08 05:42:10.308 E/DefContainer( 1825): Failed to create container smdl2tmp1
遇到这个问题,网上常见的解决办法是:
1. 数据线连接电脑,以“磁盘驱动器”方式连接。
2. 进入sdcard下的.android_secure目录(需要使用第三方的资源管理器)
3. 删除该目录下的smdl2tmp1.asec文件。
如果在该目录下找不到该文件,那么上面这种方式就失效了。
第二种解决办法是:
使用adb shell执行如下命令:
rm /mnt/secure/asec/smdl2tmp1.asec
问题解决,本人就是通过第二种方式解决了问题。
更多相关文章
- android 定时请求(两种实现方式)
- android使用Animation的两种方式
- Android设置Activity全屏的三种方式
- android代理联网,wap方式联网
- android打开数据连接(目测最稳定方式)
- android 使用Http的POST方式读取网络数据
- Android学习(十) SQLite 基于SQLiteOpenHelper的操作方式
- Android学习(十) SQLite 基于SQL语句的操作方式
- android中得到颜色,图片资源的方式