Closed banderberg closed 2 years ago
Hi @banderberg, Thanks for filing the issue. I ran your sample code as per your reproducible steps in the readme. But I am not able to reproduce those logs. Btw is that affecting your app in anyway?
@maheshmnj Yes it causes a visible glitch when the screen without an ad is rendered. So you ran my demo app and you do not see the "getSlotFromBufferLocked" error? Are you running with gradle caching=false so it doesn't use your local gradle cache?
Are you running with gradle caching=false so it doesn't use your local gradle cache?
I directly ran your sample code you please share how can I run with this flag or what changes are required in the gradle files?
@maheshmnj If you ran my code then the gradle.properties file has caching turned off.
The only thing I see that's different in your flutter doctor output is that you're on MacOS.
I ran this on my S20+ and do not get the error so that's a plus. It seems to be an issue with the emulator. I've deleted all my emulators and re-created them, and I still get the error.
@banderberg I ran your sample project on windows with caching set to false, But I still couldn't reproduce it. I tried running on a physical device Redmi k20 pro (Android 11) and also on emulator pixel 4 api 30.
Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. If you find this problem please file a new issue with the same description, what happens, logs and the output of 'flutter doctor -v'. All system setups can be slightly different so it's always better to open new issues and reference the related ones. Thanks for your contribution.
Plugin Version
1.1.0
Steps to Reproduce
Download and run my demo app here: https://github.com/banderberg/buffer_error_demo
The demo app is just the generic Flutter app you get when you create a new app, with a banner ad and a second page for navigation (to cause the error) added.
Note that you must update AndroidManifest.xml with your own AdMob Ad ID.
Follow directions in the README.md file
This is kind of a big deal to me because (in my app with a more complex destination page) it causes a noticeable glitch on the screen when the second page loads.
Expected results: No getSlotFromBufferLocked
Actual results: getSlotFromBufferLocked error
Logs
``` [ +73 ms] executing: [C:\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H [ +576 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H [ +1 ms] db747aa1331bd95bc9b3874c842261ca2d302cd5 [ +1 ms] executing: [C:\flutter/] git tag --points-at db747aa1331bd95bc9b3874c842261ca2d302cd5 [ +58 ms] Exit code 0 from: git tag --points-at db747aa1331bd95bc9b3874c842261ca2d302cd5 [ ] 2.10.1 [ +10 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref --symbolic @{u} [ +47 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u} [ ] origin/stable [ ] executing: [C:\flutter/] git ls-remote --get-url origin [ +35 ms] Exit code 0 from: git ls-remote --get-url origin [ ] https://github.com/flutter/flutter.git [ +132 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref HEAD [ +49 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD [ ] stable [ +89 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update. [ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ +1 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ +7 ms] Artifact Instance of 'FlutterWebSdk' is not required, skipping update. [ +6 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. [ +73 ms] executing: C:\Users\bande\AppData\Local\Android\sdk\platform-tools\adb.exe devices -l [ +53 ms] List of devices attached emulator-5554 device product:sdk_gphone_x86_arm model:sdk_gphone_x86_arm device:generic_x86_arm transport_id:1 [ +8 ms] C:\Users\bande\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell getprop [ +46 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ +1 ms] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update. [ +13 ms] 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. [ +138 ms] Skipping pub get: version match. [ +23 ms] Found plugin google_mobile_ads at C:\flutter\.pub-cache\hosted\pub.dartlang.org\google_mobile_ads-1.1.0\ [ +60 ms] Found plugin google_mobile_ads at C:\flutter\.pub-cache\hosted\pub.dartlang.org\google_mobile_ads-1.1.0\ [ +28 ms] Generating C:\flutter-dev\buffer_error_demo\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java [ +66 ms] ro.hardware = ranchu [ +13 ms] Using hardware rendering with device sdk gphone x86 arm. If you notice graphics artifacts, consider enabling software rendering with "--enable-software-rendering". [ +30 ms] Initializing file store [ +28 ms] Skipping target: gen_localizations [ +6 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents: C:\flutter-dev\buffer_error_demo\.dart_tool\package_config_subset} [ +19 ms] Found plugin google_mobile_ads at C:\flutter\.pub-cache\hosted\pub.dartlang.org\google_mobile_ads-1.1.0\ [ +16 ms] gen_dart_plugin_registrant: Complete [ +2 ms] Skipping target: _composite [ +2 ms] complete [ +6 ms] Launching lib\main.dart on sdk gphone x86 arm in debug mode... [ +6 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\bande\AppData\Local\Temp\flutter_tools.44cbb740\flutter_tool.8580315a\app.dill --packages C:\flutter-dev\buffer_error_demo\.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 [ +11 ms] executing: C:\Users\bande\AppData\Local\Android\sdk\build-tools\30.0.2\aapt dump xmltree C:\flutter-dev\buffer_error_demo\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml [ +13 ms] Exit code 0 from: C:\Users\bande\AppData\Local\Android\sdk\build-tools\30.0.2\aapt dump xmltree C:\flutter-dev\buffer_error_demo\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.example.buffer_error_demo" (Raw: "com.example.buffer_error_demo") 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)="android.permission.WAKE_LOCK" (Raw: "android.permission.WAKE_LOCK") E: uses-permission (line=17) A: android:name(0x01010003)="com.google.android.gms.permission.AD_ID" (Raw: "com.google.android.gms.permission.AD_ID") E: queries (line=18) E: intent (line=21) E: action (line=22) A: android:name(0x01010003)="android.intent.action.VIEW" (Raw: "android.intent.action.VIEW") E: category (line=24) A: android:name(0x01010003)="android.intent.category.BROWSABLE" (Raw: "android.intent.category.BROWSABLE") E: data (line=26) A: android:scheme(0x01010027)="https" (Raw: "https") E: intent (line=30) E: action (line=31) A: android:name(0x01010003)="android.support.customtabs.action.CustomTabsService" (Raw: "android.support.customtabs.action.CustomTabsService") 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: uses-permission (line=38) A: android:name(0x01010003)="com.google.android.finsky.permission.BIND_GET_INSTALL_REFERRER_SERVICE" (Raw: "com.google.android.finsky.permission.BIND_GET_INSTALL_REFERRER_SERVICE") E: application (line=40) A: android:label(0x01010001)="buffer_error_demo" (Raw: "buffer_error_demo") A: android:icon(0x01010002)=@0x7f090000 A: android:name(0x01010003)="android.app.Application" (Raw: "android.app.Application") A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory") E: meta-data (line=46) A: android:name(0x01010003)="com.google.android.gms.ads.APPLICATION_ID" (Raw: "com.google.android.gms.ads.APPLICATION_ID") A: android:value(0x01010024)="REDACTED" (Raw: "REDACTED") E: activity (line=50) A: android:theme(0x01010000)=@0x7f0b0000 A: android:name(0x01010003)="com.example.buffer_error_demo.MainActivity" (Raw: "com.example.buffer_error_demo.MainActivity") A: android:exported(0x01010010)=(type 0x12)0xffffffff 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=65) A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme") A: android:resource(0x01010025)=@0x7f0b0001 E: intent-filter (line=69) E: action (line=70) A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN") E: category (line=72) A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER") E: meta-data (line=79) A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding") A: android:value(0x01010024)=(type 0x10)0x2 E: meta-data (line=82) A: android:name(0x01010003)="io.flutter.embedded_views_preview" (Raw: "io.flutter.embedded_views_preview") A: android:value(0x01010024)=(type 0x12)0xffffffff E: uses-library (line=86) A: android:name(0x01010003)="androidx.window.extensions" (Raw: "androidx.window.extensions") A: android:required(0x0101028e)=(type 0x12)0x0 E: uses-library (line=89) A: android:name(0x01010003)="androidx.window.sidecar" (Raw: "androidx.window.sidecar") A: android:required(0x0101028e)=(type 0x12)0x0 E: service (line=93) A: android:name(0x01010003)="com.google.firebase.components.ComponentDiscoveryService" (Raw: "com.google.firebase.components.ComponentDiscoveryService") A: android:exported(0x01010010)=(type 0x12)0x0 A: android:directBootAware(0x01010505)=(type 0x12)0xffffffff E: meta-data (line=97) A: android:name(0x01010003)="com.google.firebase.components:com.google.firebase.analytics.connector.internal.AnalyticsConnectorRegistrar" (Raw: "com.google.firebase.components:com.google.firebase.analytics.connector.internal.AnalyticsConnectorRegistrar") A: android:value(0x01010024)="com.google.firebase.components.ComponentRegistrar" (Raw: "com.google.firebase.components.ComponentRegistrar") E: meta-data (line=100) A: android:name(0x01010003)="com.google.firebase.components:com.google.firebase.installations.FirebaseInstallationsRegistrar" (Raw: "com.google.firebase.components:com.google.firebase.installations.FirebaseInstallationsRegistrar") A: android:value(0x01010024)="com.google.firebase.components.ComponentRegistrar" (Raw: "com.google.firebase.components.ComponentRegistrar") E: provider (line=105) A: android:name(0x01010003)="com.google.firebase.provider.FirebaseInitProvider" (Raw: "com.google.firebase.provider.FirebaseInitProvider") A: android:exported(0x01010010)=(type 0x12)0x0 A: android:authorities(0x01010018)="com.example.buffer_error_demo.firebaseinitprovider" (Raw: "com.example.buffer_error_demo.firebaseinitprovider") A: android:initOrder(0x0101001a)=(type 0x10)0x64 A: android:directBootAware(0x01010505)=(type 0x12)0xffffffff E: provider (line=111) 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.example.buffer_error_demo.lifecycle-process" (Raw: "com.example.buffer_error_demo.lifecycle-process") E: activity (line=116) 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=122) 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.buffer_error_demo.mobileadsinitprovider" (Raw: "com.example.buffer_error_demo.mobileadsinitprovider") A: android:initOrder(0x0101001a)=(type 0x10)0x64 E: service (line=128) 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=133) A: android:name(0x01010003)="androidx.startup.InitializationProvider" (Raw: "androidx.startup.InitializationProvider") A: android:exported(0x01010010)=(type 0x12)0x0 A: android:authorities(0x01010018)="com.example.buffer_error_demo.androidx-startup" (Raw: "com.example.buffer_error_demo.androidx-startup") E: meta-data (line=137) A: android:name(0x01010003)="androidx.work.WorkManagerInitializer" (Raw: "androidx.work.WorkManagerInitializer") A: android:value(0x01010024)="androidx.startup" (Raw: "androidx.startup") E: service (line=142) 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=147) 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=153) 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=159) 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=164) 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=169) E: action (line=170) A: android:name(0x01010003)="android.intent.action.ACTION_POWER_CONNECTED" (Raw: "android.intent.action.ACTION_POWER_CONNECTED") E: action (line=171) A: android:name(0x01010003)="android.intent.action.ACTION_POWER_DISCONNECTED" (Raw: "android.intent.action.ACTION_POWER_DISCONNECTED") E: receiver (line=174) 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=179) E: action (line=180) A: android:name(0x01010003)="android.intent.action.BATTERY_OKAY" (Raw: "android.intent.action.BATTERY_OKAY") E: action (line=181) A: android:name(0x01010003)="android.intent.action.BATTERY_LOW" (Raw: "android.intent.action.BATTERY_LOW") E: receiver (line=184) 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=189) E: action (line=190) A: android:name(0x01010003)="android.intent.action.DEVICE_STORAGE_LOW" (Raw: "android.intent.action.DEVICE_STORAGE_LOW") E: action (line=191) A: android:name(0x01010003)="android.intent.action.DEVICE_STORAGE_OK" (Raw: "android.intent.action.DEVICE_STORAGE_OK") E: receiver (line=194) 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=199) E: action (line=200) A: android:name(0x01010003)="android.net.conn.CONNECTIVITY_CHANGE" (Raw: "android.net.conn.CONNECTIVITY_CHANGE") E: receiver (line=203) 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=208) E: action (line=209) A: android:name(0x01010003)="android.intent.action.BOOT_COMPLETED" (Raw: "android.intent.action.BOOT_COMPLETED") E: action (line=210) A: android:name(0x01010003)="android.intent.action.TIME_SET" (Raw: "android.intent.action.TIME_SET") E: action (line=211) A: android:name(0x01010003)="android.intent.action.TIMEZONE_CHANGED" (Raw: "android.intent.action.TIMEZONE_CHANGED") E: receiver (line=214) 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=219) E: action (line=220) A: android:name(0x01010003)="androidx.work.impl.background.systemalarm.UpdateProxies" (Raw: "androidx.work.impl.background.systemalarm.UpdateProxies") E: receiver (line=223) 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=229) E: action (line=230) A: android:name(0x01010003)="androidx.work.diagnostics.REQUEST_DIAGNOSTICS" (Raw: "androidx.work.diagnostics.REQUEST_DIAGNOSTICS") E: receiver (line=233) A: android:name(0x01010003)="com.google.android.gms.measurement.AppMeasurementReceiver" (Raw: "com.google.android.gms.measurement.AppMeasurementReceiver") A: android:enabled(0x0101000e)=(type 0x12)0xffffffff A: android:exported(0x01010010)=(type 0x12)0x0 E: service (line=239) A: android:name(0x01010003)="com.google.android.gms.measurement.AppMeasurementService" (Raw: "com.google.android.gms.measurement.AppMeasurementService") A: android:enabled(0x0101000e)=(type 0x12)0xffffffff A: android:exported(0x01010010)=(type 0x12)0x0 E: service (line=243) A: android:name(0x01010003)="com.google.android.gms.measurement.AppMeasurementJobService" (Raw: "com.google.android.gms.measurement.AppMeasurementJobService") A: android:permission(0x01010006)="android.permission.BIND_JOB_SERVICE" (Raw: "android.permission.BIND_JOB_SERVICE") A: android:enabled(0x0101000e)=(type 0x12)0xffffffff A: android:exported(0x01010010)=(type 0x12)0x0 E: meta-data (line=249) A: android:name(0x01010003)="com.google.android.gms.version" (Raw: "com.google.android.gms.version") A: android:value(0x01010024)=@0x7f070000 E: service (line=253) 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 [ +38 ms] executing: C:\Users\bande\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell -x logcat -v time -t 1 [ +21 ms] <- compile package:buffer_error_demo/main.dart [ +154 ms] --------- beginning of system 02-11 13:43:17.166 E/ClipboardService( 545): Denying clipboard access to com.google.android.gms, application is not in focus nor is it a system service for user 0 [ +14 ms] executing: C:\Users\bande\AppData\Local\Android\sdk\platform-tools\adb.exe version [ +68 ms] Android Debug Bridge version 1.0.41 Version 31.0.2-7242960 Installed as C:\Users\bande\AppData\Local\Android\sdk\platform-tools\adb.exe [ +2 ms] executing: C:\Users\bande\AppData\Local\Android\sdk\platform-tools\adb.exe start-server [ +36 ms] Building APK [ +28 ms] Running Gradle task 'assembleDebug'... [ +5 ms] Using gradle from C:\flutter-dev\buffer_error_demo\android\gradlew.bat. [ +25 ms] executing: C:\Program Files\Android\Android Studio\jre\bin\java -version [ +181 ms] Exit code 0 from: C:\Program Files\Android\Android Studio\jre\bin\java -version [ ] openjdk version "11.0.8" 2020-07-14 OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174) OpenJDK 64-Bit Server VM (build 11.0.8+10-b944.6842174, mixed mode) [ +3 ms] executing: [C:\flutter-dev\buffer_error_demo\android/] C:\flutter-dev\buffer_error_demo\android\gradlew.bat -Pverbose=true -Ptarget-platform=android-x86 -Ptarget=C:\flutter-dev\buffer_error_demo\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 [+4140 ms] > Task :app:compileFlutterBuildDebug [ ] [ +92 ms] executing: [C:\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H [ ] [ +583 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H [ ] [ ] db747aa1331bd95bc9b3874c842261ca2d302cd5 [ ] [ ] executing: [C:\flutter/] git tag --points-at db747aa1331bd95bc9b3874c842261ca2d302cd5 [ ] [ +59 ms] Exit code 0 from: git tag --points-at db747aa1331bd95bc9b3874c842261ca2d302cd5 [ ] [ ] 2.10.1 [ ] [ +10 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref --symbolic @{u} [ ] [ +39 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u} [ ] [ ] origin/stable [ ] [ ] executing: [C:\flutter/] git ls-remote --get-url origin [ ] [ +35 ms] Exit code 0 from: git ls-remote --get-url origin [ ] [ ] https://github.com/flutter/flutter.git [ ] [ +65 ms] executing: [C:\flutter/] git rev-parse --abbrev-ref HEAD [ ] [ +34 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD [ +1 ms] [ ] stable [ +1 ms] [ +71 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. [ +1 ms] [ ] 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. [ +1 ms] [ +128 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update. [ +1 ms] [ ] Artifact Instance of 'GradleWrapper' is not required, skipping update. [ ] [ +6 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update. [ +2 ms] [ ] 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. [ +1 ms] [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update. [ +1 ms] [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update. [ +1 ms] [ ] 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. [ ] [ ] 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. [ ] [ +137 ms] Initializing file store [ ] [ +34 ms] Skipping target: gen_localizations [ ] [ +19 ms] gen_dart_plugin_registrant: Starting due to {InvalidatedReasonKind.inputChanged: The following inputs have updated contents: C:\flutter-dev\buffer_error_demo\.dart_tool\package_config_subset} [ ] [ +34 ms] Found plugin google_mobile_ads at C:\flutter\.pub-cache\hosted\pub.dartlang.org\google_mobile_ads-1.1.0\ [ ] [ +27 ms] gen_dart_plugin_registrant: Complete [ +1 ms] [ +2 ms] kernel_snapshot: Starting due to {} [ ] [ +13 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/ --target=flutter --no-print-incremental-dependencies -DFLUTTER_WEB_AUTO_DETECT=true -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --no-link-platform --packages C:\flutter-dev\buffer_error_demo\.dart_tool\package_config.json --output-dill C:\flutter-dev\buffer_error_demo\.dart_tool\flutter_build\e64aa7e5a5efe8df4ec38f1498b03441\app.dill --depfile C:\flutter-dev\buffer_error_demo\.dart_tool\flutter_build\e64aa7e5a5efe8df4ec38f1498b03441\kernel_snapshot.d package:buffer_error_demo/main.dart [+9649 ms] [+9717 ms] kernel_snapshot: Complete [ +598 ms] [ +578 ms] debug_android_application: Starting due to {} [ +185 ms] [ +158 ms] debug_android_application: Complete [ +612 ms] [ +584 ms] Persisting file store [ +1 ms] [ +9 ms] Done persisting file store [ ] [ +6 ms] build succeeded. [ +1 ms] [ +13 ms] "flutter assemble" took 11,510ms. [ +91 ms] [ +96 ms] ensureAnalyticsSent: 92ms [ ] [ ] Running shutdown hooks [ ] [ ] Shutdown hooks complete [ ] [ ] exiting with code 0 [ +197 ms] > Task :app:packLibsflutterBuildDebug UP-TO-DATE [ +1 ms] > Task :app:preBuild UP-TO-DATE [ +1 ms] > 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 [ +1 ms] > Task :app:compileDebugRenderscript NO-SOURCE [ +1 ms] > Task :app:generateDebugBuildConfig UP-TO-DATE [ ] > Task :google_mobile_ads:writeDebugAarMetadata UP-TO-DATE [ +1 ms] > Task :app:checkDebugAarMetadata UP-TO-DATE [ +95 ms] > 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 [ ] > Task :app:mergeDebugAssets [ +296 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 [ +1 ms] > 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 [ +1 ms] > 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 [ ] > Task :google_mobile_ads:generateDebugRFile UP-TO-DATE [ +75 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 [ +107 ms] > 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 [ ] > Task :app:checkDebugDuplicateClasses UP-TO-DATE [ ] > Task :app:desugarDebugFileDependencies UP-TO-DATE [ +86 ms] > Task :app:dexBuilderDebug UP-TO-DATE [ +1 ms] > Task :app:multiDexListDebug UP-TO-DATE [ +91 ms] > 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 [ ] > Task :app:stripDebugDebugSymbols UP-TO-DATE [ ] > Task :app:validateSigningDebug UP-TO-DATE [ ] > Task :app:packageDebug UP-TO-DATE [ +196 ms] > Task :app:assembleDebug [ +1 ms] > Task :google_mobile_ads:copyDebugJniLibsProjectAndLocalJars UP-TO-DATE [ +96 ms] > 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: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 16s [ ] 58 actionable tasks: 5 executed, 53 up-to-date [ +532 ms] Running Gradle task 'assembleDebug'... (completed in 17.4s) [ +42 ms] calculateSha: LocalDirectory: 'C:\flutter-dev\buffer_error_demo\build\app\outputs\flutter-apk'/app.apk [ +680 ms] √ Built build\app\outputs\flutter-apk\app-debug.apk. [ +3 ms] executing: C:\Users\bande\AppData\Local\Android\sdk\build-tools\30.0.2\aapt dump xmltree C:\flutter-dev\buffer_error_demo\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml [ +22 ms] Exit code 0 from: C:\Users\bande\AppData\Local\Android\sdk\build-tools\30.0.2\aapt dump xmltree C:\flutter-dev\buffer_error_demo\build\app\outputs\flutter-apk\app.apk AndroidManifest.xml [ +1 ms] 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.example.buffer_error_demo" (Raw: "com.example.buffer_error_demo") 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)="android.permission.WAKE_LOCK" (Raw: "android.permission.WAKE_LOCK") E: uses-permission (line=17) A: android:name(0x01010003)="com.google.android.gms.permission.AD_ID" (Raw: "com.google.android.gms.permission.AD_ID") E: queries (line=18) E: intent (line=21) E: action (line=22) A: android:name(0x01010003)="android.intent.action.VIEW" (Raw: "android.intent.action.VIEW") E: category (line=24) A: android:name(0x01010003)="android.intent.category.BROWSABLE" (Raw: "android.intent.category.BROWSABLE") E: data (line=26) A: android:scheme(0x01010027)="https" (Raw: "https") E: intent (line=30) E: action (line=31) A: android:name(0x01010003)="android.support.customtabs.action.CustomTabsService" (Raw: "android.support.customtabs.action.CustomTabsService") 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: uses-permission (line=38) A: android:name(0x01010003)="com.google.android.finsky.permission.BIND_GET_INSTALL_REFERRER_SERVICE" (Raw: "com.google.android.finsky.permission.BIND_GET_INSTALL_REFERRER_SERVICE") E: application (line=40) A: android:label(0x01010001)="buffer_error_demo" (Raw: "buffer_error_demo") A: android:icon(0x01010002)=@0x7f090000 A: android:name(0x01010003)="android.app.Application" (Raw: "android.app.Application") A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory") E: meta-data (line=46) A: android:name(0x01010003)="com.google.android.gms.ads.APPLICATION_ID" (Raw: "com.google.android.gms.ads.APPLICATION_ID") A: android:value(0x01010024)="REDACTED" (Raw: "REDACTED") E: activity (line=50) A: android:theme(0x01010000)=@0x7f0b0000 A: android:name(0x01010003)="com.example.buffer_error_demo.MainActivity" (Raw: "com.example.buffer_error_demo.MainActivity") A: android:exported(0x01010010)=(type 0x12)0xffffffff 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=65) A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme") A: android:resource(0x01010025)=@0x7f0b0001 E: intent-filter (line=69) E: action (line=70) A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN") E: category (line=72) A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER") E: meta-data (line=79) A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding") A: android:value(0x01010024)=(type 0x10)0x2 E: meta-data (line=82) A: android:name(0x01010003)="io.flutter.embedded_views_preview" (Raw: "io.flutter.embedded_views_preview") A: android:value(0x01010024)=(type 0x12)0xffffffff E: uses-library (line=86) A: android:name(0x01010003)="androidx.window.extensions" (Raw: "androidx.window.extensions") A: android:required(0x0101028e)=(type 0x12)0x0 E: uses-library (line=89) A: android:name(0x01010003)="androidx.window.sidecar" (Raw: "androidx.window.sidecar") A: android:required(0x0101028e)=(type 0x12)0x0 E: service (line=93) A: android:name(0x01010003)="com.google.firebase.components.ComponentDiscoveryService" (Raw: "com.google.firebase.components.ComponentDiscoveryService") A: android:exported(0x01010010)=(type 0x12)0x0 A: android:directBootAware(0x01010505)=(type 0x12)0xffffffff E: meta-data (line=97) A: android:name(0x01010003)="com.google.firebase.components:com.google.firebase.analytics.connector.internal.AnalyticsConnectorRegistrar" (Raw: "com.google.firebase.components:com.google.firebase.analytics.connector.internal.AnalyticsConnectorRegistrar") A: android:value(0x01010024)="com.google.firebase.components.ComponentRegistrar" (Raw: "com.google.firebase.components.ComponentRegistrar") E: meta-data (line=100) A: android:name(0x01010003)="com.google.firebase.components:com.google.firebase.installations.FirebaseInstallationsRegistrar" (Raw: "com.google.firebase.components:com.google.firebase.installations.FirebaseInstallationsRegistrar") A: android:value(0x01010024)="com.google.firebase.components.ComponentRegistrar" (Raw: "com.google.firebase.components.ComponentRegistrar") E: provider (line=105) A: android:name(0x01010003)="com.google.firebase.provider.FirebaseInitProvider" (Raw: "com.google.firebase.provider.FirebaseInitProvider") A: android:exported(0x01010010)=(type 0x12)0x0 A: android:authorities(0x01010018)="com.example.buffer_error_demo.firebaseinitprovider" (Raw: "com.example.buffer_error_demo.firebaseinitprovider") A: android:initOrder(0x0101001a)=(type 0x10)0x64 A: android:directBootAware(0x01010505)=(type 0x12)0xffffffff E: provider (line=111) 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.example.buffer_error_demo.lifecycle-process" (Raw: "com.example.buffer_error_demo.lifecycle-process") E: activity (line=116) 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=122) 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.buffer_error_demo.mobileadsinitprovider" (Raw: "com.example.buffer_error_demo.mobileadsinitprovider") A: android:initOrder(0x0101001a)=(type 0x10)0x64 E: service (line=128) 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=133) A: android:name(0x01010003)="androidx.startup.InitializationProvider" (Raw: "androidx.startup.InitializationProvider") A: android:exported(0x01010010)=(type 0x12)0x0 A: android:authorities(0x01010018)="com.example.buffer_error_demo.androidx-startup" (Raw: "com.example.buffer_error_demo.androidx-startup") E: meta-data (line=137) A: android:name(0x01010003)="androidx.work.WorkManagerInitializer" (Raw: "androidx.work.WorkManagerInitializer") A: android:value(0x01010024)="androidx.startup" (Raw: "androidx.startup") E: service (line=142) 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=147) 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=153) 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=159) 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=164) 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=169) E: action (line=170) A: android:name(0x01010003)="android.intent.action.ACTION_POWER_CONNECTED" (Raw: "android.intent.action.ACTION_POWER_CONNECTED") E: action (line=171) A: android:name(0x01010003)="android.intent.action.ACTION_POWER_DISCONNECTED" (Raw: "android.intent.action.ACTION_POWER_DISCONNECTED") E: receiver (line=174) 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=179) E: action (line=180) A: android:name(0x01010003)="android.intent.action.BATTERY_OKAY" (Raw: "android.intent.action.BATTERY_OKAY") E: action (line=181) A: android:name(0x01010003)="android.intent.action.BATTERY_LOW" (Raw: "android.intent.action.BATTERY_LOW") E: receiver (line=184) 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=189) E: action (line=190) A: android:name(0x01010003)="android.intent.action.DEVICE_STORAGE_LOW" (Raw: "android.intent.action.DEVICE_STORAGE_LOW") E: action (line=191) A: android:name(0x01010003)="android.intent.action.DEVICE_STORAGE_OK" (Raw: "android.intent.action.DEVICE_STORAGE_OK") E: receiver (line=194) 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=199) E: action (line=200) A: android:name(0x01010003)="android.net.conn.CONNECTIVITY_CHANGE" (Raw: "android.net.conn.CONNECTIVITY_CHANGE") E: receiver (line=203) 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=208) E: action (line=209) A: android:name(0x01010003)="android.intent.action.BOOT_COMPLETED" (Raw: "android.intent.action.BOOT_COMPLETED") E: action (line=210) A: android:name(0x01010003)="android.intent.action.TIME_SET" (Raw: "android.intent.action.TIME_SET") E: action (line=211) A: android:name(0x01010003)="android.intent.action.TIMEZONE_CHANGED" (Raw: "android.intent.action.TIMEZONE_CHANGED") E: receiver (line=214) 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=219) E: action (line=220) A: android:name(0x01010003)="androidx.work.impl.background.systemalarm.UpdateProxies" (Raw: "androidx.work.impl.background.systemalarm.UpdateProxies") E: receiver (line=223) 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=229) E: action (line=230) A: android:name(0x01010003)="androidx.work.diagnostics.REQUEST_DIAGNOSTICS" (Raw: "androidx.work.diagnostics.REQUEST_DIAGNOSTICS") E: receiver (line=233) A: android:name(0x01010003)="com.google.android.gms.measurement.AppMeasurementReceiver" (Raw: "com.google.android.gms.measurement.AppMeasurementReceiver") A: android:enabled(0x0101000e)=(type 0x12)0xffffffff A: android:exported(0x01010010)=(type 0x12)0x0 E: service (line=239) A: android:name(0x01010003)="com.google.android.gms.measurement.AppMeasurementService" (Raw: "com.google.android.gms.measurement.AppMeasurementService") A: android:enabled(0x0101000e)=(type 0x12)0xffffffff A: android:exported(0x01010010)=(type 0x12)0x0 E: service (line=243) A: android:name(0x01010003)="com.google.android.gms.measurement.AppMeasurementJobService" (Raw: "com.google.android.gms.measurement.AppMeasurementJobService") A: android:permission(0x01010006)="android.permission.BIND_JOB_SERVICE" (Raw: "android.permission.BIND_JOB_SERVICE") A: android:enabled(0x0101000e)=(type 0x12)0xffffffff A: android:exported(0x01010010)=(type 0x12)0x0 E: meta-data (line=249) A: android:name(0x01010003)="com.google.android.gms.version" (Raw: "com.google.android.gms.version") A: android:value(0x01010024)=@0x7f070000 E: service (line=253) 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 [ +39 ms] Stopping app 'app.apk' on sdk gphone x86 arm. [ ] executing: C:\Users\bande\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell am force-stop com.example.buffer_error_demo [ +63 ms] executing: C:\Users\bande\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell pm list packages com.example.buffer_error_demo [ +50 ms] package:com.example.buffer_error_demo [ +2 ms] executing: C:\Users\bande\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell cat /data/local/tmp/sky.com.example.buffer_error_demo.sha1 [ +33 ms] 0a9b7740e9cbd23db2b6ccf13337d7efc141f035 [ +1 ms] Installing APK. [ +2 ms] Installing build\app\outputs\flutter-apk\app.apk... [ +1 ms] executing: C:\Users\bande\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 install -t -r C:\flutter-dev\buffer_error_demo\build\app\outputs\flutter-apk\app.apk [+1029 ms] Performing Streamed Install Success [ +2 ms] Installing build\app\outputs\flutter-apk\app.apk... (completed in 1,030ms) [ +3 ms] executing: C:\Users\bande\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell echo -n 55b2bfff55c7bfe9d75cec1477da9bc801d535e3 > /data/local/tmp/sky.com.example.buffer_error_demo.sha1 [ +69 ms] executing: C:\Users\bande\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell -x logcat -v time -t 1 [ +113 ms] --------- beginning of main 02-11 13:43:45.964 D/Zygote ( 313): Forked child process 13317 [ +12 ms] executing: C:\Users\bande\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-dart-profiling true --ez enable-checked-mode true --ez verify-entry-points true com.example.buffer_error_demo/com.example.buffer_error_demo.MainActivity [ +209 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.buffer_error_demo/.MainActivity (has extras) } [ +1 ms] Waiting for observatory port to be available... [+3943 ms] Observatory URL on device: http://127.0.0.1:45377/6TMAEfByjcs=/ [ +1 ms] executing: C:\Users\bande\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 forward tcp:0 tcp:45377 [ +29 ms] 51248 [ ] Forwarded host port 51248 to device port 45377 for Observatory [ +10 ms] Caching compiled dill [ +41 ms] Connecting to service protocol: http://127.0.0.1:51248/6TMAEfByjcs=/ [ +702 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:51248/6TMAEfByjcs=/. [ +293 ms] DDS is listening at http://127.0.0.1:51253/awXT6XAPOLE=/. [ +101 ms] Successfully connected to service protocol: http://127.0.0.1:51248/6TMAEfByjcs=/ [ +269 ms] DevFS: Creating new filesystem on the device (null) [ +108 ms] I/WebViewFactory(13397): Loading com.google.android.webview version 83.0.4103.106 (code 410410681) [ +23 ms] I/ffer_error_dem(13397): The ClassLoaderContext is a special shared library. [ +6 ms] DevFS: Created new filesystem on the device (file:///data/user/0/com.example.buffer_error_demo/code_cache/buffer_error_demoCMOCHF/buffer_error_demo/) [ +6 ms] Updating assets [ +210 ms] Syncing files to device sdk gphone x86 arm... [ +4 ms] <- reset [ ] Compiling dart to kernel with 0 updated files [ +1 ms] Processing bundle. [ +2 ms] <- recompile package:buffer_error_demo/main.dart f93e0180-7b3a-445c-b918-352944c6ceb3 [ +1 ms] <- f93e0180-7b3a-445c-b918-352944c6ceb3 [ +4 ms] Bundle processing done. [ +1 ms] D/nativeloader(13397): classloader namespace configured for unbundled product apk. library_path=/product/app/WebViewGoogle/lib/x86:/product/app/WebViewGoogle/WebViewGoogle.apk!/lib/x86:/product/app/TrichromeLibrary/TrichromeLibrary.apk!/lib/x86:/product/lib:/system/product/lib [ +1 ms] I/ffer_error_dem(13397): The ClassLoaderContext is a special shared library. [ +1 ms] D/nativeloader(13397): classloader namespace configured for unbundled product apk. library_path=/product/app/WebViewGoogle/lib/x86:/product/app/WebViewGoogle/WebViewGoogle.apk!/lib/x86:/product/app/TrichromeLibrary/TrichromeLibrary.apk!/lib/x86:/product/lib:/system/product/lib [ +49 ms] I/cr_LibraryLoader(13397): Loaded native library version number "83.0.4103.106" [ +1 ms] I/cr_CachingUmaRecorder(13397): Flushed 3 samples from 3 histograms. [ +218 ms] Updating files. [ +1 ms] DevFS: Sync finished [ +1 ms] Syncing files to device sdk gphone x86 arm... (completed in 292ms) [ +2 ms] Synced 0.0MB. [ +11 ms] <- accept [ +20 ms] Connected to _flutterView/0xea68b000. [ +10 ms] Flutter run key commands. [ +3 ms] r Hot reload. [ +3 ms] R Hot restart. [ +2 ms] h List all available interactive commands. [ +1 ms] d Detach (terminate "flutter run" but leave application running). [ +2 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 arm is available at: http://127.0.0.1:51253/awXT6XAPOLE=/ [ +209 ms] W/ffer_error_dem(13397): Accessing hidden method Landroid/media/AudioManager;->getOutputLatency(I)I (greylist, reflection, allowed) [ +18 ms] W/cr_media(13397): Requires BLUETOOTH permission [ +13 ms] D/HostConnection(13397): HostConnection::get() New Host Connection established 0xf094b840, tid 13523 [ +12 ms] D/HostConnection(13397): 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_gles_max_version_2 [ +6 ms] E/chromium(13397): [ERROR:gl_surface_egl.cc(549)] eglChooseConfig failed with error EGL_SUCCESS [ +13 ms] I/Choreographer(13397): Skipped 78 frames! The application may be doing too much work on its main thread. [ +100 ms] D/EGL_emulation(13397): eglCreateContext: 0xf09527d0: maj 2 min 0 rcv 2 [ +1 ms] D/EGL_emulation(13397): eglMakeCurrent: 0xf09527d0: ver 2 0 (tinfo 0xbcb6a910) (first time) [ +61 ms] E/chromium(13397): [ERROR:gl_surface_egl.cc(549)] eglChooseConfig failed with error EGL_SUCCESS [ +121 ms] I/VideoCapabilities(13397): Unsupported profile 4 for video/mp4v-es [ +6 ms] W/cr_MediaCodecUtil(13397): HW encoder for video/avc is not available on this device. [ +7 ms] D/EGL_emulation(13397): eglCreateContext: 0xf0967060: maj 2 min 0 rcv 2 [+2424 ms] The Flutter DevTools debugger and profiler on sdk gphone x86 arm is available at: http://127.0.0.1:9102?uri=http://127.0.0.1:51253/awXT6XAPOLE=/ [ +59 ms] I/Ads (13397): This request is sent from a test device. [ +147 ms] I/DynamiteModule(13397): Considering local module com.google.android.gms.ads.dynamite:0 and remote module com.google.android.gms.ads.dynamite:21400 [ +1 ms] I/DynamiteModule(13397): Selected remote version of com.google.android.gms.ads.dynamite, version >= 21400 [ +1 ms] V/DynamiteModule(13397): Dynamite loader version >= 2, using loadModule2NoCrashUtils [ +3 ms] D/GASS (13397): Cannot dynamite load clearcut [ +29 ms] D/zznd (13397): File /data/user/0/com.example.buffer_error_demo/cache/1624498498047.dex not found. No need for deletion [ +21 ms] I/DynamiteModule(13397): Considering local module com.google.android.gms.ads.dynamite:0 and remote module com.google.android.gms.ads.dynamite:21400 [ +1 ms] I/DynamiteModule(13397): Selected remote version of com.google.android.gms.ads.dynamite, version >= 21400 [ +1 ms] V/DynamiteModule(13397): Dynamite loader version >= 2, using loadModule2NoCrashUtils [ +463 ms] D/EGL_emulation(13397): eglMakeCurrent: 0xf0960530: ver 2 0 (tinfo 0xf0cbc490) (first time) [ +23 ms] W/Gralloc4(13397): allocator 3.x is not supported [ +204 ms] I/ffer_error_dem(13397): NativeAlloc concurrent copying GC freed 58573(4769KB) AllocSpace objects, 17(464KB) LOS objects, 49% free, 3920KB/7841KB, paused 812us total 217.302ms [ +207 ms] W/Ads (13397): Not retrying to fetch app settings [ +550 ms] E/chromium(13397): [ERROR:cookie_manager.cc(137)] Strict Secure Cookie policy does not allow setting a secure cookie for http://googleads.g.doubleclick.net/ for apps targeting >= R. Please either use the 'https:' scheme for this URL or omit the 'Secure' directive in the cookie value. [ +605 ms] I/flutter (13397): Ad loaded: ca-app-pub-3940256099942544/6300978111 [+4378 ms] E/Surface (13397): getSlotFromBufferLocked: unknown buffer: 0xf058bc10 ``` ``` [√] Flutter (Channel stable, 2.10.1, on Microsoft Windows [Version 10.0.22000.493], locale en-US) • Flutter version 2.10.1 at C:\flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision db747aa133 (2 days ago), 2022-02-09 13:57:35 -0600 • Engine revision ab46186b24 • Dart version 2.16.1 • DevTools version 2.9.2 [√] Android toolchain - develop for Android devices (Android SDK version 30.0.2) • Android SDK at C:\Users\bande\AppData\Local\Android\sdk • Platform android-31, build-tools 30.0.2 • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6842174) • All Android licenses accepted. [√] Chrome - develop for the web • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe [!] Visual Studio - develop for Windows (Visual Studio Professional 2022 17.0.0 Preview 4.0) • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Preview • Visual Studio Professional 2022 version 17.0.31710.8 • The current Visual Studio installation is a pre-release version. It may not be supported by Flutter yet. X Visual Studio is missing necessary components. Please re-run the Visual Studio installer for the "Desktop development with C++" workload, and include these components: MSVC v142 - VS 2019 C++ x64/x86 build tools - If there are multiple build tool versions available, install the latest C++ CMake tools for Windows Windows 10 SDK [√] Android Studio (version 4.2) • 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.8+10-b944.6842174) [√] VS Code (version 1.64.0) • VS Code at C:\Users\bande\AppData\Local\Programs\Microsoft VS Code • Flutter extension version 3.34.0 [√] Connected device (4 available) • sdk gphone x86 arm (mobile) • emulator-5554 • android-x86 • Android 11 (API 30) (emulator) • Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.22000.493] • Chrome (web) • chrome • web-javascript • Google Chrome 98.0.4758.82 • Edge (web) • edge • web-javascript • Microsoft Edge 98.0.1108.43 [√] HTTP Host Availability • All required HTTP hosts are available ```