Answer the question
In order to leave comments, you need to log in
How to resolve error when using google_mobile_ads in flutter?
Hi all!
I made an application, I decided to add advertising from Google.
I copied all the code from the documentation, installed the library.
And then the following error pops up:
This app is using a deprecated version of the Android embedding.
To avoid unexpected runtime failures, or future build failures, try to migrate this app to the V2 embedding.
Take a look at the docs for migrating an app: https://github.com/flutter/flutter/wiki/Upgrading-...
The plugin `google_mobile_ads` requires your app to be migrated to the Android embedding v2.
I tried to change the version of android, it did not help.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question