To Disable The Shrinker, Pass The `--No-Shrink` Flag To This Command.

Source URL: N/A

Language: whatever

Created on: 2021-03-02 15:27:49

1. located android/app/build.gradle file 2. Then access below code in the gradle file

    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.debug
    }
}
}

and changed it to

buildTypes {
    debug {
        minifyEnabled true

        // TODO: Add your own signing config for the release build.
        // Signing with the debug keys for now, so `flutter run --release` works.
        signingConfig signingConfigs.debug
    }
}
}

The app was able to run in Android emulator
To Disable The Shrinker, Pass The `--No-Shrink` Flag To This Command.
content_copy