INSTALL_FAILED_MEDIA_UNAVAILABLE错误处理
问题描写叙述: 在android手机上安装apk的时候,报错例如以下: Installation error: INSTALL_FAILED_MEDIA_UNAVAILABLE Please check logcat output for more details. Launch canceled! 上网搜了搜原因发现是某些应用程序(如360、91手机助手)造成手机无法在SD卡上安装程序 解决方法: 果断卸载这些垃圾软件,然后使用adb shell让手机自己选择安装在哪里,命令例如以下: adb shell pm set-install-location 0 不同的set-install-location说明: pmset-install-location0 由App自行决定软件是否能安装在SD卡 pmset-install-location1 强制所有App安装在ROM内 pmset-install-location2 强制所有App安装在SD卡 本文转自mfrbuaa博客园博客,原文链接:http://www.cnblogs.com/mfrbuaa/p/5091918.html,...










