问题
warning: LF will be replaced by CRLF in android/app/build.gradle.
The file will have its original line endings in your working directory
原因是存在符号转义问题
windows中的换行符为 CRLF, 而在linux下的换行符为LF,所以在执行add . 时出现提示。
解决方案
git config --global core.autocrlf false
本文讲述了在Android项目中遇到的CRLF与LF换行符问题,通过设置`git config --global core.autocrlffalse`来解决,并解释了Windows与Linux换行符差异。
9467

被折叠的 条评论
为什么被折叠?



