Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE]

5,771 views
Skip to first unread message

HV

unread,
Feb 24, 2011, 3:50:02 PM2/24/11
to android-ndk
I've checked the web for similar posts, but I don't have any errors
thrown out by logcat. The signature is intact and there is enough
memory. Here's what I'm running:

./adb install test.apk
216 KB/s (4157173 bytes in 18.740s)
pkg: /data/local/tmp/test.apk
Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE]

Here's the logcat output:

D/AndroidRuntime( 2004):
D/AndroidRuntime( 2004): >>>>>>>>>>>>>> AndroidRuntime START
<<<<<<<<<<<<<<
D/AndroidRuntime( 2004): CheckJNI is ON
D/AndroidRuntime( 2004): --- registering native functions ---
I/ethernet( 2004): Loading ethernet jni class
D/dalvikvm( 1990): GC_EXPLICIT freed 241 objects / 12056 bytes in
100ms
D/dalvikvm( 1728): GC_EXPLICIT freed 829 objects / 52824 bytes in
122ms
D/AndroidRuntime( 2004): Shutting down VM
D/jdwp ( 2004): adbd disconnected

Finally, here's the memory details:
# df
/: 231385136K total, 219057328K used, 12327808K available (block size
8192)
/: 231385136K total, 219057328K used, 12327808K available (block size
8192)
/dev: 157704K total, 12K used, 157692K available (block size 4096)
/mnt/asec: 157704K total, 0K used, 157704K available (block size 4096)

Any idea what could be wrong here? I'm stuck @ this now

Jon Paul Schelter

unread,
Feb 25, 2011, 12:02:35 PM2/25/11
to andro...@googlegroups.com, android-ndk
There seem to be many issues that cause this particular error, many of them unrelated to storage.

check the device's error log/console.

For me, the solution was to reinstall the os on the device. :( you may get Away with just cleaning the user data or something less severe.

JP
Sent from my iPhone;

> --
> You received this message because you are subscribed to the Google Groups "android-ndk" group.
> To post to this group, send email to andro...@googlegroups.com.
> To unsubscribe from this group, send email to android-ndk...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/android-ndk?hl=en.
>

Russell Tillitt

unread,
Feb 25, 2011, 12:19:45 PM2/25/11
to andro...@googlegroups.com
If installing an apk off the SD card, might be a file permissions issue.
I don't know if its still the case, but with earlier versions of
Android, if it cannot access the apk due to file permissions, it will
report the "insufficient storage" error during installation.

something like this might solve it --

chown adb:adb test.apk
chmod 777 test.apk


rt

--
Russell Tillitt
CEO & Co-Founder
Embee Mobile, Inc
Facebook: http://apps.facebook.com/mobilewallet
Website: http://www.embeemobile.com

HV

unread,
Feb 25, 2011, 1:30:11 PM2/25/11
to android-ndk
Thanks for your responses

@JP, yes it seems that it's actually not related to memory
@rt, I've already tried that. I've even cleaned up by /data folder and
given full permissions, but that doesn't help

That said, I'm not able to remove any apps (either thru adb uninstall
com.android.xxx) or via the Settings->Applications->Manage
Applications. This points to some basic issue with the Android build,
not sure what it is though at this point.

HV

On Feb 25, 9:19 am, Russell Tillitt <russ...@embeemobile.com> wrote:
> If installing an apk off the SD card, might be a file permissions issue.
> I don't know if its still the case, but with earlier versions of
> Android, if it cannot access the apk due to file permissions, it will
> report the "insufficient storage" error during installation.
>
> something like this might solve it --
>
> chown adb:adb test.apk
> chmod 777 test.apk
>
> rt
>
> On 2/25/2011 9:02 AM, Jon Paul Schelter wrote:
>
>
>
>
>
>
>
>
>
> > There seem to be many issues that cause this particular error, many of them unrelated to storage.
>
> > check the device's error log/console.
>
> > For me, the solution was to reinstall the os on the device. :( you may get Away with just cleaning the user data or something less severe.
>
> > JP
> > Sent from my iPhone;
>
> >> For more options, visit this group athttp://groups.google.com/group/android-ndk?hl=en.

Ralf Schneider

unread,
Feb 25, 2011, 3:35:31 PM2/25/11
to andro...@googlegroups.com
I have had the same problem. Rebooting the phone "solved" it.

2011/2/25 HV <harishv...@gmail.com>

HV

unread,
Feb 25, 2011, 6:18:40 PM2/25/11
to android-ndk
is there a detailed description of what exactly adb install does? like
where exactly it copies the libraries (I know this goes into the /data/
data/com.abcd.xyz, .xml & so forth. I just wanna try doing that
manually and see if that helps

On Feb 25, 12:35 pm, Ralf Schneider <li...@gestaltgeber.com> wrote:
> I have had the same problem. Rebooting the phone "solved" it.
>
> 2011/2/25 HV <harishv.athr...@gmail.com>
Reply all
Reply to author
Forward
0 new messages