-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
Android build failed after upgrading to flutter 3.0.0 #103648
Comments
I've seen this bug impacting a number of packages both compiling for Android / iOS and also Flutter Web. |
The problem in those logs is this:
I don't see how upgrading to Flutter 3 could have done that, that's weird. Can you attach the logs for |
I'm seeing this particular warning in many packages after upgrading to Flutter 3.0:
I'm highly confident that it is related to the Flutter 3.0 upgrade, but I don't know if it is related to what is causing the build to fail. |
Also below error from the log where it can't find the said method in the plugin:
@RoyalCoder88 |
details
|
same issues |
First of all, when you post verbose logs, please put them a properly formatted text as I did for better reading and easy on eyes.
For which you can go through this link for various possible solutions. Try that and see if they help to resolve it. |
@darshankawar ok thanks I tried what you suggested, and I'm able to build but I still get these issues:
|
For me i Downgrade flutter and it works cause i need to finish those project in time. |
to what version did you downgrade? |
|
@RoyalCoder88 I don't see any |
I tried everything I can do. But at last simply deleting pubspec.lock file done my job. |
These packages are throwing this error I was able to fix them by manually editting the packages and fixing the error is .pub_cache Warning: This is a hack so processed will caution |
@RoyalCoder88 Please provide above. |
|
@RoyalCoder88 /cc @Hixie |
Please have a look on release note. This might help. |
Close it, thanks! |
Closing this based on OP's comment above. Anyone facing similar warnings, please see #103561 (comment) |
Downgrade flutter to the previous version "flutter downgrade" until an upgrade to flutter 3.0.0 is provided by the owners of all packages you are using in your project. |
This worked for me thank you!!!!! |
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 |
Hi friends,
After I upgraded the flutter to version 3.0.0 my builds failed :( I tried:
flutter clean
flutter pub upgrade
flutter pub cache clean
etc.
nothing works :(
Flutter Doctor:
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.0.0, on Microsoft Windows [Version 10.0.22000.675], locale en-GB)
[√] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Build Tools 2019 16.11.10)
[√] Android Studio (version 2020.3)
[√] VS Code (version 1.67.1)
[√] Connected device (5 available)
[√] HTTP Host Availability
Any ideas or suggestions to fix these issues?
Thanks in advance!
The text was updated successfully, but these errors were encountered: