Answers for "To disable the shrinker, pass the `--no-shrink` flag to this command."

2

The shrinker may have failed to optimize the Java bytecode. To disable the shrinker, pass the `--no-shrink` flag to this command.

buildTypes {
        release {
            signingConfig signingConfigs.debug
            minifyEnabled true
        }
        debug{
            minifyEnabled true
        }
    }
Posted by: Guest on April-03-2020
0

To disable the shrinker, pass the `--no-shrink` flag to this command.

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
Posted by: Guest on March-02-2021
0

To disable the shrinker, pass the `--no-shrink` flag to this command.

Go to android/app/build.gradle
Change the minSdkVersion 21 (to 21)
Posted by: Guest on May-25-2021

Code answers related to "To disable the shrinker, pass the `--no-shrink` flag to this command."

Browse Popular Code Answers by Language