完成我的项目后,我发现在 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了解更多信息。
关于android - 如果我在 Android studio 中删除 dump.txt 文件会发生什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32912180/