Install Failed because of Insufficient storage? I got plenty, what gives?

by indiegamer » Thu, 12 Feb 2009 01:22:11 GMT


Sponsored Links
 I tried to install my 10 MB program (which I successfully installed
yesterday) on my Dev Phone. I used the command: adb install (product
name)

It comes back with this error:

Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE]

I removed the original program from the Settings, I have PLENTY of
storage space, what gives?

How can I install this program?
--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. How the daemon can be started?

Hi ,

I need to create a daemon to monitor traffic, and I am using similar
method as uuidd.rc to create a daemon. However, I can't the way(code)
that the Uuidd.rc can be started? neithor from init.rc or system
("Uuidd.rc").

can someone let me know how the daemon or (.rc) can be executed?

Thanks,

david


=================== Uuidd.rc ===========================
set -e

PATH=/bin:/usr/bin:/sbin:/usr/sbin
DAEMON=/usr/sbin/uuidd
PIDFILE=/var/run/uuidd/uuidd.pid

test -x $DAEMON || exit 0

. /lib/lsb/init-functions

case "$1" in
    start)
        log_daemon_msg "Starting uuid generator" "uuidd"
        start_daemon -p $PIDFILE $DAEMON
        log_end_msg $?
    ;;
  stop)
        log_daemon_msg "Stopping uuidd generator" "uuidd"
        killproc -p $PIDFILE $DAEMON
        log_end_msg $?
    ;;
  status)
        if pidofproc -p $PIDFILE $DAEMON >& /dev/null ; then
            echo "$DAEMON is running";
            exit 0;
        else
            echo "$DAEMON is NOT running";
            if test -f /var/run/uuidd.pid; then exit 2; fi
            exit 3;
        fi
        ;;
  force-reload|restart)
    $0 stop
    $0 start
    ;;
  *)
    echo "Usage: /etc/init.d/uuidd {start|stop|restart|force-reload}"
    exit 1
    ;;
esac

exit 0

--~--~---------~--~----~------------~-------~--~----~

2. Change MAIN LAUNCHER activity doesn't "take"

After a long time with one Activity being my app's entry point, I 
just changed the manifest to point to a different activtiy to be the 
entry point. But the G1 is doggedly trying to load the old activity 
-- even after uninstall, install, reboot, etc. and acore throws a 
security exception.

04-06 11:18:20.117 E/AndroidRuntime(  469): Uncaught handler: thread 
main exiting due to uncaught exception
04-06 11:18:20.127 E/AndroidRuntime(  469): 
java.lang.SecurityException: Permission Denial: starting Intent { 
action=android.intent.action.MAIN 
categories={android.intent.category.LAUNCHER} flags=0x10200000 
comp={com.foo.myapp/com.foo.ActivityThatUsedToBeTheEntryPoint} } from 
ProcessRecord{431ff238 469:android.process.acore/10008} (pid=469, 
uid=10008) requires null

<users-permissions> have not changed.

Thoughts?

-- Ward

--~--~---------~--~----~------------~-------~--~----~

3. Is cyrket down?

4. does android support flash

5. Is there a way for an application to know whether it has been downloaded from Market?

6. Change MAIN LAUNCHER activity doesn't "take"

7. Analyzed and fixed "...acore has stopped unexpectedly" issue