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".
再次运行即可。