open_file icon indicating copy to clipboard operation
open_file copied to clipboard

When building for android the application does not start when this package is used in your pubspec.yaml

Open stan-at-work opened this issue 5 months ago • 3 comments

See issue:

https://github.com/flutter/flutter/issues/174944

stan-at-work avatar Sep 05 '25 09:09 stan-at-work

android/app/build.gradle like this

buildTypes {
        release {
            minifyEnabled false //<-modify here ,Usually it is true
            signingConfig signingConfigs.debug
        }
        debug {
            minifyEnabled false
            signingConfig signingConfigs.debug
        }
    }

Or write the rules in

android/app/proguard-rules.pro

crazecoder avatar Sep 15 '25 14:09 crazecoder

android/app/build.gradle like this

buildTypes { release { minifyEnabled false //<-modify here ,Usually it is true signingConfig signingConfigs.debug } debug { minifyEnabled false signingConfig signingConfigs.debug } } Or write the rules in

android/app/proguard-rules.pro

How do you write that in: android/app/proguard-rules.pro ?

stan-at-work avatar Sep 15 '25 14:09 stan-at-work

android/app/build.gradle like this

buildTypes { release { minifyEnabled false //<-modify here ,Usually it is true signingConfig signingConfigs.debug } debug { minifyEnabled false signingConfig signingConfigs.debug } } Or write the rules in

android/app/proguard-rules.pro

Could you give more info what that parameter does ?

stan-at-work avatar Sep 15 '25 14:09 stan-at-work