git - Why build and libs folders in Android project can't be commited or pushed? -
i'm using android studio in combination github repository. have pushed entire project mentioned can force src folder. there reason can't force build , src folders or i'm doing wrong? when i'm trying commit them i'm receiving message telling me there no changes detected, when go in repository there no such folders.
by default android studio puts build
directory (both @ project level , module level) in .gitignore
.
this typically desired behavior, there no reason maintain of generated files in version control. gradle create these 1 time again on machine download project to.
if want include build directories, simple remove /build
both .gitignore
in project's root , .gitignore
in module's root.
the libs
directory should not in there default, if adding files directory , git isn't recognizing change, that's look.
android git github android-studio
No comments:
Post a Comment