79697522

Date: 2025-07-10 19:36:38
Score: 1
Natty:
Report link

Same issue faced within my project, here is my learning cove and solution,

why this issue,

It's common to face issues when running an older Flutter project with an updated Flutter SDK and Dart version, especially regarding the Android build. This is because Flutter continuously evolves, and with major updates, there are often breaking changes, particularly in the Android embedding (how Flutter integrates with Android native code) and Gradle configurations

1, Make sure to get a copy of our project( that is optional to save your cofigs)

2, delete android folder

rm -rf android

3,Recreate the Android project files:

flutter create .

4, if you previously used any configs like firebase you need to add those again to android folder,

5, rebuild your app

flutter clean
flutter pub get
flutter run
Reasons:
  • RegEx Blacklisted phrase (1): Same issue
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sajith Madushanka