-
-
Notifications
You must be signed in to change notification settings - Fork 42
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 failure with latest version of flutter #91
Comments
Hello @wutsi , thanks a lot for letting me know. I will reproduce the issue, update the code for correction, run the automated testing and publish the changes as soon as possible. |
Hi again @wutsi , I was not able to reproduce this issue yet with the latest version of Flutter. Here is the output of
I updated the kotlin version numbers anyway from 1.3.50 to 1.7.20 with version 2.1.4 of the search_choices plugin. Waiting for the Flutster automated testing to complete successfully before publishing to pub.dev . |
Release 2.1.14 of search_choices was successfully automatically tested with this video and thus released to pub.dev . Thanks @wutsi for bringing this issue to my attention! |
I start having this issue since I've added flutter_chat_ui into my project. Let me check and re-confirm |
confirmed - everything is fined |
Thank you very much @wutsi for the explanation and confirmation! |
I'm having issues building for Android as well after upgrading to the latest flutter stable AND [✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0) [✓] Xcode - develop for iOS and macOS (Xcode 14.0) [✓] Chrome - develop for the web [✓] Android Studio (version 2021.2) [✓] VS Code (version 1.72.0) [✓] Connected device (3 available) [✓] HTTP Host Availability • No issues found! My android/build.gradle is:
} allprojects { rootProject.buildDir = '../build' task clean(type: Delete) { and my android/app/build.gradle is: `def localProperties = new Properties() def flutterRoot = localProperties.getProperty('flutter.sdk') def flutterVersionCode = localProperties.getProperty('flutter.versionCode') def flutterVersionName = localProperties.getProperty('flutter.versionName') apply plugin: 'com.android.application' android {
} flutter { apply plugin: 'com.google.gms.google-services' And the error when building is: FAILURE: Build failed with an exception.
BUILD FAILED in 1s |
Hello @samumzizi , Thanks for reaching out on this. I would try to follow the recommendation on this StackOverflow answer. I hope this will solve your issue. |
Hi @lcuis, my
and the last part of the error I get still looks like this:
|
Hi @samumzizi , Sorry for the inconvenience. Maybe this StackoverFlow answer would be a better solution then? In your
In your
|
Thanks for your help. I tried that and it still didn't work in the sense that it gave me more errors. So I researched the new errors and found the new solution here: flutter/flutter#73852 (comment). |
Great if it worked at the end. Thanks for letting me know @samumzizi ! |
I've just upgraded flutter, and I received the following error
Can you update the kotlin plugin version from
1.3.50
to1.5.20
?Thanks
The text was updated successfully, but these errors were encountered: