Tony
Tony

Reputation: 1869

What are some Eclipse project files I should not include in my project repos?

I am developing an android application in eclipse and using git as the version control system. When I first created the git repo, I accidentally added some eclipse project files. As a result, when I clone the project to a different environment, (e.g. another window/linux computer) there are some project properties/directories that are based on my initial environment and can cause issues in the new environment (directory doesn't exist, toolchain doesn't exist, etc).

What are some eclipse project files I should exclude from the repo to ensure that the project can be build in any environment assuming they have already set up eclipse to work with android apps?

Thanks

Upvotes: 0

Views: 161

Answers (2)

Karakuri
Karakuri

Reputation: 38595

Files in the /gen and /bin folders, because these contain files generated during compilation and/or building. If you are using proguard, files in /proguard should also be excluded, though you should keep them somewhere so that you can remap the class names when you get stack traces from crash reports on Google Play.

Upvotes: 0

dymmeh
dymmeh

Reputation: 22306

bin/gen folders and local.properties files should be ignored. That's should be all you need to ignore

Upvotes: 2

Related Questions