You can reference these link:
[https://github.com/googleads/googleads-mobile-flutter/issues/594][1]
[https://github.com/firebase/flutterfire/issues/9152][2]
I changed this in file **pubspec.yaml** and resolve my problem
google_mobile_ads:
git:
url: https://github.com/googleads/googleads-mobile-flutter
ref: 356875362ddb2ac2e0056385d2729c093722fb8d
path: packages/google_mobile_ads
Here is my final file
# google_mobile_ads: ^1.3.0
google_mobile_ads:
git:
url: https://github.com/googleads/googleads-mobile-flutter
ref: 356875362ddb2ac2e0056385d2729c093722fb8d
path: packages/google_mobile_ads
# firebase_core: ^1.20.0
firebase_core: ^1.18.0
# firebase_analytics: ^9.3.0
firebase_analytics: ^9.1.10
[1]: https://github.com/googleads/googleads-mobile-flutter/issues/594
[2]: https://github.com/firebase/flutterfire/issues/9152
You can reference these link:
[https://github.com/googleads/googleads-mobile-flutter/issues/594][1]
[https://github.com/firebase/flutterfire/issues/9152][2]
I changed this in file pubspec.yaml and resolve my problem
google_mobile_ads:
git:
url: https://github.com/googleads/googleads-mobile-flutter
ref: 356875362ddb2ac2e0056385d2729c093722fb8d
path: packages/google_mobile_ads
[1]: https://github.com/googleads/googleads-mobile-flutter/issues/594
[2]: https://github.com/firebase/flutterfire/issues/9152