1

Which files do i have to put on ignore in SVN when im using Android Studio?

Currently i have ignored this files:

*.idea
gradle
*.iml
build
local.properties
.DS_Store

TheOnlyJakobob
  • 541
  • 3
  • 14
  • The same files you'd ignore using any other version control system. http://stackoverflow.com/questions/16736856/what-should-be-in-my-gitignore-for-an-android-studio-project – laalto May 06 '14 at 06:49

2 Answers2

7

When you create an Android Studio project, .gitignore files will be also generated. Based on that, in the parent folder we exclude:

-.gradle
-/local.properties
-/.idea/workspace.xml
-.DS_Store

And in the modules directory:

-/build
Balázs Palkó
  • 641
  • 5
  • 8
  • 3
    He is talking about SVN not GIT! – DarkLeafyGreen May 19 '15 at 12:09
  • 1
    He did said "based on that"...which means we can figure out which files should be ignored in SVN (and any other source code repository) "based on that"....I found this answer very helpful to know what to ignore for my SVN repository. Thank you. – dleerob Jan 29 '16 at 09:27
-1

Personally when I'm working on Android project I ignore the folder bin , project.property, classpath, settins/org.eclipse.jdt.core.pref , proguard-project.txt , local.properties .

I don't use Ant or Maven so maybe there are others files to ignore.

Laetitia28
  • 95
  • 10