How to install/replace on Android without using Eclipse
- by Peter vdL
A buddy sent me a later version of a .apk file. I already had the earlier version on my device.
When I tried to adb install the file, I got this:
$ adb install ../FlashLite.apk
320 KB/s (18311 bytes in 0.055s)
pkg: /data/local/tmp/FlashLite.apk
Failure [INSTALL_FAILED_ALREADY_EXISTS]
$ adb uninstall FlashLite.apk
Failure
$ adb uninstall /data/local/tmp/FlashLite.apk
Failure
How do you install/replace from the cmd line? I don't have the source, so I cannot do it from Eclipse.
Thanks,
Peter