android手机调试,显示应用安装错误:INSTALL_FAILED_MEDIA_UNAVAILABLE

 

由于android应用安装在手机的rom或sdcard中,当没有sdcard的时候,会出现这种错误

 

AndroidManifest.xml中配置

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
   android:installLocation="auto" ></mainfest>

此行是配置让Android系统自行决定应用的安装位置。

posted @ 2014-05-23 11:38  Eric_D  阅读(180)  评论(0)    收藏  举报