Hello @arunchahar
Kindly check the steps below; all the steps are written step by step, which will help resolve your query.
Flutter Version - 3.19.2
Dart - 3.3.0
Xcode - 15.2
Swift - 5
Java version 17 OpenJDK Runtime Environment Temurin-17.0.13+11 (build 17.0.13+11)
Use “flutter doctor --verbose” command to verify the above mention versions.
Step 2 :-
Navigate to android/build.gradle and verify the Gradle and kotlin version :-
classpath "com.android.tools.build:gradle:7.1.3"
ext.kotlin_version = '1.9.0'
Step 3 :-
Navigate to android/gradle/gradle-wrapper.properties and verify the version of Gradle distribution URL :-
distributionUrl=https://services.gradle.org/distributions/gradle-7.5-all.zip
Step 4 :-
Navigate to pubspec.yaml file and add the dependency override as :-
dependency_overrides:
intl: ^0.18.0
flutter_local_notifications_linux: null
open_file_macos: null
Add chewie dependency as this dependency downloaded by third party library indirectly in the project which fix the issue as :
chewie: 1.8.1
Step 5 :-
Navigate to the project's directory and run the following command :-
flutter pub get
flutter pub run build_runner build --delete-conflicting-outputs
flutter run
Thanks & Regards