Android app not installing on device?
INSTALL_FAILED_INSUFFICIENT_STORAGE
The above is the error that my phone gives when i try and install the a开发者_如何学编程pplication. The .apk file of my app is 1.26 MB.
The phone memory free on my device is 16MB. Now when i try and install the app, why is my device giving the above error?
Also I am using Android 2.2 on my app, if i use android:preferenceLocation="external"
it gives me INSTALL_FAILED_MEDIA_UNAVAILABLE error. So I removed the above command from the manifest file and then tried. This resulted in the error i have mentioned above regarding insufficient storage.
What do I need to do regarding this?
Check whether your device has a SD card or not. If it has then check whether it is mounted on your PC/mac or not. If it is mounted then unmount the sd card from the system and try re installing the app again.
Just check your phone connection type. It should not be SD Card access mode. It must be "Portal and Tools" (I don't know exactly if it's a particular name for my Motorola Droid). Just check the notification area. It works perfectly!
精彩评论