I am running Froyo on my HTC Wildfire. I have 17 MB storage free in my phone. The .apk I'm trying to install on the phone is 2.7MB but I get this wierd Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE. I'm using Eclipse and have enabled debugging on my device. I was able to install binaries with the size of 11 MB with the same free storage space a few minutes ago.
I solved this problem putting this in the AndroidManifiest.xml file:
android:installLocation="preferExternal"
just after:
android:versionName="1.0"
in the tag.
Hope someone else benefits from this answer.
This way the apk file is installed if possible in sd card.
Hard reset only works shortly.. then insufficent storage will continue to show on a pop up adviser on your mobile htc wildfire s. Try history eraser that can be dowloaded in the market. or any other cache and cookie cleaners, read description frist and make sure to back up all your phones data on your google account.
I've come across this before as well and haven't found one solution that works reliably so here are a couple of things to try:
1) Restart the phone
2) Uninstall any previous builds of the app on your phone
3) Restart adb by killing it off in your task manager (it will auto-restart when killed)
Backed up my data and performed a hard reset. Now works fine.
Reboot your device would works, and the following link is a same question with answers.
Solution to INSTALL_FAILED_INSUFFICIENT_STORAGE error on Android
Related
I am trying to install app on a Nexus 4 virtual android 5.1 on Xamarin Virtual machine. If i want to install an app, I mostly get this error: App not installed (don't get this during some installations but 95% get this error).
I did ofcourse lots of research and testing.
Install Android studio their VM. Same error.
found some potential solution here
*Reboot the phone: In times like this, first thing to do is to reboot your device. Or just shut down, remove and reinsert your battery. Done and no luck
*Make sure to uninstall any apps you don’t use to free up space, also uninstall previous versions of the same app currently installed on your device.
I download them all for the first time via APKpure.com
*Double check the apk files you download and be sure they were completely copied or downloaded. App are released by companies their self and are fully downloaded
*Try resetting app permissions by going to Settings >Apps>All>Menu key >Reset application permissions or Reset app preferences. Done and no luck
*Change app installation location to Automatic or Let system decide. don't know how this is possible without a root
*Make sure your SD card is not mounted or connected to a PC or elsewhere. no Sd card
*For worst case scenarios, format your SD card – copy it’s contents somewhere else for backup and format. no Sd card
*The last solution would be to totally wipe your device. Either by doing a factory reset under Settings or by doing a full wipe in recovery mode. I even reinstalled Xamarin
Downloaded an android 4 version, no luck.
I found lots of post where they were talking about signing. I did not change the APK files and I never managed to install them before.
downloaded never Nexus device with A5.1 and still same error.
Help is much appriciated.
I've always had problems with Xamarin Android Emulator.
Please use the Android Emulator (AVD) instead which contains less bugs than the Xamarin one.
Click here for a guide on using the Android AVD.
And in the meanwhile, you can report the bug here to Xamarin with any relevant information such as logs and errors seen during app deployment.
The problem seemed to be an compatibility issue with lots of apps. I was able to retrieve the Logcat and after looking at the logcat, that was our only conclusion.
I have a problem on installing an application on Android. when I click run, it shows the error below. I have installed the driver and enable the usb debugging.
Could someone help me. Thanks in advance.
Do you have enough space on your Android Device for the application to fit on? Try removing some applications or unneeded files.
This error come if your device do not have enough space for app. So you need to UN-install some app from device( or free some memory in device ) and also check your app storage location on manifest file.
This is Because in your Device there is Much application which keeps more memory and much heavy application also.... So you have to un-install some of them application and also clear cache data of that application from your Device...So you will get some of memory and run your app on Device.
If you do not have enough Internal memory, You can move the application to the SD Card.
If there is enough Internal memory, then try uninstalling applications which are not needed and removing the unwanted cache.
Then restart your phone and install the application.
The issue is that I started getting complains from my application's users that they failed to install our client on their devices.
Most of the devices are all kind of Samsungs with OS 2.2 and 2.3
The error they see after the install process is done (or almost done) is: "Couldn’t install on USB storage or SD card"
I already checked and verified that there is enough space to install the application on those devices.
Naturally, I tried to remove the SD card abilities (removed the line "android:installLocation="preferExternal"" from the AndroidManifest.xml file, but this change caused all the problematic devices to restart themselves after installation is done (device simply restarts when installation is about to be finished).
Needless to say, I can't debug it since our application's code did not start running yet.
I found some posts on this issue:
http://code.google.com/p/android/issues/detail?id=9593
http://technology-headlines.com/2011/05/12/installation-error-%E2%80%9Ccouldnt-install-on-usb-storage-or-sd-card%E2%80%9D-solution-for-android/
http://www.androidpolice.com/2011/04/19/fixing-the-couldnt-install-on-usb-storage-or-sd-card-problem-on-android/
All are instructions for the user to remove the "/mnt/secure/asec/smdl2tmp1.asec" file. This works for most of the problematic devices, but I can't expect my users to go and delete temp files in this manner, they will probably just give up.
Another important point is that I went back to my historical versions and found out that old versions (released more than 8 months ago) works fine on those devices, but those versions are not supporting SD card installation and the gap between them and the current code base is so huge that making diffs and analyzing the changes in elimination process will take forever.
I would be happy to receive any tips on this issue
try
android:installLocation="auto"
inside the manifest tag
i was having same problem..and i found a simple solution of it i just
...."" Flash to stock firmware "".........and this problem get solved permanently....now i can install app directly from play store .....
how to flash to stock firmware via odin here:
http://www.androidtipsandtricks.com/2013/12/how-to-flash-stock-firmware-on-samsung.html
I am developing an app and when I uninstall the phone kind of semi-reboots.
This is my old post:
I have a strange problem with my phone. I am using SAMSUNG GALAXY 5
(GT-I5500) with Android 2.2 on it (not rooted).
I am an android developer and I have been doing pretty advanced apps.
However, sometimes when I am testing and installing an application the
phone reboots.
I'm starting it trough Eclipse but I do not know what exactly what
causes the phone to reboot.
It is not heat for sure, as I keep my phone cool enough.
It is not from the app source itself as the phone doesn't reboot while I am using the application but on installing time
It is not storage I think, because I have 26 MB internal and 1GB external memory free and the app is no more than 2 MB.
So my question is what could cause the phone to reboot?
In this context I define "reboot" as the phone showing the initial SAMSUNG screen, like normal booting but without the prompt for PIN. This is why I conclude it is something like semi-reboot or I do not exactly know.
Having experienced the same problem, I found that deleting dalvik cache and formatting cache partition helped - I can't tell which one of those two did the trick, but I can now happily uninstall apps again, without the device spontaneously rebooting.
Both operations I was able to perform in recovery mode, using ClockWorkMod rescue system, and they are non-destructive. No actual data or apps are lost, only next reboot takes longer, due to dalvik cache being rebuilt.
Today, close to a month later, that problem showed again, so I was able to test which of those two action fixes it. Turns out it was erasing the cache. Dalvik cache was left alone, deletion was possible afterwars nevertheless.
I have this exact problem with my LG G4. Whenever I try to uninstall an app the phone will just reboot. Luckily there is a way to remove unwanted apps if your phone has an expandable memory option through micro SD. Just transfer the unwanted app on the SD card then remove the card. The app will no longer exist on your phone. You can then just delete the app from your SD card using a PC. This doesn't help resolve the actual OS issue on your device but at least it's a quick fix for anyone who's looking to free up some space. Hope it helps!
Spontaneous reboots under unclear conditions, one of the "fun" things you get for free with Android. Not on each and every device, OS version or combination thereof, but quite too often.
With the following instructions you will loose all your data on your phone.
Try this: Get into the recovery mode (adb reboot recovery or start the phone with pressing (and holding) volume down, then press and hold the center key, then power on), then wipe data/factory reset, wipe cache partition.
(I experienced similar reboots but not with an I5500, so I don't know if this will help in this situation. It helped with a Motorola Milestone/Droid after upgrading to Android 2.2.)
I was able to fix this problem by wiping the davilk-cache thanks to Deleted User's experience. However, wiping the cache partition was not necessary in my case. I'm rooted stock Android 4.4.2 KitKat on a Galaxy Tab 3 SM-T210R.
Since I added the install location to the manifest (tried both auto and preferExternal) and made my update available in the Market I get some users that can't install the application on their (so far only HTC Desire with Froyo) devices. Is there any known issue on this? Or better a working solution?
I got also the following workaround from a user. Unmount the SD card, install the app, and mount the SD card again does succesfull install the app.
It seems that this is a specific error with this specific device model. Your app cannot help that much. But, among some hacks, the device owner can also try this:
How to Install Apps to the SD Card by Default on Android 2.2 Froyo