The behavior depends on the version of the platform you are using, but in
pretty much all cases it will not be what you want.  I can't stress how
strongly I discourage apps from being signed with multiple certificates.
 Just plain do not do this.  You will be very very unhappy if you do.  There
is no support for doing something reasonable with multiple certificates, and
the behavior you get will *not* be what you want.

On Thu, Nov 11, 2010 at 5:44 PM, laminina <[email protected]> wrote:

> Hi,
>
> Does someone know how the package Manager behaves under this
> environment:
>
> Have App1signed with certificate A
> Have App1 signed with certificate A and certificate B.
>
> I'm only able to upgrade from one app to the other one if I install
> first  App1 with certificates A&B and then I upgrade to App1 with
> certificate A. (adb install -r app1.apk)
>
> If I do the opposite: Install first App1 with certificate A and then I
> upgrade installing App1 with certificates A&B I get failure
> Failure [INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES]
>
> Why it only works one way?
> I've google it and I have never found something posted similiar to
> this issue.
> Does anyone have a clue on this?
> Thanks.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Android Security Discussions" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<android-security-discuss%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/android-security-discuss?hl=en.
>
>


-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
You received this message because you are subscribed to the Google Groups 
"Android Security Discussions" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/android-security-discuss?hl=en.

Reply via email to