Which files to ignore using to commit to SVN in Android Studio

 ̄綄美尐妖づ 提交于 2019-12-21 23:12:03

问题


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


回答1:


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



回答2:


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.



来源:https://stackoverflow.com/questions/23487608/which-files-to-ignore-using-to-commit-to-svn-in-android-studio

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!