Is there a way to make Android Studio not copy .DS_Store files into APK?

余生长醉 提交于 2019-12-11 11:56:16

问题


When I build the APK, Android Studio copies these redundant OSX file system files ".DS_Store". Is there a way to filter them from the APK bundle?

I've tried adding !.DS_Store into the Compiler/Resource Patterns fields but it didn't help.


回答1:


Try to add the .DS_Store to the Compiler > Excludes rather than the Resource Patterns field.



来源:https://stackoverflow.com/questions/17776666/is-there-a-way-to-make-android-studio-not-copy-ds-store-files-into-apk

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!