Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow installation of OsmAnd-debug alongside released OsmAnd version #2598

Closed
wants to merge 1 commit into from

Conversation

fangly
Copy link

@fangly fangly commented May 25, 2016

Hi,
Please consider this patch, which allows me to build/install a dev/debug version of Osmand alongside the official stable release on my smartphone. I used the method described at http://stackoverflow.com/a/22402658 to achieve this result.
Best,
Florent

@vshcherb
Copy link
Member

There is conflict in the branch. And I don't think it is desirable approach please use 'freedev' flavor

@vshcherb vshcherb closed this May 25, 2016
@fangly
Copy link
Author

fangly commented May 26, 2016

Hi Victor and thanks for the answer,

The merge conflicts were solely because of discrepancies between whitespaces and tabs. This is resolved in my current branch.

Let me explain my goals... I already contribute to OpenStreetMap and some open-source projects and intend on contributing to OsmAnd's development. Specifically I would start by making bug fixes and small improvements, and ultimately design a plugin. I have followed the gradle build instructions kindly written by Harry van der Wolf (on the old wiki). They have worked well, except that I have needed to take a few extra steps and change a couple of lines in the build.gradle and AndroidManifest.xml to get the development version installed on my device along with the stable release. This allows me to make some changes in OsmAnd and even break it, while keeping a stable/working version. In order to hopefully make others' life easier, I have made these changes into a pull request.

Now, you understand my motivations and my solution, but I do not understand your logic saying why this is not desirable (and what is freedev and how to ). You are in a very good position to explain your workflow: perhaps you also install a dev/debug version along your latest release? At any rate, please document it somewhere so I and others can do the same too.

Best,

Florent

@vshcherb
Copy link
Member

vshcherb commented Jun 1, 2016

It is very simple
https://github.com/osmandapp/Osmand/blob/master/OsmAnd/build.gradle#L79 Please take a look here, there are 3 flavors free, full, freedev. By installing freedev you can install full next to it from the market. We made decision to use different apk id in order to be able to install multiple different versions together

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants