Oh so the problem isn't really the uid mismatch, but the failure installing?
I guess something about your .apk is not compatible with Dalvik on that
older version of the platform. I'm sorry I don't know enough about Dalvik
to help any further than that.
Well a quick Google search shows some othe
Hi Dianne,
let me take this from the top:
First I try to install the package using "adb install" and I get back
the following error:
Failure [INSTALL_FAILED_DEXOPT]
The log during this failure is what I showed below - the mismatched uids
and the
failire to extract files out of the temporary
If the package is completely uninstalled and it is still failing when
installed, I would like to see the log from when it failing and the "adb
shell dumpsys package" output after the failure. It sounds like all you
attached was the log from after uninstalling the package, when there is no
data abo
Huh, that doesn't make any sense. Uninstalling will remove all traces of
the app and any uids associated with it, so when you install again it will
be fresh.
Could you please post:
(1) The output of logcat when you are uninstalling.
(2) The output of "adb shell dumpsys package" after uninstallin
No problem Dianne I certainly understand and I still appreciate the help
so far anyway.
I am primarily working with 2.2 and 2.3 versions of the OS but there was
a requirement
to use these older phones for now so I need to dig in the ancient world
a bit ;)
I did uninstall and install the app
1.6 is really old, so I am not going to be able to remember enough to help
much off-hand. There may have been a bug in it that allowed uids to get
re-assigned in certain bad situations.
I can't help you with dalvik errors.
I think what I would suggest at this point is to just uninstall the app a
No I didn't actually try to change the app from shared user to
non-shared, it is a non-shared id app even though
I am seeing 7 shared uids mentioned in the logging below. Not sure why
but I didn't set any shared user uids.
I am compiling and running this on a 1.6 Android phone and I do see the
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 old
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 st
9 matches
Mail list logo