2015年11月2日 星期一

ignore R.java

at .gitignore file

app/build/generated/source/r/debug/pom/poly/com/project0/R.java

Since this file is also an automatically generated fileyour submission contains a lot of irrelevant codes and source files. This could be caused by setting gitignore improperly. Sometimes this can even cause you loss file for your submission. And most of the time, this will cause the size of your app's code increasing drastically. To know more about the mechanism, you can read this page:
http://stackoverflow.com/questions/16736856/what-should-be-in-my-gitignore-for-an-android-studio-project
Here is another fast tutorial page which can make you learn this faster:
http://gitready.com/beginner/2009/01/19/ignoring-files.html