码迷,mamicode.com
首页 > 其他好文 > 详细

Installation error: INSTALL_FAILED_MEDIA_UNAVAILAB

时间:2014-09-16 19:17:01      阅读:183      评论:0      收藏:0      [点我收藏+]

标签:android   style   blog   http   color   io   os   ar   for   

报错如下:

[2012-06-21 12:56:17 - xmobile17] Installation error: INSTALL_FAILED_MEDIA_UNAVAILABLE

[2012-06-21 12:56:17 - xmobile17] Please check logcat output for more details.

[2012-06-21 12:56:18 - xmobile17] Launch canceled!



解决:

adb shell

pm set-install-location: changes the default install location.
  NOTE: this is only intended for debugging; using this can cause
  applications to break and other undersireable behavior.
    0 [auto]: Let system decide the best location
    1 [internal]: Install on internal device storage
    2 [external]: Install on external media
shell@android :/ $ pm set-install-location 1
pm set-install-location 1
shell@android :/ $


参考:http://blog.csdn.net/qhs1573/article/details/8201380

Installation error: INSTALL_FAILED_MEDIA_UNAVAILAB

标签:android   style   blog   http   color   io   os   ar   for   

原文地址:http://my.oschina.net/macleo/blog/314202

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!