Test Ad Rewarded ad not displaying (LoadAdError code 3)
See original GitHub issueI’m currently unable to display a test rewarded ad. I am using the rewarded ad
Sample ad unit ID
provided in the doc: ca-app-pub-3940256099942544/5224354917
.
I am getting error code 3, which according to the documentation:
The ad request was successful, but no ad was returned due to lack of ad inventory.
Which doesn’t seem to make sense as this is a test ad, and should always be available?
Plugin Version
0.12.1+1
Steps to Reproduce
- Run
flutter create bug
. - Update the files as follows:
- In
android/app/build.gradle: update
minSdkVersion` to 19 - In
android/app/src/main/AndroidManifest.xml
: add meta-data tag
<application>
...
<meta-data
android:name="com.google.android.gms.ads.APPLICATION_ID"
android:value="ca-app-pub-3940256099942544~3347511713"/>
</application>
lib/main.dart
import 'dart:developer';
import 'package:flutter/material.dart';
import 'package:google_mobile_ads/google_mobile_ads.dart';
Future<void> main() async {
WidgetsFlutterBinding.ensureInitialized();
await MobileAds.instance.initialize();
runApp(MaterialApp(home: MyApp()));
}
class MyApp extends StatefulWidget {
@override
MyAppState createState() => MyAppState();
}
class MyAppState extends State<MyApp> {
late final RewardedAd myRewarded;
bool adLoaded = false;
Future loadAd() async {
// reset to false
adLoaded = false;
log('INFO: loading ad....');
await myRewarded.load();
adLoaded = await myRewarded.isLoaded();
if (adLoaded) {
log('INFO: ad is now loaded');
setState(() {});
}
}
@override
void initState() {
super.initState();
// Load ads.
myRewarded = RewardedAd(
adUnitId: RewardedAd.testAdUnitId,
request: AdRequest(
// nonPersonalizedAds: true,
// contentUrl: "https://www.flutter.dev/",
// keywords: ['Technology'],
),
listener: AdListener(
// Called when an ad is successfully received.
onAdLoaded: (Ad ad) => log('Ad loaded.'),
// Called when an ad request failed.
onAdFailedToLoad: (Ad ad, LoadAdError error) {
ad.dispose();
log('Ad failed to load: $error => ${error.message}');
},
// Called when an ad opens an overlay that covers the screen.
onAdOpened: (Ad ad) => log('Ad opened.'),
// Called when an ad removes an overlay that covers the screen.
onAdClosed: (Ad ad) {
ad.dispose();
log('Ad closed.');
},
// Called when an ad is in the process of leaving the application.
onApplicationExit: (Ad ad) => log('Left application.'),
// Called when a RewardedAd triggers a reward.
onRewardedAdUserEarnedReward: (RewardedAd ad, RewardItem reward) {
// TODO: Make sure to implement the onRewardedAdUserEarnedReward event to reward the user for watching an ad
log('Reward earned: $reward');
},
),
);
// loadAd();
}
@override
Widget build(BuildContext context) {
return Scaffold(
body: Container(
color: Colors.red,
child: Center(
child: ElevatedButton(
onPressed: () async {
await loadAd();
if (adLoaded) myRewarded.show();
},
child: Text("Play Ad"),
),
),
),
);
}
}
android/app/build.gradle
def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
localPropertiesFile.withReader('UTF-8') { reader ->
localProperties.load(reader)
}
}
def flutterRoot = localProperties.getProperty('flutter.sdk')
if (flutterRoot == null) {
throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
}
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null) {
flutterVersionCode = '1'
}
def flutterVersionName = localProperties.getProperty('flutter.versionName')
if (flutterVersionName == null) {
flutterVersionName = '1.0'
}
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
android {
compileSdkVersion 30
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'
}
sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.example.bug"
minSdkVersion 19
targetSdkVersion 30
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
}
buildTypes {
release {
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works.
signingConfig signingConfigs.debug
}
}
}
flutter {
source '../..'
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
}
android/app/src/main/AndroidManifest.xml
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.bug">
<application
android:label="bug"
android:icon="@mipmap/ic_launcher">
<activity
android:name=".MainActivity"
android:launchMode="singleTop"
android:theme="@style/LaunchTheme"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
android:hardwareAccelerated="true"
android:windowSoftInputMode="adjustResize">
<!-- Specifies an Android theme to apply to this Activity as soon as
the Android process has started. This theme is visible to the user
while the Flutter UI initializes. After that, this theme continues
to determine the Window background behind the Flutter UI. -->
<meta-data
android:name="io.flutter.embedding.android.NormalTheme"
android:resource="@style/NormalTheme"
/>
<!-- Displays an Android View that continues showing the launch screen
Drawable until Flutter paints its first frame, then this splash
screen fades out. A splash screen is useful to avoid any visual
gap between the end of Android's launch screen and the painting of
Flutter's first frame. -->
<meta-data
android:name="io.flutter.embedding.android.SplashScreenDrawable"
android:resource="@drawable/launch_background"
/>
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
<!-- Don't delete the meta-data below.
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
<meta-data
android:name="flutterEmbedding"
android:value="2" />
<!-- Sample Ad Manager app ID: ca-app-pub-3940256099942544~3347511713 -->
<meta-data
android:name="com.google.android.gms.ads.APPLICATION_ID"
android:value="ca-app-pub-3940256099942544~3347511713"/>
</application>
</manifest>
- Run app
- Press
Play ad
button
Expected results: A test rewarded ad should be shown.
Actual results: Nothing happens visually; the following error code is returned:
Ad failed to load: LoadAdError(code: 3, domain: com.google.android.gms.ads, message: No ad config.) => No ad config.
Logs
flutter run --verbose
output:
[ +57 ms] executing: uname -m
[ +31 ms] Exit code 0 from: uname -m
[ ] x86_64
[ +7 ms] executing: [/home/lenz/development/lib/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +6 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[ ] d72bfb8d073c6cf943a6637290dd3f8cdad11831
[ ] executing: [/home/lenz/development/lib/flutter/] git tag --points-at d72bfb8d073c6cf943a6637290dd3f8cdad11831
[ +17 ms] Exit code 0 from: git tag --points-at d72bfb8d073c6cf943a6637290dd3f8cdad11831
[ ] 2.3.0-0.1.pre
[ +9 ms] executing: [/home/lenz/development/lib/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ +8 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] origin/dev
[ ] executing: [/home/lenz/development/lib/flutter/] git ls-remote --get-url origin
[ +6 ms] Exit code 0 from: git ls-remote --get-url origin
[ ] https://github.com/flutter/flutter.git
[ +91 ms] executing: [/home/lenz/development/lib/flutter/] git rev-parse --abbrev-ref HEAD
[ +5 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ ] dev
[ +70 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.
[ +4 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.
[ +82 ms] executing: /home/lenz/Android/Sdk/platform-tools/adb devices -l
[ +41 ms] List of devices attached
emulator-5556 device product:sdk_gphone_x86_64 model:sdk_gphone_x86_64 device:generic_x86_64_arm64 transport_id:2
[ +8 ms] /home/lenz/Android/Sdk/platform-tools/adb -s emulator-5556 shell getprop
[ +36 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.
[ ] 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.
[ +82 ms] Skipping pub get: version match.
[ +27 ms] Found plugin google_mobile_ads at /home/lenz/.pub-cache/hosted/pub.dartlang.org/google_mobile_ads-0.12.1+1/
[ +103 ms] Found plugin google_mobile_ads at /home/lenz/.pub-cache/hosted/pub.dartlang.org/google_mobile_ads-0.12.1+1/
[ +22 ms] Generating /home/lenz/development/myapps/practice/ads_bug/bug/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[ +57 ms] ro.hardware = ranchu
[ +13 ms] Using hardware rendering with device sdk gphone x86 64. If you notice graphics artifacts, consider enabling software rendering with "--enable-software-rendering".
[ +29 ms] Initializing file store
[ +9 ms] Skipping target: gen_localizations
[ +4 ms] complete
[ +4 ms] Launching lib/main.dart on sdk gphone x86 64 in debug mode...
[ +6 ms] /home/lenz/development/lib/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /home/lenz/development/lib/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root /home/lenz/development/lib/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 /tmp/flutter_tools.ZMOQPU/flutter_tool.ERPWGI/app.dill --packages /home/lenz/development/myapps/practice/ads_bug/bug/.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/3c113a45063dc6628e68a4111abcacad.cache.dill.track.dill --enable-experiment=alternative-invalidation-strategy
[ +9 ms] executing: /home/lenz/Android/Sdk/build-tools/30.0.2/aapt dump xmltree /home/lenz/development/myapps/practice/ads_bug/bug/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[ +8 ms] Exit code 0 from: /home/lenz/Android/Sdk/build-tools/30.0.2/aapt dump xmltree /home/lenz/development/myapps/practice/ads_bug/bug/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)0x1e
A: android:compileSdkVersionCodename(0x01010573)="11" (Raw: "11")
A: package="com.example.bug" (Raw: "com.example.bug")
A: platformBuildVersionCode=(type 0x10)0x1e
A: platformBuildVersionName=(type 0x10)0xb
E: uses-sdk (line=7)
A: android:minSdkVersion(0x0101020c)=(type 0x10)0x13
A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1e
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: queries (line=16)
E: intent (line=19)
E: action (line=20)
A: android:name(0x01010003)="android.intent.action.VIEW" (Raw: "android.intent.action.VIEW")
E: category (line=22)
A: android:name(0x01010003)="android.intent.category.BROWSABLE" (Raw: "android.intent.category.BROWSABLE")
E: data (line=24)
A: android:scheme(0x01010027)="https" (Raw: "https")
E: intent (line=28)
E: action (line=29)
A: android:name(0x01010003)="android.support.customtabs.action.CustomTabsService" (Raw: "android.support.customtabs.action.CustomTabsService")
E: uses-permission (line=34)
A: android:name(0x01010003)="android.permission.WAKE_LOCK" (Raw: "android.permission.WAKE_LOCK")
E: uses-permission (line=35)
A: android:name(0x01010003)="android.permission.RECEIVE_BOOT_COMPLETED" (Raw: "android.permission.RECEIVE_BOOT_COMPLETED")
E: application (line=37)
A: android:label(0x01010001)="bug" (Raw: "bug")
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=42)
A: android:theme(0x01010000)=@0x7f0b0000
A: android:name(0x01010003)="com.example.bug.MainActivity" (Raw: "com.example.bug.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=56)
A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
A: android:resource(0x01010025)=@0x7f0b0001
E: meta-data (line=66)
A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
A: android:resource(0x01010025)=@0x7f050000
E: intent-filter (line=70)
E: action (line=71)
A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
E: category (line=73)
A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
E: meta-data (line=80)
A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
A: android:value(0x01010024)=(type 0x10)0x2
E: meta-data (line=85)
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~3347511713" (Raw: "ca-app-pub-3940256099942544~3347511713")
E: meta-data (line=88)
A: android:name(0x01010003)="io.flutter.embedded_views_preview" (Raw: "io.flutter.embedded_views_preview")
A: android:value(0x01010024)=(type 0x12)0xffffffff
E: activity (line=91)
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=97)
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.example.bug.mobileadsinitprovider" (Raw: "com.example.bug.mobileadsinitprovider")
A: android:initOrder(0x0101001a)=(type 0x10)0x64
E: service (line=103)
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: meta-data (line=108)
A: android:name(0x01010003)="com.google.android.gms.version" (Raw: "com.google.android.gms.version")
A: android:value(0x01010024)=@0x7f070000
E: provider (line=112)
A: android:name(0x01010003)="androidx.work.impl.WorkManagerInitializer" (Raw: "androidx.work.impl.WorkManagerInitializer")
A: android:exported(0x01010010)=(type 0x12)0x0
A: android:multiprocess(0x01010013)=(type 0x12)0xffffffff
A: android:authorities(0x01010018)="com.example.bug.workmanager-init" (Raw: "com.example.bug.workmanager-init")
A: android:directBootAware(0x01010505)=(type 0x12)0x0
E: service (line=119)
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=124)
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)=@0x7f020001
A: android:exported(0x01010010)=(type 0x12)0xffffffff
A: android:directBootAware(0x01010505)=(type 0x12)0x0
E: receiver (line=131)
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=136)
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=141)
E: action (line=142)
A: android:name(0x01010003)="android.intent.action.ACTION_POWER_CONNECTED" (Raw: "android.intent.action.ACTION_POWER_CONNECTED")
E: action (line=143)
A: android:name(0x01010003)="android.intent.action.ACTION_POWER_DISCONNECTED" (Raw: "android.intent.action.ACTION_POWER_DISCONNECTED")
E: receiver (line=146)
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=151)
E: action (line=152)
A: android:name(0x01010003)="android.intent.action.BATTERY_OKAY" (Raw: "android.intent.action.BATTERY_OKAY")
E: action (line=153)
A: android:name(0x01010003)="android.intent.action.BATTERY_LOW" (Raw: "android.intent.action.BATTERY_LOW")
E: receiver (line=156)
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=161)
E: action (line=162)
A: android:name(0x01010003)="android.intent.action.DEVICE_STORAGE_LOW" (Raw: "android.intent.action.DEVICE_STORAGE_LOW")
E: action (line=163)
A: android:name(0x01010003)="android.intent.action.DEVICE_STORAGE_OK" (Raw: "android.intent.action.DEVICE_STORAGE_OK")
E: receiver (line=166)
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=171)
E: action (line=172)
A: android:name(0x01010003)="android.net.conn.CONNECTIVITY_CHANGE" (Raw: "android.net.conn.CONNECTIVITY_CHANGE")
E: receiver (line=175)
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=180)
E: action (line=181)
A: android:name(0x01010003)="android.intent.action.BOOT_COMPLETED" (Raw: "android.intent.action.BOOT_COMPLETED")
E: action (line=182)
A: android:name(0x01010003)="android.intent.action.TIME_SET" (Raw: "android.intent.action.TIME_SET")
E: action (line=183)
A: android:name(0x01010003)="android.intent.action.TIMEZONE_CHANGED" (Raw: "android.intent.action.TIMEZONE_CHANGED")
E: receiver (line=186)
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=191)
E: action (line=192)
A: android:name(0x01010003)="androidx.work.impl.background.systemalarm.UpdateProxies" (Raw: "androidx.work.impl.background.systemalarm.UpdateProxies")
E: service (line=196)
A: android:name(0x01010003)="androidx.room.MultiInstanceInvalidationService" (Raw: "androidx.room.MultiInstanceInvalidationService")
A: android:exported(0x01010010)=(type 0x12)0x0
[ +11 ms] executing: /home/lenz/Android/Sdk/platform-tools/adb -s emulator-5556 shell -x logcat -v time -t 1
[ +17 ms] <- compile package:bug/main.dart
[ +33 ms] --------- beginning of main
05-07 14:57:32.792 W/Binder:209_3( 209): type=1400 audit(0.0:972): avc: denied { read } for name="wakeup35" dev="sysfs" ino=19078 scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=0
[ +14 ms] executing: /home/lenz/Android/Sdk/platform-tools/adb version
[ +8 ms] Android Debug Bridge version 1.0.41
Version 30.0.4-6686687
Installed as /home/lenz/Android/Sdk/platform-tools/adb
[ +2 ms] executing: /home/lenz/Android/Sdk/platform-tools/adb start-server
[ +15 ms] Building APK
[ +21 ms] Running Gradle task 'assembleDebug'...
[ +4 ms] Using gradle from /home/lenz/development/myapps/practice/ads_bug/bug/android/gradlew.
[ +22 ms] executing: /home/lenz/development/lib/android-studio/jre/bin/java -version
[ +64 ms] Exit code 0 from: /home/lenz/development/lib/android-studio/jre/bin/java -version
[ ] openjdk version "1.8.0_242-release"
OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
OpenJDK 64-Bit Server VM (build 25.242-b3-6222593, mixed mode)
[ +3 ms] executing: [/home/lenz/development/myapps/practice/ads_bug/bug/android/] /home/lenz/development/myapps/practice/ads_bug/bug/android/gradlew -Pverbose=true -Ptarget-platform=android-x64 -Ptarget=/home/lenz/development/myapps/practice/ads_bug/bug/lib/main.dart -Pdart-defines=RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ== -Pdart-obfuscation=false -Ptrack-widget-creation=true -Ptree-shake-icons=false -Pfilesystem-scheme=org-dartlang-root assembleDebug
[+2889 ms] > Task :app:compileFlutterBuildDebug
[ +6 ms] [ +72 ms] executing: uname -m
[ ] [ +33 ms] Exit code 0 from: uname -m
[ ] [ ] x86_64
[ ] [ +6 ms] executing: [/home/lenz/development/lib/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ ] [ +5 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[ ] [ ] d72bfb8d073c6cf943a6637290dd3f8cdad11831
[ ] [ ] executing: [/home/lenz/development/lib/flutter/] git tag --points-at d72bfb8d073c6cf943a6637290dd3f8cdad11831
[ ] [ +14 ms] Exit code 0 from: git tag --points-at d72bfb8d073c6cf943a6637290dd3f8cdad11831
[ ] [ ] 2.3.0-0.1.pre
[ ] [ +6 ms] executing: [/home/lenz/development/lib/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[ ] [ +4 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ ] [ ] origin/dev
[ ] [ ] executing: [/home/lenz/development/lib/flutter/] git ls-remote --get-url origin
[ ] [ +4 ms] Exit code 0 from: git ls-remote --get-url origin
[ ] [ ] https://github.com/flutter/flutter.git
[ ] [ +70 ms] executing: [/home/lenz/development/lib/flutter/] git rev-parse --abbrev-ref HEAD
[ ] [ +5 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ ] [ ] dev
[ ] [ +59 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.
[ ] [ +2 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.
[ ] [ +88 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[ ] [ +1 ms] 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.
[ ] [ ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[ ] [ ] 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.
[ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ +1 ms] [ ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[ ] [ ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[ ] [ +33 ms] Initializing file store
[ ] [ +10 ms] Done initializing file store
[ ] [ +43 ms] Skipping target: gen_localizations
[ ] [ +430 ms] Skipping target: kernel_snapshot
[ +2 ms] [ +300 ms] debug_android_application: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents: /home/lenz/development/myapps/practice/ads_bug/bug/build/app/intermediates/flutter/debug/flutter_assets/kernel_blob.bin}
[ ] [ +242 ms] debug_android_application: Complete
[ ] [ +286 ms] Persisting file store
[ ] [ +8 ms] Done persisting file store
[ ] [ +7 ms] build succeeded.
[ ] [ +10 ms] "flutter assemble" took 1,484ms.
[ +154 ms] [ +172 ms] ensureAnalyticsSent: 167ms
[ ] [ +1 ms] Running shutdown hooks
[ ] [ ] Shutdown hooks complete
[ ] [ ] exiting with code 0
[ +99 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
[ ] > Task :google_mobile_ads:writeDebugAarMetadata UP-TO-DATE
[ +99 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
[ ] > Task :google_mobile_ads:mergeDebugShaders UP-TO-DATE
[ ] > Task :google_mobile_ads:compileDebugShaders NO-SOURCE
[ ] > Task :google_mobile_ads:generateDebugAssets UP-TO-DATE
[ ] > Task :google_mobile_ads:packageDebugAssets UP-TO-DATE
[ +3 ms] > Task :app:mergeDebugAssets
[ +194 ms] > Task :app:copyFlutterAssetsDebug
[ ] > 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
[ ] > Task :google_mobile_ads:parseDebugLocalResources UP-TO-DATE
[ +96 ms] > Task :google_mobile_ads:generateDebugRFile UP-TO-DATE
[ ] > 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: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
[ +96 ms] > Task :app:checkDebugDuplicateClasses UP-TO-DATE
[ ] > 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
[ ] > Task :app:mergeDebugNativeLibs UP-TO-DATE
[ +96 ms] > Task :app:stripDebugDebugSymbols UP-TO-DATE
[ ] > Task :app:validateSigningDebug UP-TO-DATE
[ ] > Task :google_mobile_ads:copyDebugJniLibsProjectAndLocalJars UP-TO-DATE
[ ] > Task :google_mobile_ads:extractDebugAnnotations UP-TO-DATE
[ ] > 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:compileDebugSources UP-TO-DATE
[ ] > Task :google_mobile_ads:assembleDebug UP-TO-DATE
[ +498 ms] > Task :app:compressDebugAssets
[+1499 ms] > Task :app:packageDebug
[ +200 ms] > Task :app:assembleDebug
[ +9 ms] 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 5s
[ ] 57 actionable tasks: 7 executed, 50 up-to-date
[ +333 ms] Running Gradle task 'assembleDebug'... (completed in 6.4s)
[ +162 ms] calculateSha: LocalDirectory: '/home/lenz/development/myapps/practice/ads_bug/bug/build/app/outputs/flutter-apk'/app.apk
[ +916 ms] ✓ Built build/app/outputs/flutter-apk/app-debug.apk.
[ +3 ms] executing: /home/lenz/Android/Sdk/build-tools/30.0.2/aapt dump xmltree /home/lenz/development/myapps/practice/ads_bug/bug/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[ +10 ms] Exit code 0 from: /home/lenz/Android/Sdk/build-tools/30.0.2/aapt dump xmltree /home/lenz/development/myapps/practice/ads_bug/bug/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)0x1e
A: android:compileSdkVersionCodename(0x01010573)="11" (Raw: "11")
A: package="com.example.bug" (Raw: "com.example.bug")
A: platformBuildVersionCode=(type 0x10)0x1e
A: platformBuildVersionName=(type 0x10)0xb
E: uses-sdk (line=7)
A: android:minSdkVersion(0x0101020c)=(type 0x10)0x13
A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1e
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: queries (line=16)
E: intent (line=19)
E: action (line=20)
A: android:name(0x01010003)="android.intent.action.VIEW" (Raw: "android.intent.action.VIEW")
E: category (line=22)
A: android:name(0x01010003)="android.intent.category.BROWSABLE" (Raw: "android.intent.category.BROWSABLE")
E: data (line=24)
A: android:scheme(0x01010027)="https" (Raw: "https")
E: intent (line=28)
E: action (line=29)
A: android:name(0x01010003)="android.support.customtabs.action.CustomTabsService" (Raw: "android.support.customtabs.action.CustomTabsService")
E: uses-permission (line=34)
A: android:name(0x01010003)="android.permission.WAKE_LOCK" (Raw: "android.permission.WAKE_LOCK")
E: uses-permission (line=35)
A: android:name(0x01010003)="android.permission.RECEIVE_BOOT_COMPLETED" (Raw: "android.permission.RECEIVE_BOOT_COMPLETED")
E: application (line=37)
A: android:label(0x01010001)="bug" (Raw: "bug")
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=42)
A: android:theme(0x01010000)=@0x7f0b0000
A: android:name(0x01010003)="com.example.bug.MainActivity" (Raw: "com.example.bug.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=56)
A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
A: android:resource(0x01010025)=@0x7f0b0001
E: meta-data (line=66)
A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
A: android:resource(0x01010025)=@0x7f050000
E: intent-filter (line=70)
E: action (line=71)
A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
E: category (line=73)
A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
E: meta-data (line=80)
A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
A: android:value(0x01010024)=(type 0x10)0x2
E: meta-data (line=85)
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~3347511713" (Raw: "ca-app-pub-3940256099942544~3347511713")
E: meta-data (line=88)
A: android:name(0x01010003)="io.flutter.embedded_views_preview" (Raw: "io.flutter.embedded_views_preview")
A: android:value(0x01010024)=(type 0x12)0xffffffff
E: activity (line=91)
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=97)
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.example.bug.mobileadsinitprovider" (Raw: "com.example.bug.mobileadsinitprovider")
A: android:initOrder(0x0101001a)=(type 0x10)0x64
E: service (line=103)
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: meta-data (line=108)
A: android:name(0x01010003)="com.google.android.gms.version" (Raw: "com.google.android.gms.version")
A: android:value(0x01010024)=@0x7f070000
E: provider (line=112)
A: android:name(0x01010003)="androidx.work.impl.WorkManagerInitializer" (Raw: "androidx.work.impl.WorkManagerInitializer")
A: android:exported(0x01010010)=(type 0x12)0x0
A: android:multiprocess(0x01010013)=(type 0x12)0xffffffff
A: android:authorities(0x01010018)="com.example.bug.workmanager-init" (Raw: "com.example.bug.workmanager-init")
A: android:directBootAware(0x01010505)=(type 0x12)0x0
E: service (line=119)
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=124)
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)=@0x7f020001
A: android:exported(0x01010010)=(type 0x12)0xffffffff
A: android:directBootAware(0x01010505)=(type 0x12)0x0
E: receiver (line=131)
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=136)
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=141)
E: action (line=142)
A: android:name(0x01010003)="android.intent.action.ACTION_POWER_CONNECTED" (Raw: "android.intent.action.ACTION_POWER_CONNECTED")
E: action (line=143)
A: android:name(0x01010003)="android.intent.action.ACTION_POWER_DISCONNECTED" (Raw: "android.intent.action.ACTION_POWER_DISCONNECTED")
E: receiver (line=146)
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=151)
E: action (line=152)
A: android:name(0x01010003)="android.intent.action.BATTERY_OKAY" (Raw: "android.intent.action.BATTERY_OKAY")
E: action (line=153)
A: android:name(0x01010003)="android.intent.action.BATTERY_LOW" (Raw: "android.intent.action.BATTERY_LOW")
E: receiver (line=156)
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=161)
E: action (line=162)
A: android:name(0x01010003)="android.intent.action.DEVICE_STORAGE_LOW" (Raw: "android.intent.action.DEVICE_STORAGE_LOW")
E: action (line=163)
A: android:name(0x01010003)="android.intent.action.DEVICE_STORAGE_OK" (Raw: "android.intent.action.DEVICE_STORAGE_OK")
E: receiver (line=166)
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=171)
E: action (line=172)
A: android:name(0x01010003)="android.net.conn.CONNECTIVITY_CHANGE" (Raw: "android.net.conn.CONNECTIVITY_CHANGE")
E: receiver (line=175)
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=180)
E: action (line=181)
A: android:name(0x01010003)="android.intent.action.BOOT_COMPLETED" (Raw: "android.intent.action.BOOT_COMPLETED")
E: action (line=182)
A: android:name(0x01010003)="android.intent.action.TIME_SET" (Raw: "android.intent.action.TIME_SET")
E: action (line=183)
A: android:name(0x01010003)="android.intent.action.TIMEZONE_CHANGED" (Raw: "android.intent.action.TIMEZONE_CHANGED")
E: receiver (line=186)
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=191)
E: action (line=192)
A: android:name(0x01010003)="androidx.work.impl.background.systemalarm.UpdateProxies" (Raw: "androidx.work.impl.background.systemalarm.UpdateProxies")
E: service (line=196)
A: android:name(0x01010003)="androidx.room.MultiInstanceInvalidationService" (Raw: "androidx.room.MultiInstanceInvalidationService")
A: android:exported(0x01010010)=(type 0x12)0x0
[ +4 ms] Stopping app 'app.apk' on sdk gphone x86 64.
[ ] executing: /home/lenz/Android/Sdk/platform-tools/adb -s emulator-5556 shell am force-stop com.example.bug
[ +48 ms] executing: /home/lenz/Android/Sdk/platform-tools/adb -s emulator-5556 shell pm list packages com.example.bug
[ +43 ms] package:com.example.bug
[ +2 ms] executing: /home/lenz/Android/Sdk/platform-tools/adb -s emulator-5556 shell cat /data/local/tmp/sky.com.example.bug.sha1
[ +51 ms] a3c1a339a2752c1732cb8fb64aa12ac7a008ca70
[ ] Installing APK.
[ +2 ms] Installing build/app/outputs/flutter-apk/app.apk...
[ ] executing: /home/lenz/Android/Sdk/platform-tools/adb -s emulator-5556 install -t -r /home/lenz/development/myapps/practice/ads_bug/bug/build/app/outputs/flutter-apk/app.apk
[+1060 ms] Performing Streamed Install
Success
[ +1 ms] Installing build/app/outputs/flutter-apk/app.apk... (completed in 1,061ms)
[ +1 ms] executing: /home/lenz/Android/Sdk/platform-tools/adb -s emulator-5556 shell echo -n d6fe3ca3175ef5c0196c02fcdea46e1b821a4444 > /data/local/tmp/sky.com.example.bug.sha1
[ +47 ms] executing: /home/lenz/Android/Sdk/platform-tools/adb -s emulator-5556 shell -x logcat -v time -t 1
[ +135 ms] --------- beginning of main
05-07 14:57:51.230 I/Finsky ( 3646): [512] qre.run(16): Wrote row to frosting DB: 2071
[ +19 ms] executing: /home/lenz/Android/Sdk/platform-tools/adb -s emulator-5556 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.example.bug/com.example.bug.MainActivity
[ +144 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.bug/.MainActivity (has extras) }
[ ] Waiting for observatory port to be available...
[+1829 ms] Observatory URL on device: http://127.0.0.1:42875/qoAEFfgBSag=/
[ +1 ms] executing: /home/lenz/Android/Sdk/platform-tools/adb -s emulator-5556 forward tcp:0 tcp:42875
[ +14 ms] 44209
[ ] Forwarded host port 44209 to device port 42875 for Observatory
[ +10 ms] Caching compiled dill
[ +92 ms] Connecting to service protocol: http://127.0.0.1:44209/qoAEFfgBSag=/
[ +424 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:44209/qoAEFfgBSag=/.
[ +245 ms] DDS is listening at http://127.0.0.1:33933/cQMWKN5WSfw=/.
[ +81 ms] Successfully connected to service protocol: http://127.0.0.1:44209/qoAEFfgBSag=/
[ +23 ms] DevFS: Creating new filesystem on the device (null)
[ +21 ms] I/WebViewFactory(14164): Loading com.google.android.webview version 83.0.4103.106 (code 410410686)
[ +3 ms] I/com.example.bu(14164): The ClassLoaderContext is a special shared library.
[ +2 ms] D/nativeloader(14164): classloader namespace configured for unbundled product apk. library_path=/product/app/WebViewGoogle/lib/x86_64:/product/app/WebViewGoogle/WebViewGoogle.apk!/lib/x86_64:/product/app/TrichromeLibrary/TrichromeLibrary.apk!/lib/x86_64:/product/lib64:/system/product/lib64
[ +24 ms] I/com.example.bu(14164): The ClassLoaderContext is a special shared library.
[ ] DevFS: Created new filesystem on the device (file:///data/user/0/com.example.bug/code_cache/bugMGDCFH/bug/)
[ +2 ms] Updating assets
[ +91 ms] Syncing files to device sdk gphone x86 64...
[ +2 ms] <- reset
[ ] Compiling dart to kernel with 0 updated files
[ +3 ms] <- recompile package:bug/main.dart c0de6d49-39ad-4eb9-8eec-ecee3f6cced5
[ ] <- c0de6d49-39ad-4eb9-8eec-ecee3f6cced5
[ ] D/nativeloader(14164): classloader namespace configured for unbundled product apk. library_path=/product/app/WebViewGoogle/lib/x86_64:/product/app/WebViewGoogle/WebViewGoogle.apk!/lib/x86_64:/product/app/TrichromeLibrary/TrichromeLibrary.apk!/lib/x86_64:/product/lib64:/system/product/lib64
[ ] I/cr_LibraryLoader(14164): Loaded native library version number "83.0.4103.106"
[ ] I/cr_CachingUmaRecorder(14164): Flushed 3 samples from 3 histograms.
[ +69 ms] W/com.example.bu(14164): Accessing hidden method Landroid/media/AudioManager;->getOutputLatency(I)I (greylist, reflection, allowed)
[ +2 ms] D/HostConnection(14164): HostConnection::get() New Host Connection established 0x7b494f26b910, tid 14274
[ +31 ms] D/HostConnection(14164): 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_async_unmap_buffer ANDROID_EMU_vulkan_ignored_handles ANDROID_EMU_vulkan_free_memory_sync ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_gles_max_version_2
[ ] E/chromium(14164): [ERROR:gl_surface_egl.cc(549)] eglChooseConfig failed with error EGL_SUCCESS
[ ] W/cr_media(14164): Requires BLUETOOTH permission
[ ] D/EGL_emulation(14164): eglCreateContext: 0x7b493f307240: maj 2 min 0 rcv 2
[ ] D/EGL_emulation(14164): eglMakeCurrent: 0x7b493f307240: ver 2 0 (tinfo 0x7b48df30a070) (first time)
[ +39 ms] E/chromium(14164): [ERROR:gl_surface_egl.cc(549)] eglChooseConfig failed with error EGL_SUCCESS
[ +34 ms] I/VideoCapabilities(14164): Unsupported profile 4 for video/mp4v-es
[ ] W/cr_MediaCodecUtil(14164): HW encoder for video/avc is not available on this device.
[ +1 ms] D/EGL_emulation(14164): eglCreateContext: 0x7b493f31c320: maj 2 min 0 rcv 2
[ +9 ms] Updating files.
[ ] DevFS: Sync finished
[ ] Syncing files to device sdk gphone x86 64... (completed in 198ms)
[ ] Synced 0.0MB.
[ +1 ms] <- accept
[ +22 ms] Connected to _flutterView/0x7b49df2705d0.
[ +3 ms] Flutter run key commands.
[ +2 ms] r Hot reload. 🔥🔥🔥
[ +1 ms] R Hot restart.
[ ] h Repeat this help message.
[ ] d Detach (terminate "flutter run" but leave application running).
[ +1 ms] c Clear the screen
[ +1 ms] q Quit (terminate the application on the device).
[ +1 ms] 💪 Running with sound null safety 💪
[ +3 ms] An Observatory debugger and profiler on sdk gphone x86 64 is available at: http://127.0.0.1:33933/cQMWKN5WSfw=/
[ +592 ms] The Flutter DevTools debugger and profiler on sdk gphone x86 64 is available at: http://127.0.0.1:9100?uri=http%3A%2F%2F127.0.0.1%3A33933%2FcQMWKN5WSfw%3D%2F
[+16309 ms] I/DynamiteModule(14164): Considering local module com.google.android.gms.ads.dynamite:0 and remote module com.google.android.gms.ads.dynamite:210890500
[ ] I/DynamiteModule(14164): Selected remote version of com.google.android.gms.ads.dynamite, version >= 210890500
[ ] V/DynamiteModule(14164): Dynamite loader version >= 2, using loadModule2NoCrashUtils
[ +16 ms] I/Ads (14164): This request is sent from a test device.
[ +45 ms] I/DynamiteModule(14164): Considering local module com.google.android.gms.ads.dynamite:0 and remote module com.google.android.gms.ads.dynamite:210890500
[ ] I/DynamiteModule(14164): Selected remote version of com.google.android.gms.ads.dynamite, version >= 210890500
[ +5 ms] W/Parcel (14164): **** enforceInterface() expected 'com.google.android.gms.ads.clearcut.IClearcut' but read 'com.google.android.gms.gass.internal.clearcut.IClearcut'
[ +15 ms] I/DynamiteModule(14164): Considering local module com.google.android.gms.ads.dynamite:0 and remote module com.google.android.gms.ads.dynamite:210890500
[ ] I/DynamiteModule(14164): Selected remote version of com.google.android.gms.ads.dynamite, version >= 210890500
[ +26 ms] I/DynamiteModule(14164): Considering local module com.google.android.gms.ads.dynamite:0 and remote module com.google.android.gms.ads.dynamite:210890500
[ ] I/DynamiteModule(14164): Selected remote version of com.google.android.gms.ads.dynamite, version >= 210890500
[ +16 ms] W/Parcel (14164): **** enforceInterface() expected 'com.google.android.gms.ads.clearcut.IClearcut' but read 'com.google.android.gms.gass.internal.clearcut.IClearcut'
[+1059 ms] I/Ads (14164): Ad failed to load : 3
flutter analyze
output:
No issues found!
flutter doctor -v
output:
[✓] Flutter (Channel dev, 2.3.0-0.1.pre, on Linux, locale en_GB.UTF-8)
• Flutter version 2.3.0-0.1.pre at /home/lenz/development/lib/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision d72bfb8d07 (11 days ago), 2021-04-26 06:05:55 -0700
• Engine revision de6e1adf97
• Dart version 2.14.0 (build 2.14.0-18.0.dev)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at /home/lenz/Android/Sdk
• Platform android-30, build-tools 30.0.2
• Java binary at: /home/lenz/development/lib/android-studio/jre/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
• All Android licenses accepted.
[✓] Chrome - develop for the web
• Chrome at google-chrome
[✓] Android Studio (version 4.1)
• Android Studio at /home/lenz/development/lib/android-studio
• Flutter plugin version 51.0.2
• Dart plugin version 201.9245
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
[✓] VS Code (version 1.55.2)
• VS Code at /usr/share/code
• Flutter extension version 3.22.0
[✓] Connected device (2 available)
• sdk gphone x86 64 (mobile) • emulator-5556 • android-x64 • Android 11 (API 30) (emulator)
• Chrome (web) • chrome • web-javascript • Google Chrome 90.0.4430.85
• No issues found!
Issue Analytics
- State:
- Created 2 years ago
- Reactions:28
- Comments:20
Top Results From Across the Web
Ad failed to load: LoadAdError(code: 3, domain: com.google ...
I was using the same ad Unit to test two days ago and it was working but not working today with the same...
Read more >LoadAdError Code 3 - Ads not showing since one week
Since one week the BannerAds in my Flutter Android App fail to load with error code 3. The test ads loading without any...
Read more >[Solved]-Test Rewarded ad not displaying - Ad failed to load ...
Coding example for the question Test Rewarded ad not displaying - Ad failed to load: LoadAdError(code: 3, domain: com.google.android.gms.ads, message: No ad ......
Read more >Problem showing Ads: Code 3, No ad config - Google Groups
The test ad units worked very well. I was able to get rewarded ads displaying successfully. So I feel that my implementation is...
Read more >Rewarded ads | Android - Google Developers
The easiest way to load test ads is to use our dedicated test ad unit ID for Android rewarded ads: ca-app-pub-3940256099942544/5224354917.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Same here.
LoadAdError(code: 3, domain: com.google.android.gms.ads, message: No ad config.)
I have the same issue since yesterday* with rewarded Ads (test ads). I suddenly get below errors when trying to create rewarded Ads:
*yesterday a tester told me the rewarded ad does not work. So it might be that they don’t work not just since yesterday.