“为什么通过运行`flutter build apk --debug`和`flutter build apk --release`生成apk的字节停靠信息不同?”

时间:2019-07-03 07:32:00

标签: android flutter

flutter build apk --debug生成的apk的字节终端信息为504b 0304 1400 0000 0800 0000 0000 05f4flutter build apk --release生成的apk的字节停靠信息为'504b 0304 0000 0000 0800 0000 0000 4347'; 我想知道1400 0000' and 0000 0000 . the build.gradle`文件之间存在差异的具体原因:

 buildTypes {
        release {
            // TODO: Add your own signing config for the release build.
            // Signing with the debug keys for now, so `flutter run --release` works.
            signingConfig signingConfigs.release
//            signingConfig signingConfigs.debug
            minifyEnabled false
            useProguard false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'


        }

        debug {
//            signingConfig signingConfigs.debug
            signingConfig signingConfigs.release
            minifyEnabled false
            useProguard false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }

0 个答案:

没有答案