When I run flutter build apk --release
I get the following error:
Execution failed for task ':app:minifyReleaseWithProguard'. > java.io.IOException: Please correct the above warnings first.
When I run flutter build apk --debug
or flutter build apk --profile
, everything compiles fine.
I posted my log, my Flutter doctor, my pub spec.yaml file and my build.gradle file on Github.
Has anyone an idea, why this could be?
UPDATE: This question is very similar to mine, but the suggested solution doesn't works for me. The Post
Okay I found a post on a website, but I'm not sure if I understand what I says... The author had the same error and fixed it by setting the CompileSdkVersion higher on a plug in.
How would your do that? And how can I know which Number I have to change? Sorry for dumb questions like that, I'm really new to flutter and dart.