Android AVD 出现No content provider found for permission revoke可能的一种解决方案

11-22 20:48:05.800: D/AndroidRuntime(1332): Calling main entry com.android.commands.pm.Pm
11-22 20:48:06.060: W/ActivityManager(377): No content provider found for permission revoke: file:///data/local/tmp/Test.apk
11-22 20:48:06.160: E/Vold(51): Error creating imagefile (Read-only file system)
11-22 20:48:06.160: E/Vold(51): ASEC image file creation failed (Read-only file system)
11-22 20:48:06.160: W/Vold(51): Returning OperationFailed - no handler for errno 30
11-22 20:48:06.200: E/PackageHelper(1167): Failed to create secure container smdl2tmp1
11-22 20:48:06.200: E/DefContainer(1167): Failed to create container smdl2tmp1
11-22 20:48:06.200: W/ActivityManager(377): No content provider found for permission revoke: file:///data/local/tmp/Test.apk
11-22 20:48:06.410: D/dalvikvm(377): GC_EXPLICIT freed 455K, 19% free 5668K/6964K, paused 20ms+14ms, total 209ms
11-22 20:48:06.480: D/AndroidRuntime(1332): Shutting down VM
11-22 20:48:06.540: D/dalvikvm(1332): Debugger has detached; object registry had 1 entries
11-22 20:48:06.550: D/dalvikvm(1332): Compiler shutdown in progress - discarding request
: E/(): Device disconnected: 1
: E/(): Device disconnected

  

报错如上所示,网上给了好多解决方法,有的说是未加SdCard卡的读写权限,这里给出可能的一种解决方法(至少我是因为这个问题)

进入Android虚拟机设置选项  然后"Storage"->"Erase SD card".

再次运行即可。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值