Search code examples
androidfluttergoogle-mobile-ads

Google Mobile Ads SDK was initialized incorrectly


Not sure why but I am getting this when trying to start the app on an emulator

enter image description here

Also this is what is setup in project/android/app/src/main/AndroidManifest.xml

enter image description here

And here is the initialize code:

enter image description here

Any help would be appreciated


Solution

  • Your meta-data tag is not getting recognized. You should have the meta-data tag for ads outside of the activity tag and within the application tag