【问题标题】:Is there a way to make Android Studio not copy .DS_Store files into APK?有没有办法让 Android Studio 不将 .DS_Store 文件复制到 APK 中?
【发布时间】:2013-07-20 13:03:24
【问题描述】:

当我构建 APK 时,Android Studio 会复制这些冗余的 OSX 文件系统文件“.DS_Store”。 有没有办法从 APK 包中过滤它们?

我尝试将!.DS_Store 添加到编译器/资源模式字段中,但没有帮助。

【问题讨论】:

    标签: android macos intellij-idea apk android-studio


    【解决方案1】:

    尝试将.DS_Store 添加到Compiler > Excludes 而不是资源模式字段。

    【讨论】:

    • 这只有在您知道文件的确切位置时才有用,事情是我不知道它在哪里,因为 Finder 在用户导航时不断创建这些文件...
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-11-21
    • 2015-07-04
    • 2016-12-25
    • 1970-01-01
    • 2019-08-06
    • 1970-01-01
    相关资源
    最近更新 更多