【发布时间】:2013-08-15 18:53:49
【问题描述】:
我想在 Android Studio 中生成签名的 APK,它为我提供了运行 ProGuard 的选项。它要求我提供配置文件路径,但我没有配置文件。如何创建一个?我应该使用 ProGuard 吗? 你能解压不使用 ProGuard 的 APK 文件是否容易?
编辑: 感谢您的回答,但我在任何地方都找不到 proguard.cfg 文件。我在项目根目录中的唯一属性文件是 local.properties 文件,当我在 Android Studio 中打开它时,我得到了这个:
# This file is automatically generated by Android Studio.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file must *NOT* be checked into Version Control Systems,
# as it contains information specific to your local configuration.
# Location of the SDK. This is only used by Gradle.
# For customization when using a Version Control System, please read the
# header note.
sdk.dir=C:/.../...
【问题讨论】: