如果我删除 Android 工作室中的 dump.txt 文件会怎样?

What happens if I delete dump.txt file in Android studio?

完成我的项目后,我发现 android studio 项目中的 app\build\outputs\mapping\release 中有一个巨大的 (55 MB) dump.txt 文件。我用谷歌搜索,发现这是来自 ProGuard。

现在,我的问题是,如果我删除那个文件,会有什么问题吗?它使我的整个项目大小超过 100 MB

dump.txt 是由 ProGuard 创建的文件。如 developer.android.com 所述:

describes the internal structure of all the class files in the .apk file

您可以安全地删除该文件,重要的是要记住将其保存在安全的地方mapping.txt,因为这是调试混淆后的 APK 所必需的。有关详细信息,请参阅 Decoding Obfuscated Stack Traces