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

local.properties file in git repo #33

Closed
yu210148 opened this issue Mar 7, 2012 · 4 comments
Closed

local.properties file in git repo #33

yu210148 opened this issue Mar 7, 2012 · 4 comments

Comments

@yu210148
Copy link

yu210148 commented Mar 7, 2012

Hi there,

I don't know if this was intentional but it caused me some confusion when trying to build Podax from source that I'd git cloned from the repo. The file local.properties includes the path to your android sdk (which differs from mine) and causes errors to be shown in eclipse when looking at build.xml.

I worked around this issue by moving build.xml out of the podax directory and running android update project -p /path/to/podax from the tools directory. That generated a new build.xml and local.properties that fit my config.

I'm extremely new to android development so this may be something that others know to do. If so please close this issue and accept my apologies.

Otherwise it may be useful to newbies like me to put the android update project instructions into the ReadMe file.

kev.

@thasmin
Copy link
Owner

thasmin commented Mar 7, 2012

Podax is my first Android app and I've never needed to look at local.properties. Maybe that file isn't supposed to be in the repo. I'll see what I can find out about it. Thanks for opening the issue.

@yu210148
Copy link
Author

yu210148 commented Mar 7, 2012

No problem. It's my first Android app too. :) At least the first one that I'm mucking around in the source code with.

@thasmin
Copy link
Owner

thasmin commented Mar 8, 2012

It even says inside that it shouldn't be checked into source control. Fixed in 207526f.

@thasmin thasmin closed this as completed Mar 8, 2012
@yu210148
Copy link
Author

I don't think build.xml should be in there either as it doesn't want to play nice with me until I get rid of it. Once I do that, import the project into eclipse it seems to rebuild it for my environment the next time I build an apk.

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

No branches or pull requests

2 participants