The problem seems to be that the default way of uninstalling an
application leaves the reference to the old key behind in the
packages.xml file.

I had a problem with this step: "shell back in and chmod packages.xml
to be world-writeable". I got permission denied (maybe it could be
worked around but I know too little).

However, I have found a simple solution:
1. install the application signed with the debug key again (e.g. from
Eclipse)
2. do an adb uninstall (with no flags this removes all traces from
packages.xml)
3. and now install the one signed with a different key

Peter

On febr. 20, 07:57, vel <[email protected]> wrote:
> Is there a simple way to do it?
> I installed an apk using OIFile Manager
> Later i uninstalled, using setting/manage application
> Now i am not able to install the application.
> Even though i uninstalled the apllication i can still find the entry
> in package.xml
>
> On Feb 1, 11:22 am, "[email protected]" <[email protected]>
> wrote:
>
> > I just figured out how to fix this, but it requires root access.
>
> > Pull /data/system/packages.xml
> > Find the entry for your package and comment it out.
> > shell back in and chmod packages.xml to be world-writeable
> > Push packages.xml back into the phone.
> > Restart the phone.
>
> > You can then install the app with the different signature.

--~--~---------~--~----~------------~-------~--~----~
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