在.idea下的workspace.xml 文件<component>添加<ignored path=".gradle/" />
<ignored path=".idea/" />
<ignored path="gradle/" />
<ignored path="xx/build/" />
<ignored path="gradlew" />
<ignored path="gradlew.bat" />
<ignored mask="*.iml" />
<ignored path="local.properties" />
<ignored path="build/" />
<ignored mask="*.apk" />