What is the default for minifyEnabled for buildType not explicitly scripted?

后端 未结 2 846
走了就别回头了
走了就别回头了 2020-12-31 08:14

I imported several eclipse projects to Android Studio (v1.1).

In the original Eclipse environment, they use Proguard for release mode.

In the Android Studio

2条回答
  •  萌比男神i
    2020-12-31 08:34

    The default value for minifyEnabled is false for all build types, as @laalto answered.

    However, currently (as of 2015-04-24), this is not true for multi-module projects, in which some modules (app included) are dependent on other modules. This is due to bug #52962 that causes build types to not propagate to libraries -- they're always built as RELEASE.

    Suggestions to work around this bug or notifications of its fix are most welcome.

提交回复
热议问题