This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes Android and the fly likes I can't install my new apk Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Android
Bookmark "I can Watch "I can New topic

I can't install my new apk

ruby rails

Joined: Sep 22, 2011
Posts: 1
I try to install a new apk with my mobile,the cmd give me wrong message 'INSTALL_FAILED_ALREADY_EXISTS', and I'm sure the old apk version code is '3', version name is '1.1',the new apk version code is 4 and version name is 1.2,but install failed also. if someone know how to fix it,tell me please. thanks.
Tim Moores

Joined: Sep 21, 2011
Posts: 2409
Did you use the "-r" (for replace) option when using "adb install"? You need that when updating a package.
I agree. Here's the link:
subject: I can't install my new apk
jQuery in Action, 3rd edition