问题描述
在运行Android 程序时,会报如下错误:
Installation error: INSTALL_FAILED_MEDIA_UNAVAILABLE
Please check logcat output for more details.
Launch canceled!
解决方法
- 输入命令
adb shell
- 设置由系统决定安装在哪个位置
pm set-install-location
: changes the default install location.
0 [auto] : Let system decide the best location
1 [internal] : Install on internal device storage
2 [external] : Install on external media