question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Issue when initialize iOS

See original GitHub issue

Plugin Version

google_mobile_ads: ^1.0.1

Steps to Reproduce

When I call MobileAds.instance.initialize() in main file, I receive a error as below, so ads not working

Expected results:

Actual results:

- Unhandled Exception: MissingPluginException(No implementation found for method _init on channel plugins.flutter.io/google_mobile_ads)
- Unhandled Exception: MissingPluginException(No implementation found for method MobileAds#initialize on channel plugins.flutter.io/google_mobile_ads)
<details>

  <summary>Logs</summary>
[VERBOSE-2:ui_dart_state.cc(209)] Unhandled Exception: MissingPluginException(No implementation found for method _init on channel plugins.flutter.io/google_mobile_ads)
#0      MethodChannel._invokeMethod
package:flutter/…/services/platform_channel.dart:165
<asynchronous suspension>
[VERBOSE-2:ui_dart_state.cc(209)] Unhandled Exception: MissingPluginException(No implementation found for method MobileAds#initialize on channel plugins.flutter.io/google_mobile_ads)
#0      MethodChannel._invokeMethod
package:flutter/…/services/platform_channel.dart:165
<asynchronous suspension>
#1      AdInstanceManager.initialize
package:google_mobile_ads/src/ad_instance_manager.dart:384
<asynchronous suspension>

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:13

github_iconTop GitHub Comments

4reactions
maheshmnjcommented, Jan 19, 2022

@LeNguyen0608 Please check if flutter clean and flutter pub get resolved the issue.

0reactions
BenMiller3commented, Oct 3, 2022

Same issue

Read more comments on GitHub >

github_iconTop Results From Across the Web

Application Suddenly Initialized | Apple Developer Forums
I want to ask you if there is any program that initialize application suddenly. Many users of our application have informed us that...
Read more >
Firebase Flutter iOS initialization issue - xcode - Stack Overflow
Firebase Flutter iOS initialization issue ... Hi I am getting following issue while I am trying to initialze firebase. Unhandled Exception: [core/ ...
Read more >
Initializing the Support SDK (Required)
Initialize the Support SDK in the AppDelegate file when your application is launched. Prerequisites. A Zendesk admin has registered the app in Zendesk...
Read more >
Initialize SDK Settings in iOS - Xandr
SDKSettings in Xandr Mobile SDK contains the method optionalSDKInitialization(), which allows you to pre-configure common settings such as ...
Read more >
Initialization — The Swift Programming Language (Swift 5.7)
The Size structure automatically receives an init(width:height:) memberwise initializer, which you can use to initialize a new Size instance: struct Size ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found