File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
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: 2417
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
It's not a secret anymore!