hi

I tried to upgrade it on G1. I got it failed as below.

Note : i installed TEST_V1.apk on Device. Now I want to give another
version but I want to give another app, which needs to use the data
which is already in version 1. So, I made 2nd version as TEST_V2.apk
and tried to install. but it failed as below. Can anyone help me on
this ?

D:\android-sdk-windows\tools>adb install TEST_V2.apk
943 KB/s (271755 bytes in 0.281s)
        pkg: /data/local/tmp/TEST_V2.apk
Failure [INSTALL_FAILED_ALREADY_EXISTS]


Thanks,


On Mar 10, 11:29 pm, Mike dg <[email protected]> wrote:
> It sounds like you may have installed the app with different signing
> keys. If you were launching the app on your device through Eclipse and
> then tried to install from the market then that is most likely the
> case. Another possibility is that you are using multiple PC's for
> development and the debug keys are different on each machine. Eclipse
> by default signs everything with the debug key.
>
> As long as you sign each version of the app with the same key you
> should have no problem installing new releases. You might need to take
> care of SQLite database upgrades yourself though if you change the
> schema.
>
> Mike dg
>
> On Mar 10, 12:28 pm, Caeser <[email protected]> wrote:
>
>
>
> > hi,
>
> > How to upgrade Android app without losing data ? e.g. I have a game
> > which is using some preferences or sqlite data. which is associated
> > with the android app. If app is already installed on device, it is not
> > allowing the same app to install again. and one need to uninstall then
> > reinstall app again.
>
> > so, if one wants to upgrade app with the older data then how will he
> > be able to do it ?

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