源代码树无法将添加的文件索引到 Eclipse android 项目

Source tree unable to index added files to eclipse android project

问题是当我将 .png 文件添加到 drawable 文件夹时,SourceTree 无法在项目中看到新文件...

解决方案?

假设您使用 git,请检查您的 .gitignore 是否配置为忽略 .png 或目录下的所有内容,例如 drawable.

解决方案很简单 select "Team-> Add to Index" 现在我可以在 SourceTree 中看到新文件 window 准备提交