问题
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