If Updating solution is not worked then You just need to add dependency_overrides in your pubspec.yaml file. Just open Your Pubspec file and add the below line: dependency_overrides: firebase_core_platform_interface: 4.5.1 That's it and your error will be solved. Thanks.