61 questions
12
votes
1
answer
8k
views
Flutter Android NDK Version Conflict: Plugins Require 27.0.12077973 but Project Uses 26.3.11579264
Problem:
Your project is configured with Android NDK 26.3.11579264, but the following plugin(s) depend on a different Android NDK version:
- connectivity_plus requires Android NDK 27.0.12077973
- ...
2
votes
0
answers
301
views
Flutter Upgrade Fails: ProcessException: Process exited abnormally with exit code 128
I'm trying to upgrade my Flutter SDK to version 3.27.3, but I keep encountering this error when running flutter upgrade:
ProcessException: Process exited abnormally with exit code 128: error: RPC ...
1
vote
1
answer
307
views
How to resolve Gradle and compatibility issues when upgrading Flutter project from version 3.24.1 to 3.27.0 using FVM?
I’m upgrading my Flutter project from version 3.24.1 to 3.27.0 using FVM (Flutter Version Management). After switching to the new version and running the project, I encountered the following issues:
...
3
votes
1
answer
3k
views
After upgrading flutter to 3.27, App stuck on launch on android, giving no errors in console [closed]
Flutter Upgrade Issue - Android Impeller issue on version 3.27.
I upgraged to flutter 3.27 and when installed my flutter app onmy samsung galaxy note 10 lite, it stuck on black screen, there are no ...
12
votes
10
answers
16k
views
Flutter application not running after upgrading to 3.24.1 due to Gradle issue
I recently upgraded my Flutter application to version 3.24.1, and since then, I’ve been unable to run the app. I’m encountering the following Gradle issue:
You are applying Flutter's app_plugin_loader ...
0
votes
0
answers
162
views
Flutter Web TypeError: Cannot read properties of undefined after upgrading to 3.24.0
I recently upgraded my Flutter project to version 3.24.0 and started encountering the error
"TypeError: Cannot read properties of undefined" on the web platform.
This error didn't occur in ...
12
votes
3
answers
4k
views
Flutter web is not working after upgrading to Flutter 3.24
After upgrading Flutter to version 3.24, I created a brand new application and run it on Chrome. I am getting this exception in console
The following JSNoSuchMethodError was thrown building ...
2
votes
2
answers
826
views
Failing to install dependencies in my flutter project
I'm facing the below error when I try to either run flutter pub get command for dependency installation or running the entire project.
flutter pub get
Resolving dependencies... (3.2s)
The current Dart ...
1
vote
0
answers
111
views
What do I use to replace FlutterView window when customizing RenderView class in the new versions of Flutter(like 3.1 and beyond)?
I updated from Dart 3.0 to 3.2 and I am getting some execution errors.
Original code using window that worked up to 3.0.5:
Before
Tried to change to use View class to work with 3.19.0 and over:
After
...
0
votes
1
answer
339
views
Unable to create dart snapshot for flutter tool
flutter upgrade
Building flutter tool...
Running pub upgrade...
Resolving dependencies... (8.1s)
Got dependencies.
AppData/Local/Pub/Cache/hosted/pub.dev/http-0.13.6/lib/src/base_request.dart:144:7: ...
54
votes
6
answers
28k
views
After upgrading to Flutter 3.16, the app bar, background color, button size, and spaces change
I upgraded my Flutter version to 3.16. When I run my app, I notice a lot of changes in the UI.
The app bar doesn't have shadows anymore. When I scroll, the app bar is now tinted with a color and ...
104
votes
12
answers
43k
views
Flutter upgrade error: Unknown flutter tag
~ flutter upgrade
Unknown flutter tag. Abandoning upgrade to avoid destroying local changes. It is
recommended to use git directly if not working on an official channel.
i try to upgrade my flutter ...
8
votes
7
answers
6k
views
Error: Method not found: 'NullThrownError' in flutter
I was getting the below error while running the flutter application post flutter upgrade to 3.10.6
Failed to build build_runner:build_runner:
/C:/Users/Admin/AppData/Local/Pub/Cache/hosted/pub.dev/...
0
votes
1
answer
242
views
Pubspec.yaml Package upgrade issues
I just upgraded flutter to the latest version and just went through a bunhc of pub dev package upgrades to make everything work. The last error I am getting I cant seem to resolve though:
Resolving ...
-2
votes
2
answers
368
views
How to transfer the changes made in a mobile application to the user without updating?
I made a mobile application with Flutter, how can I transfer some minor changes, additions or edits I made within the application to the user without updating them, how can I transfer them to my ...
1
vote
1
answer
675
views
My Flutter app no longer runs on Android after upgrade from Flutter 3.0.5 to 3.7.9
I just upgraded to Flutter 3.7.9 and now cannot run the app on Android.
On iOS and web the app runs fine
If I revert to Flutter 3.0.5, the Android app runs fine (that's also on a different branch ...
0
votes
1
answer
212
views
Build Number throwing error after upgrading to Flutter 3.7.3
My Project was on flutter 2.5.3 and we decdied to upgrade code base to flutter latest version (3.7.3) . My version from pubspec.yaml used to be 1.2+10 after upgrading flutter. When I run flutter pub ...
0
votes
1
answer
2k
views
flutter upgrade to 3.3.8 from 2.10.5 , causing xcode Run error 'Flutter/Flutter.h' file not found
when I upgrade flutter version to 3.3.8(stable latest version) from 2.10.5
VSCode Run and Xcode can't build both.
(error output can see Flutter Run at the bottom in detail)
Xcode version: Version ...
1
vote
1
answer
1k
views
How can I edit the MainActivity.kt file in my flutter project and how is it even created?
I upgraded a flutter project from 2.10 to 3.3 (same error occured on 3.0).
This is the error im getting:
e: path/MainActivity.kt: (82, 34): Only safe (?.) or non-null asserted (!!.) calls are allowed ...
-2
votes
3
answers
572
views
RaisedButton is debricated what is the alternative?
Just now I upgraded to Flutter 3.3.0, and after that this error is showing up:
The method 'FlatButton' isn't defined for the type '_PickerFieldState'. (Documentation) Try correcting the name to the ...
1
vote
2
answers
2k
views
Flutter build failed after upgrading to Flutter v3
I've updated my app from v2.2.10 to Flutter 3 and it shows the following error.
FAILURE: Build failed with an exception.
[ ] * Where:
[ ] Script '/Users/user/fvm/versions/3.0.0/...
2
votes
2
answers
2k
views
Flutter 3 : Warning : Operand of null-aware operation '!' has type 'SchedulerBinding' which excludes null [duplicate]
I just upgraded to Flutter 3 and my flutter project console is full of warnings.
Did anyone know how to fix these warnings or should I wait for the stable update from flutter itself.
0
votes
2
answers
2k
views
cached network image package error after update 3.0?
After upgrading to the Flutter 3.0, I got error in package cached_network_image.
/D:/flutter_sdk/flutter/.pub-cache/hosted/pub.dartlang.org/get-4.6.1/lib/get_navigation/src/extension_navigation.dart:...
0
votes
3
answers
543
views
Flutter upgrade to 2.5.3 causing deprecated issue in TextStyle color
'buttonColor' is deprecated and shouldn't be used. No longer used by the framework,
please remove any reference to it. This feature was deprecated after v2.3.0-0.2.pre.
Below is the code causing the ...
1
vote
1
answer
1k
views
After a Flutter upgrade, I am getting the error "Could not resolve all files for configuration ':app:debugRuntimeClasspath'"
When I upgraded Flutter from Flutter 2.10.2 to a newer version, I got this error on every Flutter project I had created. Even when I created the new Flutter project (the simple counter app) when I am ...