# Flutter: A Firebase App named `[Default]` already exists.

Sometimes we get a bug in Flutter when we are trying to build an app.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1712948300234/141f298d-df23-4f7a-bfb1-59330a2f17f2.png align="center")

The problem is that we can try to run flutterfire configure to try to reinitialize our apps with our Firebase project. But it wouldn't work because that command still doesn't clear all the old firebase dependencies and we are still going to encounter that error.

### Steps to Resolve the error:

1. Remove the google-services.json from your android/app folder
    

```bash
rm YOUR-PROJECT-DIRECTORY/android/app/google-services.json
```

2. Remove the old GoogleService-Info.plist from your iOS folder:
    

```bash
rm YOUR-PROJECT-FOLDER/ios/Runner/GoogleService-Info.plist
```

3. If you have different flavors of builds in your iOS folder:
    

```bash
ios/{your_target_name}/GoogleService-Info.plist
```

### Reconfigure with your Firebase:

Here are the final commands to reconfigure your app with your firebase and to run the final build

```bash
flutterfire configure
flutter clean
flutter pub get
flutter run
```
