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.

Layout Issues when Using Multiple Native Ads on the Same Screen

See original GitHub issue

Plugin Version

google_mobile_ads: ^1.0.1

Steps to Reproduce

  1. Clone repository from https://codelabs.developers.google.com/codelabs/admob-inline-ads-in-flutter#1
  2. (optional) Update plugin to recent version, update compileSdkVersion and targetSdkVersion
  3. Edit native_inline_page.dart to add another native ad (_ad2) and wrap the page in a WillPopScope which calls a dialog containing a native ad wrapped in a sized box (I did not change anything else besides this):
code sample
// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

// COMPLETE: Import ad_helper.dart
import 'dart:math';

import 'package:admob_inline_ads_in_flutter/ad_helper.dart';
import 'package:admob_inline_ads_in_flutter/destination.dart';
import 'package:flutter/material.dart';

// COMPLETE: Import google_mobile_ads.dart
import 'package:google_mobile_ads/google_mobile_ads.dart';

class NativeInlinePage extends StatefulWidget {
  final List<Destination> entries;

  NativeInlinePage({
    required this.entries,
  });

  @override
  State createState() => _NativeInlinePageState();
}

class _NativeInlinePageState extends State<NativeInlinePage> {
  // COMPLETE: Add _kAdIndex
  static final _kAdIndex = 4;

  // COMPLETE: Add NativeAd instance
  late NativeAd _ad;
  late NativeAd _ad2;

  // COMPLETE: Add _isAdLoaded
  bool _isAdLoaded = false;
  bool _isAdLoaded2 = false;

  @override
  void initState() {
    super.initState();

    // COMPLETE: Create a NativeAd instance
    _ad = NativeAd(
      adUnitId: AdManager.nativeAdUnitId,
      factoryId: 'listTile',
      request: AdRequest(),
      listener: NativeAdListener(
        onAdLoaded: (_) {
          setState(() {
            _isAdLoaded = true;
          });
        },
        onAdFailedToLoad: (ad, error) {
          // Releases an ad resource when it fails to load
          ad.dispose();

          print('Ad load failed (code=${error.code} message=${error.message})');
        },
      ),
    );

    // COMPLETE: Load an ad
    _ad.load();

    _ad2 = NativeAd(
      adUnitId: AdManager.nativeAdUnitId,
      factoryId: 'listTile',
      request: AdRequest(),
      listener: NativeAdListener(
        onAdLoaded: (_) {
          setState(() {
            _isAdLoaded2 = true;
          });
        },
        onAdFailedToLoad: (ad2, error) {
          // Releases an ad resource when it fails to load
          ad2.dispose();

          print('Ad load failed (code=${error.code} message=${error.message})');
        },
      ),
    );

    // COMPLETE: Load an ad
    _ad2.load();
  }

  @override
  Widget build(BuildContext context) {
    return WillPopScope(
      onWillPop: () async {
        await showDialog<bool>(
          context: context,
          barrierDismissible: false,
          builder: (BuildContext context) {
            return AlertDialog(
              content: SizedBox(
                height: 240.0,
                child: _isAdLoaded2 ? AdWidget(ad: _ad2) : Container(),
              ),
              actions: [
                ElevatedButton(
                  onPressed: () {
                    Navigator.of(context).pop();
                  },
                  child: Text('ok'),
                ),
              ],
            );
          },
        );
        return true;
      },
      child: Scaffold(
        appBar: AppBar(
          title: Text('AdMob Native Inline Ad'),
        ),
        body: ListView.builder(
          // COMPLETE: Adjust itemCount based on the ad load state
          itemCount: widget.entries.length + (_isAdLoaded ? 1 : 0),
          itemBuilder: (context, index) {
            // COMPLETE: Render a native ad
            if (_isAdLoaded && index == _kAdIndex) {
              return Container(
                child: AdWidget(ad: _ad),
                height: 72.0,
                alignment: Alignment.center,
              );
            } else {
              // COMPLETE: Get adjusted item index from _getDestinationItemIndex()
              final item = widget.entries[_getDestinationItemIndex(index)];

              return ListTile(
                leading: Image.asset(
                  item.asset,
                  width: 48,
                  height: 48,
                  package: 'flutter_gallery_assets',
                  fit: BoxFit.cover,
                ),
                title: Text(item.name),
                subtitle: Text(item.duration),
                onTap: () {
                  print('Clicked ${item.name}');
                },
              );
            }
          },
        ),
      ),
    );
  }

  @override
  void dispose() {
    // COMPLETE: Dispose a NativeAd object
    _ad.dispose();
    super.dispose();
  }

  // COMPLETE: Add _getDestinationItemIndex()
  int _getDestinationItemIndex(int rawIndex) {
    if (rawIndex >= _kAdIndex && _isAdLoaded) {
      return rawIndex - 1;
    }
    return rawIndex;
  }
}

Expected results:

When pressing the back button a dialog should open including a second ad and an ok button.

Actual results:

Ok button is missing:

If I remove the ad from the underlying ListView, everything is working fine:

I experience similar problems when using a native ad and a flutter map (https://pub.dev/packages/flutter_map) together on the same screen. Everything works fine using https://pub.dev/packages/native_admob_flutter.

Please tell me if you need addditional information. Thanks for your help!

Logs
[  +59 ms] executing: [C:\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +262 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +1 ms] 77d935af4db863f6abd0b9c31c7e6df2a13de57b
[        ] executing: [C:\flutter/] git tag --points-at 77d935af4db863f6abd0b9c31c7e6df2a13de57b
[ +162 ms] Exit code 0 from: git tag --points-at 77d935af4db863f6abd0b9c31c7e6df2a13de57b
[        ] 2.8.1
[   +7 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +28 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [C:\flutter/] git ls-remote --get-url origin
[  +23 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +94 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref HEAD
[  +26 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[   +1 ms] stable
[  +66 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +47 ms] executing: C:\Users\leif0\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l
[  +38 ms] List of devices attached
           emulator-5554          device product:sdk_gphone_x86 model:sdk_gphone_x86 device:generic_x86_arm transport_id:2
[   +7 ms] C:\Users\leif0\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell getprop
[  +40 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[   +1 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +75 ms] Skipping pub get: version match.
[  +16 ms] Found plugin google_mobile_ads at C:\Users\leif0\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\google_mobile_ads-1.0.1\
[  +88 ms] Found plugin google_mobile_ads at C:\Users\leif0\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\google_mobile_ads-1.0.1\
[  +22 ms] Generating C:\Dev\Common\admob-inline-ads-in-flutter\complete_kotlin_swift\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[  +46 ms] ro.hardware = ranchu
[  +13 ms] Using hardware rendering with device sdk gphone x86. If you notice graphics artifacts, consider enabling software rendering with "--enable-software-rendering".
[  +22 ms] Initializing file store
[  +11 ms] Skipping target: gen_localizations
[   +4 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents:
C:\Dev\Common\admob-inline-ads-in-flutter\complete_kotlin_swift\.dart_tool\package_config_subset}
[  +13 ms] Found plugin google_mobile_ads at C:\Users\leif0\AppData\Local\Pub\Cache\hosted\pub.dartlang.org\google_mobile_ads-1.0.1\
[  +13 ms] gen_dart_plugin_registrant: Complete
[   +1 ms] Skipping target: _composite
[   +3 ms] complete
[   +5 ms] Launching lib\main.dart on sdk gphone x86 in debug mode...
[   +4 ms] C:\flutter\bin\cache\dart-sdk\bin\dart.exe --disable-dart-dev C:\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root C:\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/
--incremental --target=flutter --debugger-module-names --experimental-emit-debug-metadata -DFLUTTER_WEB_AUTO_DETECT=true --output-dill C:\Users\leif0\AppData\Local\Temp\flutter_tools.3b5b2d86\flutter_tool.edb12e2d\app.dill
--packages C:\Dev\Common\admob-inline-ads-in-flutter\complete_kotlin_swift\.dart_tool\package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root
--initialize-from-dill build\c075001b96339384a97db4862b8ab8db.cache.dill.track.dill --enable-experiment=alternative-invalidation-strategy
[   +9 ms] executing: C:\Users\leif0\AppData\Local\Android\sdk\build-tools\31.0.0-rc2\aapt dump xmltree C:\Dev\Common\admob-inline-ads-in-flutter\complete_kotlin_swift\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[  +12 ms] Exit code 0 from: C:\Users\leif0\AppData\Local\Android\sdk\build-tools\31.0.0-rc2\aapt dump xmltree C:\Dev\Common\admob-inline-ads-in-flutter\complete_kotlin_swift\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[        ] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1f
               A: android:compileSdkVersionCodename(0x01010573)="12" (Raw: "12")
               A: package="com.codelab.flutter.admobinlineads" (Raw: "com.codelab.flutter.admobinlineads")
               A: platformBuildVersionCode=(type 0x10)0x1f
               A: platformBuildVersionName=(type 0x10)0xc
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x13
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1f
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: uses-permission (line=15)
                 A: android:name(0x01010003)="android.permission.ACCESS_NETWORK_STATE" (Raw: "android.permission.ACCESS_NETWORK_STATE")
               E: uses-permission (line=16)
                 A: android:name(0x01010003)="com.google.android.gms.permission.AD_ID" (Raw: "com.google.android.gms.permission.AD_ID")
               E: queries (line=17)
                 E: intent (line=20)
                   E: action (line=21)
                     A: android:name(0x01010003)="android.intent.action.VIEW" (Raw: "android.intent.action.VIEW")
                   E: category (line=23)
                     A: android:name(0x01010003)="android.intent.category.BROWSABLE" (Raw: "android.intent.category.BROWSABLE")
                   E: data (line=25)
                     A: android:scheme(0x01010027)="https" (Raw: "https")
                 E: intent (line=29)
                   E: action (line=30)
                     A: android:name(0x01010003)="android.support.customtabs.action.CustomTabsService" (Raw: "android.support.customtabs.action.CustomTabsService")
               E: uses-permission (line=35)
                 A: android:name(0x01010003)="android.permission.WAKE_LOCK" (Raw: "android.permission.WAKE_LOCK")
               E: uses-permission (line=36)
                 A: android:name(0x01010003)="android.permission.RECEIVE_BOOT_COMPLETED" (Raw: "android.permission.RECEIVE_BOOT_COMPLETED")
               E: uses-permission (line=37)
                 A: android:name(0x01010003)="android.permission.FOREGROUND_SERVICE" (Raw: "android.permission.FOREGROUND_SERVICE")
               E: application (line=39)
                 A: android:label(0x01010001)="AdMob Inline Ads" (Raw: "AdMob Inline Ads")
                 A: android:icon(0x01010002)=@0x7f090000
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=44)
                   A: android:theme(0x01010000)=@0x7f0b0000
                   A: android:name(0x01010003)="com.codelab.flutter.admobinlineads.MainActivity" (Raw: "com.codelab.flutter.admobinlineads.MainActivity")
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: meta-data (line=58)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0b0001
                   E: meta-data (line=68)
                     A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
                     A: android:resource(0x01010025)=@0x7f050000
                   E: intent-filter (line=72)
                     E: action (line=73)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=75)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=82)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
                 E: meta-data (line=87)
                   A: android:name(0x01010003)="com.google.android.gms.ads.APPLICATION_ID" (Raw: "com.google.android.gms.ads.APPLICATION_ID")
                   A: android:value(0x01010024)="ca-app-pub-3940256099942544~3220297310" (Raw: "ca-app-pub-3940256099942544~3220297310")
                 E: meta-data (line=90)
                   A: android:name(0x01010003)="io.flutter.embedded_views_preview" (Raw: "io.flutter.embedded_views_preview")
                   A: android:value(0x01010024)=(type 0x12)0xffffffff
                 E: provider (line=94)
                   A: android:name(0x01010003)="androidx.lifecycle.ProcessLifecycleOwnerInitializer" (Raw: "androidx.lifecycle.ProcessLifecycleOwnerInitializer")
                   A: android:exported(0x01010010)=(type 0x12)0x0
                   A: android:multiprocess(0x01010013)=(type 0x12)0xffffffff
                   A: android:authorities(0x01010018)="com.codelab.flutter.admobinlineads.lifecycle-process" (Raw: "com.codelab.flutter.admobinlineads.lifecycle-process")
                 E: activity (line=99)
                   A: android:theme(0x01010000)=@0x0103000f
                   A: android:name(0x01010003)="com.google.android.gms.ads.AdActivity" (Raw: "com.google.android.gms.ads.AdActivity")
                   A: android:exported(0x01010010)=(type 0x12)0x0
                   A: android:configChanges(0x0101001f)=(type 0x11)0xfb0
                 E: provider (line=105)
                   A: android:name(0x01010003)="com.google.android.gms.ads.MobileAdsInitProvider" (Raw: "com.google.android.gms.ads.MobileAdsInitProvider")
                   A: android:exported(0x01010010)=(type 0x12)0x0
                   A: android:authorities(0x01010018)="com.codelab.flutter.admobinlineads.mobileadsinitprovider" (Raw: "com.codelab.flutter.admobinlineads.mobileadsinitprovider")
                   A: android:initOrder(0x0101001a)=(type 0x10)0x64
                 E: service (line=111)
                   A: android:name(0x01010003)="com.google.android.gms.ads.AdService" (Raw: "com.google.android.gms.ads.AdService")
                   A: android:enabled(0x0101000e)=(type 0x12)0xffffffff
                   A: android:exported(0x01010010)=(type 0x12)0x0
                 E: provider (line=116)
                   A: android:name(0x01010003)="androidx.startup.InitializationProvider" (Raw: "androidx.startup.InitializationProvider")
                   A: android:exported(0x01010010)=(type 0x12)0x0
                   A: android:authorities(0x01010018)="com.codelab.flutter.admobinlineads.androidx-startup" (Raw: "com.codelab.flutter.admobinlineads.androidx-startup")
                   E: meta-data (line=120)
                     A: android:name(0x01010003)="androidx.work.WorkManagerInitializer" (Raw: "androidx.work.WorkManagerInitializer")
                     A: android:value(0x01010024)="androidx.startup" (Raw: "androidx.startup")
                 E: service (line=125)
                   A: android:name(0x01010003)="androidx.work.impl.background.systemalarm.SystemAlarmService" (Raw: "androidx.work.impl.background.systemalarm.SystemAlarmService")
                   A: android:enabled(0x0101000e)=@0x7f020000
                   A: android:exported(0x01010010)=(type 0x12)0x0
                   A: android:directBootAware(0x01010505)=(type 0x12)0x0
                 E: service (line=130)
                   A: android:name(0x01010003)="androidx.work.impl.background.systemjob.SystemJobService" (Raw: "androidx.work.impl.background.systemjob.SystemJobService")
                   A: android:permission(0x01010006)="android.permission.BIND_JOB_SERVICE" (Raw: "android.permission.BIND_JOB_SERVICE")
                   A: android:enabled(0x0101000e)=@0x7f020002
                   A: android:exported(0x01010010)=(type 0x12)0xffffffff
                   A: android:directBootAware(0x01010505)=(type 0x12)0x0
                 E: service (line=136)
                   A: android:name(0x01010003)="androidx.work.impl.foreground.SystemForegroundService" (Raw: "androidx.work.impl.foreground.SystemForegroundService")
                   A: android:enabled(0x0101000e)=@0x7f020001
                   A: android:exported(0x01010010)=(type 0x12)0x0
                   A: android:directBootAware(0x01010505)=(type 0x12)0x0
                 E: receiver (line=142)
                   A: android:name(0x01010003)="androidx.work.impl.utils.ForceStopRunnable$BroadcastReceiver" (Raw: "androidx.work.impl.utils.ForceStopRunnable$BroadcastReceiver")
                   A: android:enabled(0x0101000e)=(type 0x12)0xffffffff
                   A: android:exported(0x01010010)=(type 0x12)0x0
                   A: android:directBootAware(0x01010505)=(type 0x12)0x0
                 E: receiver (line=147)
                   A: android:name(0x01010003)="androidx.work.impl.background.systemalarm.ConstraintProxy$BatteryChargingProxy" (Raw: "androidx.work.impl.background.systemalarm.ConstraintProxy$BatteryChargingProxy")
                   A: android:enabled(0x0101000e)=(type 0x12)0x0
                   A: android:exported(0x01010010)=(type 0x12)0x0
                   A: android:directBootAware(0x01010505)=(type 0x12)0x0
                   E: intent-filter (line=152)
                     E: action (line=153)
                       A: android:name(0x01010003)="android.intent.action.ACTION_POWER_CONNECTED" (Raw: "android.intent.action.ACTION_POWER_CONNECTED")
                     E: action (line=154)
                       A: android:name(0x01010003)="android.intent.action.ACTION_POWER_DISCONNECTED" (Raw: "android.intent.action.ACTION_POWER_DISCONNECTED")
                 E: receiver (line=157)
                   A: android:name(0x01010003)="androidx.work.impl.background.systemalarm.ConstraintProxy$BatteryNotLowProxy" (Raw: "androidx.work.impl.background.systemalarm.ConstraintProxy$BatteryNotLowProxy")
                   A: android:enabled(0x0101000e)=(type 0x12)0x0
                   A: android:exported(0x01010010)=(type 0x12)0x0
                   A: android:directBootAware(0x01010505)=(type 0x12)0x0
                   E: intent-filter (line=162)
                     E: action (line=163)
                       A: android:name(0x01010003)="android.intent.action.BATTERY_OKAY" (Raw: "android.intent.action.BATTERY_OKAY")
                     E: action (line=164)
                       A: android:name(0x01010003)="android.intent.action.BATTERY_LOW" (Raw: "android.intent.action.BATTERY_LOW")
                 E: receiver (line=167)
                   A: android:name(0x01010003)="androidx.work.impl.background.systemalarm.ConstraintProxy$StorageNotLowProxy" (Raw: "androidx.work.impl.background.systemalarm.ConstraintProxy$StorageNotLowProxy")
                   A: android:enabled(0x0101000e)=(type 0x12)0x0
                   A: android:exported(0x01010010)=(type 0x12)0x0
                   A: android:directBootAware(0x01010505)=(type 0x12)0x0
                   E: intent-filter (line=172)
                     E: action (line=173)
                       A: android:name(0x01010003)="android.intent.action.DEVICE_STORAGE_LOW" (Raw: "android.intent.action.DEVICE_STORAGE_LOW")
                     E: action (line=174)
                       A: android:name(0x01010003)="android.intent.action.DEVICE_STORAGE_OK" (Raw: "android.intent.action.DEVICE_STORAGE_OK")
                 E: receiver (line=177)
                   A: android:name(0x01010003)="androidx.work.impl.background.systemalarm.ConstraintProxy$NetworkStateProxy" (Raw: "androidx.work.impl.background.systemalarm.ConstraintProxy$NetworkStateProxy")
                   A: android:enabled(0x0101000e)=(type 0x12)0x0
                   A: android:exported(0x01010010)=(type 0x12)0x0
                   A: android:directBootAware(0x01010505)=(type 0x12)0x0
                   E: intent-filter (line=182)
                     E: action (line=183)
                       A: android:name(0x01010003)="android.net.conn.CONNECTIVITY_CHANGE" (Raw: "android.net.conn.CONNECTIVITY_CHANGE")
                 E: receiver (line=186)
                   A: android:name(0x01010003)="androidx.work.impl.background.systemalarm.RescheduleReceiver" (Raw: "androidx.work.impl.background.systemalarm.RescheduleReceiver")
                   A: android:enabled(0x0101000e)=(type 0x12)0x0
                   A: android:exported(0x01010010)=(type 0x12)0x0
                   A: android:directBootAware(0x01010505)=(type 0x12)0x0
                   E: intent-filter (line=191)
                     E: action (line=192)
                       A: android:name(0x01010003)="android.intent.action.BOOT_COMPLETED" (Raw: "android.intent.action.BOOT_COMPLETED")
                     E: action (line=193)
                       A: android:name(0x01010003)="android.intent.action.TIME_SET" (Raw: "android.intent.action.TIME_SET")
                     E: action (line=194)
                       A: android:name(0x01010003)="android.intent.action.TIMEZONE_CHANGED" (Raw: "android.intent.action.TIMEZONE_CHANGED")
                 E: receiver (line=197)
                   A: android:name(0x01010003)="androidx.work.impl.background.systemalarm.ConstraintProxyUpdateReceiver" (Raw: "androidx.work.impl.background.systemalarm.ConstraintProxyUpdateReceiver")
                   A: android:enabled(0x0101000e)=@0x7f020000
                   A: android:exported(0x01010010)=(type 0x12)0x0
                   A: android:directBootAware(0x01010505)=(type 0x12)0x0
                   E: intent-filter (line=202)
                     E: action (line=203)
                       A: android:name(0x01010003)="androidx.work.impl.background.systemalarm.UpdateProxies" (Raw: "androidx.work.impl.background.systemalarm.UpdateProxies")
                 E: receiver (line=206)
                   A: android:name(0x01010003)="androidx.work.impl.diagnostics.DiagnosticsReceiver" (Raw: "androidx.work.impl.diagnostics.DiagnosticsReceiver")
                   A: android:permission(0x01010006)="android.permission.DUMP" (Raw: "android.permission.DUMP")
                   A: android:enabled(0x0101000e)=(type 0x12)0xffffffff
                   A: android:exported(0x01010010)=(type 0x12)0xffffffff
                   A: android:directBootAware(0x01010505)=(type 0x12)0x0
                   E: intent-filter (line=212)
                     E: action (line=213)
                       A: android:name(0x01010003)="androidx.work.diagnostics.REQUEST_DIAGNOSTICS" (Raw: "androidx.work.diagnostics.REQUEST_DIAGNOSTICS")
                 E: meta-data (line=217)
                   A: android:name(0x01010003)="com.google.android.gms.version" (Raw: "com.google.android.gms.version")
                   A: android:value(0x01010024)=@0x7f070000
                 E: service (line=221)
                   A: android:name(0x01010003)="androidx.room.MultiInstanceInvalidationService" (Raw: "androidx.room.MultiInstanceInvalidationService")
                   A: android:exported(0x01010010)=(type 0x12)0x0
                   A: android:directBootAware(0x01010505)=(type 0x12)0xffffffff
[   +9 ms] executing: C:\Users\leif0\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell -x logcat -v time -t 1
[  +14 ms] <- compile package:admob_inline_ads_in_flutter/main.dart
[  +35 ms] --------- beginning of main
           01-10 08:17:20.250 D/BoundBrokerSvc( 1114): onUnbind: Intent { act=com.google.android.gms.clearcut.bootcount.service.START pkg=com.google.android.gms }
[   +8 ms] executing: C:\Users\leif0\AppData\Local\Android\sdk\platform-tools\adb.exe version
[  +24 ms] Android Debug Bridge version 1.0.41
           Version 31.0.3-7562133
           Installed as C:\Users\leif0\AppData\Local\Android\sdk\platform-tools\adb.exe
[   +1 ms] executing: C:\Users\leif0\AppData\Local\Android\sdk\platform-tools\adb.exe start-server
[  +37 ms] Building APK
[  +13 ms] Running Gradle task 'assembleDebug'...
[   +3 ms] Using gradle from C:\Dev\Common\admob-inline-ads-in-flutter\complete_kotlin_swift\android\gradlew.bat.
[  +13 ms] executing: C:\Program Files\Android\Android Studio\jre\bin\java -version
[ +128 ms] Exit code 0 from: C:\Program Files\Android\Android Studio\jre\bin\java -version
[   +1 ms] openjdk version "11.0.10" 2021-01-19
           OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
           OpenJDK 64-Bit Server VM (build 11.0.10+0-b96-7249189, mixed mode)
[   +1 ms] executing: C:\Program Files\Android\Android Studio\jre\bin\java -version
[ +108 ms] Exit code 0 from: C:\Program Files\Android\Android Studio\jre\bin\java -version
[   +1 ms] openjdk version "11.0.10" 2021-01-19
           OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
           OpenJDK 64-Bit Server VM (build 11.0.10+0-b96-7249189, mixed mode)
[   +2 ms] executing: C:\Program Files\Android\Android Studio\jre\bin\java -version
[ +106 ms] Exit code 0 from: C:\Program Files\Android\Android Studio\jre\bin\java -version
[        ] openjdk version "11.0.10" 2021-01-19
           OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
           OpenJDK 64-Bit Server VM (build 11.0.10+0-b96-7249189, mixed mode)
[   +1 ms] executing: [C:\Dev\Common\admob-inline-ads-in-flutter\complete_kotlin_swift\android/] C:\Dev\Common\admob-inline-ads-in-flutter\complete_kotlin_swift\android\gradlew.bat -Pverbose=true -Ptarget-platform=android-x86
-Ptarget=C:\Dev\Common\admob-inline-ads-in-flutter\complete_kotlin_swift\lib\main.dart -Pbase-application-name=android.app.Application -Pdart-defines=RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ== -Pdart-obfuscation=false
-Ptrack-widget-creation=true -Ptree-shake-icons=false -Pfilesystem-scheme=org-dartlang-root assembleDebug
[+1425 ms] > Task :app:compileFlutterBuildDebug UP-TO-DATE
[   +1 ms] > Task :app:packLibsflutterBuildDebug UP-TO-DATE
[        ] > Task :app:preBuild UP-TO-DATE
[        ] > Task :app:preDebugBuild UP-TO-DATE
[        ] > Task :google_mobile_ads:preBuild UP-TO-DATE
[        ] > Task :google_mobile_ads:preDebugBuild UP-TO-DATE
[        ] > Task :google_mobile_ads:compileDebugAidl NO-SOURCE
[        ] > Task :app:compileDebugAidl NO-SOURCE
[        ] > Task :google_mobile_ads:packageDebugRenderscript NO-SOURCE
[        ] > Task :app:compileDebugRenderscript NO-SOURCE
[        ] > Task :app:generateDebugBuildConfig UP-TO-DATE
[  +82 ms] > Task :google_mobile_ads:writeDebugAarMetadata UP-TO-DATE
[   +1 ms] > Task :app:checkDebugAarMetadata UP-TO-DATE
[        ] > Task :app:cleanMergeDebugAssets
[        ] > Task :app:mergeDebugShaders UP-TO-DATE
[        ] > Task :app:compileDebugShaders NO-SOURCE
[        ] > Task :app:generateDebugAssets UP-TO-DATE
[ +107 ms] > Task :google_mobile_ads:mergeDebugShaders UP-TO-DATE
[   +2 ms] > Task :google_mobile_ads:compileDebugShaders NO-SOURCE
[        ] > Task :google_mobile_ads:generateDebugAssets UP-TO-DATE
[        ] > Task :google_mobile_ads:packageDebugAssets UP-TO-DATE
[        ] > Task :app:mergeDebugAssets
[ +283 ms] > Task :app:copyFlutterAssetsDebug
[   +1 ms] > Task :app:generateDebugResValues UP-TO-DATE
[        ] > Task :app:generateDebugResources UP-TO-DATE
[        ] > Task :google_mobile_ads:compileDebugRenderscript NO-SOURCE
[        ] > Task :google_mobile_ads:generateDebugResValues UP-TO-DATE
[        ] > Task :google_mobile_ads:generateDebugResources UP-TO-DATE
[        ] > Task :google_mobile_ads:packageDebugResources UP-TO-DATE
[        ] > Task :app:mergeDebugResources UP-TO-DATE
[        ] > Task :app:createDebugCompatibleScreenManifests UP-TO-DATE
[        ] > Task :app:extractDeepLinksDebug UP-TO-DATE
[        ] > Task :google_mobile_ads:extractDeepLinksDebug UP-TO-DATE
[        ] > Task :google_mobile_ads:processDebugManifest UP-TO-DATE
[        ] > Task :app:processDebugMainManifest UP-TO-DATE
[        ] > Task :app:processDebugManifest UP-TO-DATE
[        ] > Task :app:processDebugManifestForPackage UP-TO-DATE
[        ] > Task :google_mobile_ads:compileDebugLibraryResources UP-TO-DATE
[ +100 ms] > Task :google_mobile_ads:parseDebugLocalResources UP-TO-DATE
[   +1 ms] > Task :google_mobile_ads:generateDebugRFile UP-TO-DATE
[   +1 ms] > Task :app:processDebugResources UP-TO-DATE
[        ] > Task :google_mobile_ads:generateDebugBuildConfig UP-TO-DATE
[        ] > Task :google_mobile_ads:javaPreCompileDebug UP-TO-DATE
[        ] > Task :google_mobile_ads:compileDebugJavaWithJavac UP-TO-DATE
[        ] > Task :google_mobile_ads:bundleLibCompileToJarDebug UP-TO-DATE
[        ] > Task :app:compileDebugKotlin UP-TO-DATE
[        ] > Task :app:javaPreCompileDebug UP-TO-DATE
[        ] > Task :app:compileDebugJavaWithJavac UP-TO-DATE
[        ] > Task :app:compileDebugSources UP-TO-DATE
[        ] > Task :app:mergeDebugNativeDebugMetadata NO-SOURCE
[        ] > Task :app:compressDebugAssets UP-TO-DATE
[        ] > Task :app:processDebugJavaRes NO-SOURCE
[        ] > Task :google_mobile_ads:processDebugJavaRes NO-SOURCE
[        ] > Task :google_mobile_ads:bundleLibResDebug NO-SOURCE
[        ] > Task :app:mergeDebugJavaResource UP-TO-DATE
[        ] > Task :google_mobile_ads:bundleLibRuntimeToJarDebug UP-TO-DATE
[  +82 ms] > Task :app:checkDebugDuplicateClasses UP-TO-DATE
[   +1 ms] > Task :app:dexBuilderDebug UP-TO-DATE
[        ] > Task :app:desugarDebugFileDependencies UP-TO-DATE
[        ] > Task :app:mergeExtDexDebug UP-TO-DATE
[        ] > Task :app:mergeDexDebug UP-TO-DATE
[        ] > Task :app:mergeDebugJniLibFolders UP-TO-DATE
[        ] > Task :google_mobile_ads:mergeDebugJniLibFolders UP-TO-DATE
[        ] > Task :google_mobile_ads:mergeDebugNativeLibs NO-SOURCE
[        ] > Task :google_mobile_ads:stripDebugDebugSymbols NO-SOURCE
[        ] > Task :google_mobile_ads:copyDebugJniLibsProjectOnly UP-TO-DATE
[  +88 ms] > Task :app:mergeDebugNativeLibs UP-TO-DATE
[   +1 ms] > Task :app:stripDebugDebugSymbols UP-TO-DATE
[   +1 ms] > Task :app:validateSigningDebug UP-TO-DATE
[        ] > Task :app:packageDebug UP-TO-DATE
[ +108 ms] > Task :app:assembleDebug
[   +1 ms] > Task :google_mobile_ads:copyDebugJniLibsProjectAndLocalJars UP-TO-DATE
[        ] > Task :google_mobile_ads:extractDebugAnnotations UP-TO-DATE
[  +51 ms] > Task :google_mobile_ads:mergeDebugGeneratedProguardFiles UP-TO-DATE
[        ] > Task :google_mobile_ads:mergeDebugConsumerProguardFiles UP-TO-DATE
[        ] > Task :google_mobile_ads:prepareLintJarForPublish UP-TO-DATE
[        ] > Task :google_mobile_ads:mergeDebugJavaResource UP-TO-DATE
[        ] > Task :google_mobile_ads:syncDebugLibJars UP-TO-DATE
[        ] > Task :google_mobile_ads:bundleDebugAar UP-TO-DATE
[        ] > Task :google_mobile_ads:mergeDebugResources UP-TO-DATE
[        ] > Task :google_mobile_ads:compileDebugSources UP-TO-DATE
[        ] > Task :google_mobile_ads:assembleDebug UP-TO-DATE
[        ] Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
[        ] Use '--warning-mode all' to show the individual deprecation warnings.
[        ] See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings
[        ] BUILD SUCCESSFUL in 2s
[        ] 58 actionable tasks: 4 executed, 54 up-to-date
[ +535 ms] Running Gradle task 'assembleDebug'... (completed in 3,3s)
[  +54 ms] calculateSha: LocalDirectory: 'C:\Dev\Common\admob-inline-ads-in-flutter\complete_kotlin_swift\build\app\outputs\flutter-apk'/app.apk
[ +546 ms] √  Built build\app\outputs\flutter-apk\app-debug.apk.
[   +3 ms] executing: C:\Users\leif0\AppData\Local\Android\sdk\build-tools\31.0.0-rc2\aapt dump xmltree C:\Dev\Common\admob-inline-ads-in-flutter\complete_kotlin_swift\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[  +18 ms] Exit code 0 from: C:\Users\leif0\AppData\Local\Android\sdk\build-tools\31.0.0-rc2\aapt dump xmltree C:\Dev\Common\admob-inline-ads-in-flutter\complete_kotlin_swift\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml
[        ] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1f
               A: android:compileSdkVersionCodename(0x01010573)="12" (Raw: "12")
               A: package="com.codelab.flutter.admobinlineads" (Raw: "com.codelab.flutter.admobinlineads")
               A: platformBuildVersionCode=(type 0x10)0x1f
               A: platformBuildVersionName=(type 0x10)0xc
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x13
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1f
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: uses-permission (line=15)
                 A: android:name(0x01010003)="android.permission.ACCESS_NETWORK_STATE" (Raw: "android.permission.ACCESS_NETWORK_STATE")
               E: uses-permission (line=16)
                 A: android:name(0x01010003)="com.google.android.gms.permission.AD_ID" (Raw: "com.google.android.gms.permission.AD_ID")
               E: queries (line=17)
                 E: intent (line=20)
                   E: action (line=21)
                     A: android:name(0x01010003)="android.intent.action.VIEW" (Raw: "android.intent.action.VIEW")
                   E: category (line=23)
                     A: android:name(0x01010003)="android.intent.category.BROWSABLE" (Raw: "android.intent.category.BROWSABLE")
                   E: data (line=25)
                     A: android:scheme(0x01010027)="https" (Raw: "https")
                 E: intent (line=29)
                   E: action (line=30)
                     A: android:name(0x01010003)="android.support.customtabs.action.CustomTabsService" (Raw: "android.support.customtabs.action.CustomTabsService")
               E: uses-permission (line=35)
                 A: android:name(0x01010003)="android.permission.WAKE_LOCK" (Raw: "android.permission.WAKE_LOCK")
               E: uses-permission (line=36)
                 A: android:name(0x01010003)="android.permission.RECEIVE_BOOT_COMPLETED" (Raw: "android.permission.RECEIVE_BOOT_COMPLETED")
               E: uses-permission (line=37)
                 A: android:name(0x01010003)="android.permission.FOREGROUND_SERVICE" (Raw: "android.permission.FOREGROUND_SERVICE")
               E: application (line=39)
                 A: android:label(0x01010001)="AdMob Inline Ads" (Raw: "AdMob Inline Ads")
                 A: android:icon(0x01010002)=@0x7f090000
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=44)
                   A: android:theme(0x01010000)=@0x7f0b0000
                   A: android:name(0x01010003)="com.codelab.flutter.admobinlineads.MainActivity" (Raw: "com.codelab.flutter.admobinlineads.MainActivity")
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: meta-data (line=58)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0b0001
                   E: meta-data (line=68)
                     A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
                     A: android:resource(0x01010025)=@0x7f050000
                   E: intent-filter (line=72)
                     E: action (line=73)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=75)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=82)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
                 E: meta-data (line=87)
                   A: android:name(0x01010003)="com.google.android.gms.ads.APPLICATION_ID" (Raw: "com.google.android.gms.ads.APPLICATION_ID")
                   A: android:value(0x01010024)="ca-app-pub-3940256099942544~3220297310" (Raw: "ca-app-pub-3940256099942544~3220297310")
                 E: meta-data (line=90)
                   A: android:name(0x01010003)="io.flutter.embedded_views_preview" (Raw: "io.flutter.embedded_views_preview")
                   A: android:value(0x01010024)=(type 0x12)0xffffffff
                 E: provider (line=94)
                   A: android:name(0x01010003)="androidx.lifecycle.ProcessLifecycleOwnerInitializer" (Raw: "androidx.lifecycle.ProcessLifecycleOwnerInitializer")
                   A: android:exported(0x01010010)=(type 0x12)0x0
                   A: android:multiprocess(0x01010013)=(type 0x12)0xffffffff
                   A: android:authorities(0x01010018)="com.codelab.flutter.admobinlineads.lifecycle-process" (Raw: "com.codelab.flutter.admobinlineads.lifecycle-process")
                 E: activity (line=99)
                   A: android:theme(0x01010000)=@0x0103000f
                   A: android:name(0x01010003)="com.google.android.gms.ads.AdActivity" (Raw: "com.google.android.gms.ads.AdActivity")
                   A: android:exported(0x01010010)=(type 0x12)0x0
                   A: android:configChanges(0x0101001f)=(type 0x11)0xfb0
                 E: provider (line=105)
                   A: android:name(0x01010003)="com.google.android.gms.ads.MobileAdsInitProvider" (Raw: "com.google.android.gms.ads.MobileAdsInitProvider")
                   A: android:exported(0x01010010)=(type 0x12)0x0
                   A: android:authorities(0x01010018)="com.codelab.flutter.admobinlineads.mobileadsinitprovider" (Raw: "com.codelab.flutter.admobinlineads.mobileadsinitprovider")
                   A: android:initOrder(0x0101001a)=(type 0x10)0x64
                 E: service (line=111)
                   A: android:name(0x01010003)="com.google.android.gms.ads.AdService" (Raw: "com.google.android.gms.ads.AdService")
                   A: android:enabled(0x0101000e)=(type 0x12)0xffffffff
                   A: android:exported(0x01010010)=(type 0x12)0x0
                 E: provider (line=116)
                   A: android:name(0x01010003)="androidx.startup.InitializationProvider" (Raw: "androidx.startup.InitializationProvider")
                   A: android:exported(0x01010010)=(type 0x12)0x0
                   A: android:authorities(0x01010018)="com.codelab.flutter.admobinlineads.androidx-startup" (Raw: "com.codelab.flutter.admobinlineads.androidx-startup")
                   E: meta-data (line=120)
                     A: android:name(0x01010003)="androidx.work.WorkManagerInitializer" (Raw: "androidx.work.WorkManagerInitializer")
                     A: android:value(0x01010024)="androidx.startup" (Raw: "androidx.startup")
                 E: service (line=125)
                   A: android:name(0x01010003)="androidx.work.impl.background.systemalarm.SystemAlarmService" (Raw: "androidx.work.impl.background.systemalarm.SystemAlarmService")
                   A: android:enabled(0x0101000e)=@0x7f020000
                   A: android:exported(0x01010010)=(type 0x12)0x0
                   A: android:directBootAware(0x01010505)=(type 0x12)0x0
                 E: service (line=130)
                   A: android:name(0x01010003)="androidx.work.impl.background.systemjob.SystemJobService" (Raw: "androidx.work.impl.background.systemjob.SystemJobService")
                   A: android:permission(0x01010006)="android.permission.BIND_JOB_SERVICE" (Raw: "android.permission.BIND_JOB_SERVICE")
                   A: android:enabled(0x0101000e)=@0x7f020002
                   A: android:exported(0x01010010)=(type 0x12)0xffffffff
                   A: android:directBootAware(0x01010505)=(type 0x12)0x0
                 E: service (line=136)
                   A: android:name(0x01010003)="androidx.work.impl.foreground.SystemForegroundService" (Raw: "androidx.work.impl.foreground.SystemForegroundService")
                   A: android:enabled(0x0101000e)=@0x7f020001
                   A: android:exported(0x01010010)=(type 0x12)0x0
                   A: android:directBootAware(0x01010505)=(type 0x12)0x0
                 E: receiver (line=142)
                   A: android:name(0x01010003)="androidx.work.impl.utils.ForceStopRunnable$BroadcastReceiver" (Raw: "androidx.work.impl.utils.ForceStopRunnable$BroadcastReceiver")
                   A: android:enabled(0x0101000e)=(type 0x12)0xffffffff
                   A: android:exported(0x01010010)=(type 0x12)0x0
                   A: android:directBootAware(0x01010505)=(type 0x12)0x0
                 E: receiver (line=147)
                   A: android:name(0x01010003)="androidx.work.impl.background.systemalarm.ConstraintProxy$BatteryChargingProxy" (Raw: "androidx.work.impl.background.systemalarm.ConstraintProxy$BatteryChargingProxy")
                   A: android:enabled(0x0101000e)=(type 0x12)0x0
                   A: android:exported(0x01010010)=(type 0x12)0x0
                   A: android:directBootAware(0x01010505)=(type 0x12)0x0
                   E: intent-filter (line=152)
                     E: action (line=153)
                       A: android:name(0x01010003)="android.intent.action.ACTION_POWER_CONNECTED" (Raw: "android.intent.action.ACTION_POWER_CONNECTED")
                     E: action (line=154)
                       A: android:name(0x01010003)="android.intent.action.ACTION_POWER_DISCONNECTED" (Raw: "android.intent.action.ACTION_POWER_DISCONNECTED")
                 E: receiver (line=157)
                   A: android:name(0x01010003)="androidx.work.impl.background.systemalarm.ConstraintProxy$BatteryNotLowProxy" (Raw: "androidx.work.impl.background.systemalarm.ConstraintProxy$BatteryNotLowProxy")
                   A: android:enabled(0x0101000e)=(type 0x12)0x0
                   A: android:exported(0x01010010)=(type 0x12)0x0
                   A: android:directBootAware(0x01010505)=(type 0x12)0x0
                   E: intent-filter (line=162)
                     E: action (line=163)
                       A: android:name(0x01010003)="android.intent.action.BATTERY_OKAY" (Raw: "android.intent.action.BATTERY_OKAY")
                     E: action (line=164)
                       A: android:name(0x01010003)="android.intent.action.BATTERY_LOW" (Raw: "android.intent.action.BATTERY_LOW")
                 E: receiver (line=167)
                   A: android:name(0x01010003)="androidx.work.impl.background.systemalarm.ConstraintProxy$StorageNotLowProxy" (Raw: "androidx.work.impl.background.systemalarm.ConstraintProxy$StorageNotLowProxy")
                   A: android:enabled(0x0101000e)=(type 0x12)0x0
                   A: android:exported(0x01010010)=(type 0x12)0x0
                   A: android:directBootAware(0x01010505)=(type 0x12)0x0
                   E: intent-filter (line=172)
                     E: action (line=173)
                       A: android:name(0x01010003)="android.intent.action.DEVICE_STORAGE_LOW" (Raw: "android.intent.action.DEVICE_STORAGE_LOW")
                     E: action (line=174)
                       A: android:name(0x01010003)="android.intent.action.DEVICE_STORAGE_OK" (Raw: "android.intent.action.DEVICE_STORAGE_OK")
                 E: receiver (line=177)
                   A: android:name(0x01010003)="androidx.work.impl.background.systemalarm.ConstraintProxy$NetworkStateProxy" (Raw: "androidx.work.impl.background.systemalarm.ConstraintProxy$NetworkStateProxy")
                   A: android:enabled(0x0101000e)=(type 0x12)0x0
                   A: android:exported(0x01010010)=(type 0x12)0x0
                   A: android:directBootAware(0x01010505)=(type 0x12)0x0
                   E: intent-filter (line=182)
                     E: action (line=183)
                       A: android:name(0x01010003)="android.net.conn.CONNECTIVITY_CHANGE" (Raw: "android.net.conn.CONNECTIVITY_CHANGE")
                 E: receiver (line=186)
                   A: android:name(0x01010003)="androidx.work.impl.background.systemalarm.RescheduleReceiver" (Raw: "androidx.work.impl.background.systemalarm.RescheduleReceiver")
                   A: android:enabled(0x0101000e)=(type 0x12)0x0
                   A: android:exported(0x01010010)=(type 0x12)0x0
                   A: android:directBootAware(0x01010505)=(type 0x12)0x0
                   E: intent-filter (line=191)
                     E: action (line=192)
                       A: android:name(0x01010003)="android.intent.action.BOOT_COMPLETED" (Raw: "android.intent.action.BOOT_COMPLETED")
                     E: action (line=193)
                       A: android:name(0x01010003)="android.intent.action.TIME_SET" (Raw: "android.intent.action.TIME_SET")
                     E: action (line=194)
                       A: android:name(0x01010003)="android.intent.action.TIMEZONE_CHANGED" (Raw: "android.intent.action.TIMEZONE_CHANGED")
                 E: receiver (line=197)
                   A: android:name(0x01010003)="androidx.work.impl.background.systemalarm.ConstraintProxyUpdateReceiver" (Raw: "androidx.work.impl.background.systemalarm.ConstraintProxyUpdateReceiver")
                   A: android:enabled(0x0101000e)=@0x7f020000
                   A: android:exported(0x01010010)=(type 0x12)0x0
                   A: android:directBootAware(0x01010505)=(type 0x12)0x0
                   E: intent-filter (line=202)
                     E: action (line=203)
                       A: android:name(0x01010003)="androidx.work.impl.background.systemalarm.UpdateProxies" (Raw: "androidx.work.impl.background.systemalarm.UpdateProxies")
                 E: receiver (line=206)
                   A: android:name(0x01010003)="androidx.work.impl.diagnostics.DiagnosticsReceiver" (Raw: "androidx.work.impl.diagnostics.DiagnosticsReceiver")
                   A: android:permission(0x01010006)="android.permission.DUMP" (Raw: "android.permission.DUMP")
                   A: android:enabled(0x0101000e)=(type 0x12)0xffffffff
                   A: android:exported(0x01010010)=(type 0x12)0xffffffff
                   A: android:directBootAware(0x01010505)=(type 0x12)0x0
                   E: intent-filter (line=212)
                     E: action (line=213)
                       A: android:name(0x01010003)="androidx.work.diagnostics.REQUEST_DIAGNOSTICS" (Raw: "androidx.work.diagnostics.REQUEST_DIAGNOSTICS")
                 E: meta-data (line=217)
                   A: android:name(0x01010003)="com.google.android.gms.version" (Raw: "com.google.android.gms.version")
                   A: android:value(0x01010024)=@0x7f070000
                 E: service (line=221)
                   A: android:name(0x01010003)="androidx.room.MultiInstanceInvalidationService" (Raw: "androidx.room.MultiInstanceInvalidationService")
                   A: android:exported(0x01010010)=(type 0x12)0x0
                   A: android:directBootAware(0x01010505)=(type 0x12)0xffffffff
[   +5 ms] Stopping app 'app.apk' on sdk gphone x86.
[        ] executing: C:\Users\leif0\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell am force-stop com.codelab.flutter.admobinlineads
[  +42 ms] executing: C:\Users\leif0\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell pm list packages com.codelab.flutter.admobinlineads
[  +35 ms] package:com.codelab.flutter.admobinlineads
[   +2 ms] executing: C:\Users\leif0\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell cat /data/local/tmp/sky.com.codelab.flutter.admobinlineads.sha1
[  +30 ms] 58460360b5985fa2d2ed75683f96ebb9486af0a3
[   +1 ms] Latest build already installed.
[        ] executing: C:\Users\leif0\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell -x logcat -v time -t 1
[  +26 ms] --------- beginning of main
           01-10 08:17:31.991 I/cmd     ( 6623): oneway function results will be dropped but finished with status OK and parcel size 4
[   +4 ms] executing: C:\Users\leif0\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-background-compilation true --ez enable-dart-profiling true
--ez enable-checked-mode true --ez verify-entry-points true com.codelab.flutter.admobinlineads/com.codelab.flutter.admobinlineads.MainActivity
[  +37 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.codelab.flutter.admobinlineads/.MainActivity (has extras) }
[        ] Waiting for observatory port to be available...
[ +352 ms] W/FlutterActivityAndFragmentDelegate( 6640): A splash screen was provided to Flutter, but this is deprecated. See flutter.dev/go/android-splash-migration for migration steps.
[  +59 ms] Observatory URL on device: http://127.0.0.1:37981/JJI9v3nS2uk=/
[   +1 ms] executing: C:\Users\leif0\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 forward tcp:0 tcp:37981
[  +18 ms] 61647
[   +1 ms] Forwarded host port 61647 to device port 37981 for Observatory
[   +5 ms] Caching compiled dill
[  +25 ms] Connecting to service protocol: http://127.0.0.1:61647/JJI9v3nS2uk=/
[ +334 ms] Launching a Dart Developer Service (DDS) instance at http://127.0.0.1:0, connecting to VM service at http://127.0.0.1:61647/JJI9v3nS2uk=/.
[ +142 ms] DDS is listening at http://127.0.0.1:61650/vqCLOLYpqI4=/.
[  +43 ms] Successfully connected to service protocol: http://127.0.0.1:61647/JJI9v3nS2uk=/
[  +57 ms] DevFS: Creating new filesystem on the device (null)
[  +28 ms] DevFS: Created new filesystem on the device (file:///data/user/0/com.codelab.flutter.admobinlineads/code_cache/complete_kotlin_swiftLVPCJR/complete_kotlin_swift/)
[   +2 ms] Updating assets
[  +86 ms] Syncing files to device sdk gphone x86...
[   +2 ms] <- reset
[        ] Compiling dart to kernel with 0 updated files
[   +4 ms] <- recompile package:admob_inline_ads_in_flutter/main.dart 61183c33-8a58-4f72-a4ec-03c41f05f1cc
[        ] <- 61183c33-8a58-4f72-a4ec-03c41f05f1cc
[  +91 ms] Updating files.
[   +1 ms] DevFS: Sync finished
[   +2 ms] Syncing files to device sdk gphone x86... (completed in 101ms)
[        ] Synced 0.0MB.
[   +1 ms] <- accept
[   +4 ms] Connected to _flutterView/0xe5a092b0.
[   +2 ms] Flutter run key commands.
[   +1 ms] r Hot reload. 
[   +2 ms] R Hot restart.
[        ] h List all available interactive commands.
[        ] d Detach (terminate "flutter run" but leave application running).
[   +1 ms] c Clear the screen
[        ] q Quit (terminate the application on the device).
[        ]  Running with sound null safety 
[   +1 ms] An Observatory debugger and profiler on sdk gphone x86 is available at: http://127.0.0.1:61650/vqCLOLYpqI4=/
[ +419 ms] I/.admobinlinead( 6640): The ClassLoaderContext is a special shared library.
[   +2 ms] I/.admobinlinead( 6640): The ClassLoaderContext is a special shared library.
[  +24 ms] I/.admobinlinead( 6640): The ClassLoaderContext is a special shared library.
[        ] I/DynamiteModule( 6640): Considering local module com.google.android.gms.ads.dynamite:0 and remote module com.google.android.gms.ads.dynamite:214106404
[        ] I/DynamiteModule( 6640): Selected remote version of com.google.android.gms.ads.dynamite, version >= 214106404
[   +2 ms] D/DynamitePackage( 6640): Instantiated singleton DynamitePackage.
[   +1 ms] D/DynamitePackage( 6640): Instantiating com.google.android.gms.ads.ChimeraMobileAdsSettingManagerCreatorImpl
[  +47 ms] W/ConnectionStatusConfig( 6640): Dynamic lookup for intent failed for action: com.google.android.gms.leibniz.events.service.START
[   +2 ms] W/GmsClient( 6640): unable to connect to service: com.google.android.gms.leibniz.events.service.START on com.google.android.gms
[  +55 ms] I/WebViewFactory( 6640): Loading com.google.android.webview version 96.0.4664.104 (code 466410431)
[  +22 ms] W/.admobinlinead( 6640): Accessing hidden method Landroid/os/Trace;->isTagEnabled(J)Z (greylist, reflection, allowed)
[        ] W/.admobinlinead( 6640): Accessing hidden method Landroid/os/Trace;->traceBegin(JLjava/lang/String;)V (greylist, reflection, allowed)
[        ] W/.admobinlinead( 6640): Accessing hidden method Landroid/os/Trace;->traceEnd(J)V (greylist, reflection, allowed)
[        ] W/.admobinlinead( 6640): Accessing hidden method Landroid/os/Trace;->asyncTraceBegin(JLjava/lang/String;I)V (greylist, reflection, allowed)
[        ] W/.admobinlinead( 6640): Accessing hidden method Landroid/os/Trace;->asyncTraceEnd(JLjava/lang/String;I)V (greylist, reflection, allowed)
[        ] I/cr_WVCFactoryProvider( 6640): Loaded version=96.0.4664.104 minSdkVersion=29 isBundle=true multiprocess=true packageId=2
[  +24 ms] I/cr_LibraryLoader( 6640): Successfully loaded native library
[   +1 ms] I/cr_CachingUmaRecorder( 6640): Flushed 8 samples from 8 histograms.
[ +131 ms] W/.admobinlinead( 6640): Accessing hidden method Landroid/media/AudioManager;->getOutputLatency(I)I (greylist, reflection, allowed)
[   +1 ms] D/HostConnection( 6640): HostConnection::get() New Host Connection established 0xebcaff00, tid 6750
[  +14 ms] W/cr_media( 6640): Requires BLUETOOTH permission
[        ] D/HostConnection( 6640): HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem
ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements
ANDROID_EMU_YUV_Cache ANDROID_EMU_vulkan_ignored_handles ANDROID_EMU_has_shared_slots_host_memory_allocator ANDROID_EMU_vulkan_free_memory_sync ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit
ANDROID_EMU_sync_buffer_data ANDROID_EMU_read_color_buffer_dma GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_gles_max_version_2
[   +1 ms] E/chromium( 6640): [ERROR:gl_surface_egl.cc(582)] eglChooseConfig failed with error EGL_SUCCESS
[  +21 ms] D/EGL_emulation( 6640): eglCreateContext: 0xebcb0bb0: maj 2 min 0 rcv 2
[        ] D/EGL_emulation( 6640): eglMakeCurrent: 0xebcb0bb0: ver 2 0 (tinfo 0xb795b6b0) (first time)
[  +16 ms] E/chromium( 6640): [ERROR:gl_surface_egl.cc(582)] eglChooseConfig failed with error EGL_SUCCESS
[  +10 ms] D/EGL_emulation( 6640): eglCreateContext: 0xebca0a00: maj 2 min 0 rcv 2
[  +39 ms] D/EGL_emulation( 6640): eglCreateContext: 0xebcac770: maj 2 min 0 rcv 2
[ +148 ms] The Flutter DevTools debugger and profiler on sdk gphone x86 is available at: http://127.0.0.1:9100?uri=http://127.0.0.1:61650/vqCLOLYpqI4=/
[+1952 ms] D/DynamitePackage( 6640): Instantiating com.google.android.gms.ads.ChimeraAdLoaderBuilderCreatorImpl
[  +17 ms] I/Ads     ( 6640): This request is sent from a test device.
[ +141 ms] D/DynamitePackage( 6640): Instantiating com.google.android.gms.ads.ChimeraAdLoaderBuilderCreatorImpl
[  +10 ms] I/Ads     ( 6640): This request is sent from a test device.
[  +17 ms] D/EGL_emulation( 6640): eglCreateContext: 0xebcafb80: maj 2 min 0 rcv 2
[ +240 ms] W/Ads     ( 6640): Not retrying to fetch app settings
[   +2 ms] W/Ads     ( 6640): Not retrying to fetch app settings
[ +693 ms] I/DynamiteModule( 6640): Considering local module com.google.android.gms.ads.dynamite:0 and remote module com.google.android.gms.ads.dynamite:214106404
[   +1 ms] I/DynamiteModule( 6640): Selected remote version of com.google.android.gms.ads.dynamite, version >= 214106404
[   +8 ms] D/EGL_emulation( 6640): eglCreateContext: 0xebc89000: maj 2 min 0 rcv 2
[  +78 ms] D/EGL_emulation( 6640): eglCreateContext: 0xebcac690: maj 2 min 0 rcv 2
[   +1 ms] D/DynamitePackage( 6640): Instantiating com.google.android.gms.ads.ChimeraNativeAdViewDelegateCreatorImpl
[ +116 ms] I/DynamiteModule( 6640): Considering local module com.google.android.gms.ads.dynamite:0 and remote module com.google.android.gms.ads.dynamite:214106404
[   +1 ms] I/DynamiteModule( 6640): Selected remote version of com.google.android.gms.ads.dynamite, version >= 214106404
[  +23 ms] D/DynamitePackage( 6640): Instantiating com.google.android.gms.ads.ChimeraNativeAdViewDelegateCreatorImpl
[ +155 ms] D/EGL_emulation( 6640): eglMakeCurrent: 0xebca7370: ver 2 0 (tinfo 0xebffcc90) (first time)
[   +4 ms] W/Gralloc4( 6640): allocator 3.x is not supported
[+3465 ms] D/EGL_emulation( 6640): eglCreateContext: 0xebcb18d0: maj 2 min 0 rcv 2
[+3517 ms] Application finished.
Analyzing complete_kotlin_swift...
No issues found! (ran in 1.5s)
[√] Flutter (Channel stable, 2.8.1, on Microsoft Windows [Version 10.0.19042.1415], locale de-DE)
    • Flutter version 2.8.1 at C:\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 77d935af4d (4 weeks ago), 2021-12-16 08:37:33 -0800
    • Engine revision 890a5fca2e
    • Dart version 2.15.1

[√] Android toolchain - develop for Android devices (Android SDK version 31.0.0-rc2)
    • Android SDK at C:\Users\leif0\AppData\Local\Android\sdk
    • Platform android-31, build-tools 31.0.0-rc2
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Android Studio (version 2020.3)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[√] Connected device (2 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 97.0.4692.71
    • Edge (web)   • edge   • web-javascript • Microsoft Edge 96.0.1054.62

• No issues found!

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:8

github_iconTop GitHub Comments

3reactions
medstcommented, Jan 31, 2022

same issue with tabs

1reaction
leifhackscommented, Jun 17, 2022

Issue does not occur for me anymore. Can anyone confirm?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to avoid duplicates when loading multiple ads using ...
I'm using Google Native Ads to load multiple custom template ads in my app, each with its own ad unit ID. As it...
Read more >
Compare delivery methods for native ads - Google Support
Ad Manager offers two delivery methods for native ads: Native styles. Native styles are available to use for both web and apps, and...
Read more >
Native Ad Formats: A Quick Guide - Brax.io
Carousel ads are another type of native advertising format that allows users to scroll through multiple images, videos, or pieces of text at...
Read more >
Native Ads | Android - Google Developers
Native ads are ad assets that are presented to users through UI components that are native to the platform. They're shown using the...
Read more >
Native Advertising: A Guide for Businesses
Marketers and publishers are using innovative methods to create, format, and deliver digital advertising. One form is “native advertising,” ...
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