I get Unhandled Exception: MissingPluginException(No implementation found for method _init on channel plugins.flutter.io/google_mobile_ads)
error as soon as I add in_app_purchase as a dependency. Before adding it as a dependency, google_mobile_ads work just fine. I need both in_app_purchase and google_mobile_ads in my app, how do I deal with it?
PS Please do not suggest flutter clean and stopping and running the app up again, none of these worked for me.
I found an answer. I don't know how google_mobile_ads is connected to this, but this error was appearing because I had both in_app_purchase and flutter_billing as a dependency. As soon as I removed flutter_billing, everything worked just fine.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.