📜  android studio zipalign - 任何代码示例

📅  最后修改于: 2022-03-11 15:00:39.644000             🧑  作者: Mango

代码示例1
Inside you main module's build.gradle file you can have multiple build types along with your debug one.

You can specify zipAlign characteristic inside any of your buildType by using

buildTypes {

     release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
        zipAlignEnabled true
    }
}