The uid is stored in data/system/packages.xml and of course the uid of the
directory and files owned by the app.  You can't touch any of these unless
you are running a non-user build.

Did you try to change the app between a shared user id and non-shared?  If
so, this will cause the problem; on older versions of the platform the
install wouldn't fail, it would just result in mismatched uids.

On Wed, Mar 2, 2011 at 9:32 PM, kypriakos <[email protected]> wrote:

>
> It seems that the install failure of a particular apk may be
> attributed to
> mismatch uids. What causes such mismatches and is it possible to
> correct them without losing the user data - particularly in this case
> where only a certain app apk does that but the rest are fine. Where
> do these uids get stored?
>
> This is the message:
> Package com.CP_16 has mismatched uid: 10048 on disk, 10045 in settings
>
> If I create a new apk using the source from the apk that fails I still
> get
> the same message with a different uid:
> Package com.WebCP_16 has mismatched uid: 10042 on disk, 10044 in
> settings
>
> I will appreciate any hints on this or where to look for some.
>
> Thanks
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" 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-developers?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 Developers" 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-developers?hl=en

Reply via email to