-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gradle build failing after I include package (different version for the compile (26.1.0) and runtime (27.1.0) classpath) #100
Comments
Please read the readme |
working fine in debug mode. But when I build in release mode, as soon as the app opens, it crashes.
|
not something i've been able to reproduce in by calling that method during initState in the sample. I suggest you look at Logcat in Android Studio as I won't be able to investigate something that I can't reproduce. It's best to provide a full sample app where possible to investigate E.g. by forking the repo |
I have found that if I set minifyEnabled to true, then this issue of app crash arrises as soon as code for scheduling notifications runs |
Minifying also enables obfuscation, I think. |
Thanks @MarkEggensteinNet , working fine now |
Closing now that's it's resolved. Thanks for your help @MarkEggensteinNet |
@MaikuB It would be really great to include this in Android Integration part. I spent a lot of time figuring it out the other day and I then disabled minification. |
@saadismail can do though have you by any chance raised this as issue on the Flutter repo? Sounds like something they should add a note when an app consumes plugins as part of this documentation https://flutter.io/android-release/#step-2---enable-obfuscation-andor-minification |
Didn't work for me, even after adding the progard rule, this error appear when i set the notification time from the app, E/flutter (18232): [ERROR:flutter/shell/common/shell.cc(182)] Dart Error: Unhandled exception: |
Following is the error that I get
Android dependency 'com.android.support:support-compat' has different version for the compile (26.1.0) and runtime (27.1.0) classpath. You should manually
set the same version via DependencyResolution
##Following is from gradle file
The text was updated successfully, but these errors were encountered: