Tuesday, August 3, 2010

[android-developers] Re: Dev/Debug on same device that has Marketplace Version of App

Yeah, it's a hard limitation, only one app with a given package name
on a given device at a time. And since Eclipse doesn't sign debug
builds, there's no immediate way around the incompatible-signatures
issue.

You might be able to put together a build script, then hook it into a
hotkey/menuitem on Eclipse, so that you could build & install a signed
version just as easily as Eclipse does the unsigned one by default. I
don't do build scripts, so I don't know, but I could imagine it might
be possible.

The only other route that occurs to me would be to attack the problem
from the same-package-name side, and use a library project to deploy
the same source into 2 apps. That'd let you run them both side by
side. I do the same kind of thing with several lite/pro parallel
versions, and it works pretty well.

But for myself, I just don't find it that difficult to uninstall one
or the other when I need to switch. Not worth the hassle of pursuing a
different solution, to me. Might be a different story if my apps
required a lot of settings or configuration, but OTOH I might put the
effort into saving prefs to the cloud (via the data backup API)
instead.

String

On Aug 3, 7:23 pm, TreKing <treking...@gmail.com> wrote:
> On Tue, Aug 3, 2010 at 1:11 PM, richie rich <rich.al...@gmail.com> wrote:
> > Does anyone have any tips/tricks on how to run a debug/dev version of the
> > app on the same device without having to uninstall the marketplace version?
>
> As you have seen, you can't.
>
> --------------------------------------------------------------------------- ----------------------
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> transit tracking app for Android-powered devices

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment