when i put
admob_flutter: ^2.0.0-nullsafety.1 in pubspec, and type on cmd flutter pub get this error occurs!
admob_flutter uses a deprecated version of the Android embedding.
To avoid unexpected runtime failures, or future build failures, try to see if this plugin supports the Android V2 embedding. Otherwise, consider removing it since a future release of
Flutter will remove these deprecated APIs.
It’s for latest flutter updates. so you can’t do anything. Please use other package or wait till fix the problem by package developer because this error is produced after flutter version 2.5.
Answered By – Tushar Moradiya