Reputation: 1869
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
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
Reputation: 22306
bin/gen folders and local.properties files should be ignored. That's should be all you need to ignore
Upvotes: 2