You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Android release build crashes with proguard error #25951
This appears to be new as I have changed no code and was working 2 weeks ago... All i did was flutter upgrade.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:transformClassesAndResourcesWithProguardForRelease'.
> Job failed, see logs for details
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Flutter version:
[✓] Flutter (Channel master, v1.1.5-pre.38, on Mac OS X 10.13.6
17G65, locale en-US)
• Flutter version 1.1.5-pre.38 at /Users/anton/flutter
• Framework revision b9f9e384cb (9 hours ago), 2019-01-01
11:47:29 -0500
• Engine revision b1a9a6e794
• Dart version 2.1.1 (build 2.1.1-dev.0.1 88e6fe0f67)
Reacted by Fernando Soto, Mohammad Montazeri, Matheus Henrique de Oliveira, Jongwoo Moon, Adriano Massi, Iván Ramos Jiménez, Dominik, Pablo, va-andrew, Siloe Bezerra Bispo and 5 more
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
zoechi commentedon Jan 2, 2019
Can you reproduce in
devchannel?ezraaaa commentedon Jan 2, 2019
I'm having the same problem too. I've tried dev channel and it is returning the same thing
abacaj commentedon Jan 3, 2019
Yes tried all channels available, same result.
remosingh commentedon Jan 6, 2019
same issue....
zoechi commentedon Jan 22, 2019
As far as I understand Proguard is currently not fully supported.
I'm closing this as duplicate of #11099
xiaoxiaocainiao commentedon Mar 4, 2019
try this one:
minifyEnabled falseGorgeAI commentedon Apr 24, 2019
@xiaoxiaocainiao thanks man, it works!
GorgeAI commentedon Apr 24, 2019
@xiaoxiaocainiao , thanks man, it works!
cfguimaraes commentedon May 12, 2019
@xiaoxiaocainiao that work for me too. Thank you.
In case some face this problem, the path to setting is
android/app/build.gradlemuammarridho commentedon Jul 14, 2019
@xiaoxiaocainiao it works, thanks bro.
avvari-da commentedon Jul 16, 2019
If you are not intending to change
minifyEnabled false, this worked fine for me - #19250 (comment)gitaaron commentedon Nov 19, 2019
Does this increase the size of the final binary?
TobiCrackIT commentedon Dec 6, 2019
minifyEnabled false worked
Nisthar commentedon Dec 13, 2019
Yes. i wish there was a way to fix this with minify enabled.
WBlackstorm commentedon Jul 29, 2020
minifyEnabled false
shrinkResources false
Solved to me.
github-actions commentedon Aug 14, 2021
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.