Which files should I add to SVN ignore for an Android Studio project?

See this IntelliJ IDEA KB article: "How to manage projects under Version Control Systems".

Add to Subversion:

  • all files under /.idea directory in the project root but ignore workspace.xml and tasks.xml,
  • all .iml module files.

I added the following items in my .gitignore, it should be the same for SVN:

  • gradle
  • .idea
  • *.iml
  • build
  • .DS_Store (for mac only)

I've used the following SVN ignore list sucessfully:

.gradle
local.properties
.idea/workspace.xml
.idea/libraries
.DS_Store
build

The ignore should be applied recursively.

Reference: Same question, for git