-
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
Build with android studio fails #2408
Comments
Could you provide a link to a repo hosting a minimal app that can reproduce the issue? Note that from I could from what you shared, it looks like the issue is related to
Aware of these but this will be a common issue as the Flutter SDK itself creates apps that set the source and target compatibility to 8. When it comes to this plugin, the warning may be that for a while as this setting is needed to support desugaring. To get rid of that would require bumping the min SDK much higher, which in turn restrict the number of supported devices |
Thanks for the explanation. Forgive me for the lack of knowledge, but shouldn't desugaring with JDK11 should work fine since version 1.2.0? Judging by the changelog, newer version doesn't require usage of a newer min SDK? |
@mock1328 you seem to be talking about something else that and this can get in the way of the issue you originally raised. I would advise to go back to provide a repo hosting a minimal app that can reproduce the issue you tried to report. Reason for asking for this is what you've shared so far doesn't point to this plugin being the issue and have yet to see anything that suggests bumping min SDK for the plugin solves the problem |
When building a flutter app with this library as dependency in android studio, it gives an error in a build log:
Can we bump the
minSdk
inbuild.gradle
to19
?Also, building with latest
openjdk
versions (e.g. 22 or 23, not sure about 21) results in some warnings:But these at least not critical and don't break the build, I suppose
The text was updated successfully, but these errors were encountered: