googleads / googleads-mobile-flutter

A Flutter plugin for the Google Mobile Ads SDK
Apache License 2.0
343 stars 285 forks source link

getSlotFromBufferLocked error on navigation from a page with an ad #513

Closed banderberg closed 2 years ago

banderberg commented 2 years ago

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 ```
maheshj01 commented 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?

logs ``` Launching lib/main.dart on Redmi K20 Pro in debug mode... Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01 Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01 Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01 Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01 Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01 Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01 Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01 Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01 Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01 Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01 ✓ Built build/app/outputs/flutter-apk/app-debug.apk. Connecting to VM Service at ws://127.0.0.1:53074/OMMJg3UEr6I=/ws I/DynamiteModule(26551): Considering local module com.google.android.gms.ads.dynamite:0 and remote module com.google.android.gms.ads.dynamite:214106404 I/DynamiteModule(26551): Selected remote version of com.google.android.gms.ads.dynamite, version >= 214106404 D/DynamitePackage(26551): Instantiated singleton DynamitePackage. D/DynamitePackage(26551): Instantiating com.google.android.gms.ads.ChimeraMobileAdsSettingManagerCreatorImpl I/Ads (26551): Updating ad debug logging enablement. W/ConnectionStatusConfig(26551): Dynamic lookup for intent failed for action: com.google.android.gms.leibniz.events.service.START W/GmsClient(26551): unable to connect to service: com.google.android.gms.leibniz.events.service.START on com.google.android.gms I/WebViewFactory(26551): Loading com.google.android.webview version 98.0.4758.87 (code 475808733) W/ffer_error_dem(26551): Accessing hidden method Landroid/os/Trace;->isTagEnabled(J)Z (greylist, reflection, allowed) W/ffer_error_dem(26551): Accessing hidden method Landroid/os/Trace;->traceBegin(JLjava/lang/String;)V (greylist, reflection, allowed) W/ffer_error_dem(26551): Accessing hidden method Landroid/os/Trace;->traceEnd(J)V (greylist, reflection, allowed) W/ffer_error_dem(26551): Accessing hidden method Landroid/os/Trace;->asyncTraceBegin(JLjava/lang/String;I)V (greylist, reflection, allowed) W/ffer_error_dem(26551): Accessing hidden method Landroid/os/Trace;->asyncTraceEnd(JLjava/lang/String;I)V (greylist, reflection, allowed) I/cr_WVCFactoryProvider(26551): Loaded version=98.0.4758.87 minSdkVersion=29 isBundle=true multiprocess=true packageId=2 I/cr_LibraryLoader(26551): Successfully loaded native library I/cr_CachingUmaRecorder(26551): Flushed 9 samples from 9 histograms. D/EgretLoader(26551): EgretLoader(Context context) D/EgretLoader(26551): The context is not activity W/ffer_error_dem(26551): Accessing hidden method Landroid/media/AudioManager;->getOutputLatency(I)I (greylist, reflection, allowed) W/cr_media(26551): Requires BLUETOOTH permission I/Choreographer(26551): Skipped 30 frames! The application may be doing too much work on its main thread. W/Looper (26551): PerfMonitor doFrame : time=1ms vsyncFrame=92550 latency=512ms procState=2 historyMsgCount=1 (msgIndex=1 wall=521ms seq=147 running=262ms runnable=25ms io=218ms binder=33ms late=2ms h=android.os.Handler c=io.flutter.embedding.engine.dart.-$$Lambda$DartMessenger$TsixYUB5E6FpKhMtCSQVHKE89gQ) W/Ads (26551): Update ad debug logging enablement as false I/ffer_error_dem(26551): ProcessProfilingInfo new_methods=1723 is saved saved_to_disk=1 resolve_classes_delay=8000 D/DynamitePackage(26551): Instantiating com.google.android.gms.ads.ChimeraAdManagerCreatorImpl I/Ads (26551): Use RequestConfiguration.Builder().setTestDeviceIds(Arrays.asList("7533D24B76F3D928E20EB84A8C420B39")) to get test ads on this device. I/DynamiteModule(26551): Considering local module com.google.android.gms.ads.dynamite:0 and remote module com.google.android.gms.ads.dynamite:214106404 I/DynamiteModule(26551): Selected remote version of com.google.android.gms.ads.dynamite, version >= 214106404 I/DynamiteModule(26551): Considering local module com.google.android.gms.ads.dynamite:0 and remote module com.google.android.gms.ads.dynamite:214106404 I/DynamiteModule(26551): Selected remote version of com.google.android.gms.ads.dynamite, version >= 214106404 I/AudioManager(26551): In isSpeakerphoneOn(), calling application: com.example.buffer_error_demo E/libc (26551): Access denied finding property "ro.vendor.df.effect.conflict" E/libc (26551): Access denied finding property "ro.vendor.knock.type" W/pool-6-thread-1(26551): type=1400 audit(0.0:7477): avc: denied { read } for name="u:object_r:vendor_displayfeature_prop:s0" dev="tmpfs" ino=17608 scontext=u:r:untrusted_app:s0:c85,c256,c512,c768 tcontext=u:object_r:vendor_displayfeature_prop:s0 tclass=file permissive=0 app=com.example.buffer_error_demo W/pool-11-thread-(26551): type=1400 audit(0.0:7478): avc: granted { execute } for path="/data/data/com.example.buffer_error_demo/app_pccache/5/2DA5677A54A44A5E5D203DCED2178CB062B5A135/pcam.jar" dev="sda31" ino=3960769 scontext=u:r:untrusted_app:s0:c85,c256,c512,c768 tcontext=u:object_r:app_data_file:s0:c85,c256,c512,c768 tclass=file app=com.example.buffer_error_demo W/Ads (26551): Not retrying to fetch app settings D/MIUIInput(26551): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=2607332, downTime=2607332 } moveCount:0 W/MirrorManager(26551): this model don't Support D/MIUIInput(26551): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=2607398, downTime=2607332 } moveCount:4 E/FA (26551): Missing google_app_id. Firebase Analytics disabled. See https://goo.gl/NAOOOI D/EgretLoader(26551): EgretLoader(Context context) D/EgretLoader(26551): The context is not activity D/EgretLoader(26551): EgretLoader(Context context) D/EgretLoader(26551): The context is not activity I/DynamiteModule(26551): Considering local module com.google.android.gms.ads.dynamite:0 and remote module com.google.android.gms.ads.dynamite:214106404 I/DynamiteModule(26551): Selected remote version of com.google.android.gms.ads.dynamite, version >= 214106404 W/ContentCatcher(26551): Failed to notify a WebView I/flutter (26551): Ad loaded: ca-app-pub-3940256099942544/6300978111 E/FA (26551): Missing google_app_id. Firebase Analytics disabled. See https://goo.gl/NAOOOI D/MIUIInput(26551): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=2650473, downTime=2650473 } moveCount:0 D/MIUIInput(26551): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=2650613, downTime=2650473 } moveCount:10 D/MIUIInput(26551): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=2655285, downTime=2655285 } moveCount:0 D/MIUIInput(26551): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=2655407, downTime=2655285 } moveCount:0 E/FA (26551): Missing google_app_id. Firebase Analytics disabled. See https://goo.gl/NAOOOI D/MIUIInput(26551): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=2657782, downTime=2657782 } moveCount:0 D/MIUIInput(26551): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=2658000, downTime=2657782 } moveCount:17 D/MIUIInput(26551): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=2678952, downTime=2678952 } moveCount:0 D/MIUIInput(26551): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=2679447, downTime=2678952 } moveCount:49 D/MIUIInput(26551): [KeyEvent] ViewRootImpl KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_BACK, scanCode=0, metaState=0, flags=0x48, repeatCount=0, eventTime=2681917, downTime=2681917, deviceId=-1, source=0x101, displayId=0 } D/MIUIInput(26551): [KeyEvent] ViewRootImpl KeyEvent { action=ACTION_UP, keyCode=KEYCODE_BACK, scanCode=0, metaState=0, flags=0x48, repeatCount=0, eventTime=2681985, downTime=2681917, deviceId=-1, source=0x101, displayId=0 } E/libEGL (26551): call to OpenGL ES API with no current context (logged once per thread) D/MIUIInput(26551): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=2686056, downTime=2686056 } moveCount:0 D/MIUIInput(26551): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=2686139, downTime=2686056 } moveCount:0 D/MIUIInput(26551): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=2687023, downTime=2687023 } moveCount:0 D/MIUIInput(26551): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=2687055, downTime=2687023 } moveCount:0 D/MIUIInput(26551): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=2687171, downTime=2687171 } moveCount:0 D/MIUIInput(26551): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=2687271, downTime=2687171 } moveCount:0 D/MIUIInput(26551): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=2687420, downTime=2687420 } moveCount:0 D/MIUIInput(26551): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=2687453, downTime=2687420 } moveCount:0 D/MIUIInput(26551): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=2688303, downTime=2688303 } moveCount:0 D/MIUIInput(26551): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=2688377, downTime=2688303 } moveCount:0 E/FA (26551): Missing google_app_id. Firebase Analytics disabled. See https://goo.gl/NAOOOI D/MIUIInput(26551): [KeyEvent] ViewRootImpl KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_BACK, scanCode=0, metaState=0, flags=0x48, repeatCount=0, eventTime=2715424, downTime=2715424, deviceId=-1, source=0x101, displayId=0 } D/MIUIInput(26551): [KeyEvent] ViewRootImpl KeyEvent { action=ACTION_UP, keyCode=KEYCODE_BACK, scanCode=0, metaState=0, flags=0x48, repeatCount=0, eventTime=2715524, downTime=2715424, deviceId=-1, source=0x101, displayId=0 } D/MIUIInput(26551): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=2723203, downTime=2723203 } moveCount:0 D/MIUIInput(26551): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=2723310, downTime=2723203 } moveCount:7 D/MIUIInput(26551): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=2727045, downTime=2727045 } moveCount:0 D/MIUIInput(26551): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=2727220, downTime=2727045 } moveCount:6 E/FA (26551): Missing google_app_id. Firebase Analytics disabled. See https://goo.gl/NAOOOI ```
flutter doctor -v ``` [✓] Flutter (Channel stable, 2.10.1, on macOS 12.1 21C52 darwin-arm, locale en-GB) • Flutter version 2.10.1 at /Users/mahesh/Documents/flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision db747aa133 (6 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 31.0.0) • Android SDK at /Users/mahesh/Library/Android/sdk • Platform android-31, build-tools 31.0.0 • ANDROID_HOME = /Users/mahesh/Library/Android/sdk • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 13.2.1) • Xcode at /Applications/Xcode.app/Contents/Developer • CocoaPods version 1.10.2 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [✓] Android Studio (version 4.2) • Android Studio at /Applications/Android Studio.app/Contents • 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.6916264) [✓] IntelliJ IDEA Community Edition (version 2021.2.1) • IntelliJ at /Applications/IntelliJ IDEA CE.app • Flutter plugin version 61.2.4 • Dart plugin version 212.5080.8 [✓] VS Code (version 1.63.2) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.34.0 [✓] Connected device (3 available) • Redmi K20 Pro (mobile) • 192.168.1.2:5555 • android-arm64 • Android 11 (API 30) • macOS (desktop) • macos • darwin-arm64 • macOS 12.1 21C52 darwin-arm • Chrome (web) • chrome • web-javascript • Google Chrome 98.0.4758.102 [✓] HTTP Host Availability • All required HTTP hosts are available • No issues found! ```
banderberg commented 2 years ago

@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?

maheshj01 commented 2 years ago

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?

banderberg commented 2 years ago

@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.

banderberg commented 2 years ago

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.

maheshj01 commented 2 years ago

@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.

logs(emulator) ``` Launching lib\main.dart on sdk gphone x86 in debug mode... Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01 Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01 Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01 Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01 Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01 √ Built build\app\outputs\flutter-apk\app-debug.apk. Connecting to VM Service at ws://127.0.0.1:51202/SUDH57JYwVk=/ws I/ffer_error_dem(14026): The ClassLoaderContext is a special shared library. I/ffer_error_dem(14026): The ClassLoaderContext is a special shared library. I/DynamiteModule(14026): Considering local module com.google.android.gms.ads.dynamite:0 and remote module com.google.android.gms.ads.dynamite:213806100 I/DynamiteModule(14026): Selected remote version of com.google.android.gms.ads.dynamite, version >= 213806100 D/DynamitePackage(14026): Instantiated singleton DynamitePackage. D/DynamitePackage(14026): Instantiating com.google.android.gms.ads.ChimeraMobileAdsSettingManagerCreatorImpl I/WebViewFactory(14026): Loading com.google.android.webview version 83.0.4103.106 (code 410410681) I/ffer_error_dem(14026): The ClassLoaderContext is a special shared library. D/nativeloader(14026): 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 I/ffer_error_dem(14026): The ClassLoaderContext is a special shared library. D/nativeloader(14026): 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 I/cr_LibraryLoader(14026): Loaded native library version number "83.0.4103.106" I/cr_CachingUmaRecorder(14026): Flushed 3 samples from 3 histograms. E/chromium(14026): [ERROR:filesystem_posix.cc(62)] mkdir /data/user/0/com.example.buffer_error_demo/cache/WebView/Crashpad: No such file or directory (2) W/ffer_error_dem(14026): Verification of void ame.c(int) took 110.811ms (279.76 bytecodes/s) (1128B approximate peak alloc) W/ffer_error_dem(14026): Verification of void ame.i() took 325.968ms (134.98 bytecodes/s) (1224B approximate peak alloc) W/ffer_error_dem(14026): Verification of apn apn.a() took 128.745ms (225.25 bytecodes/s) (1224B approximate peak alloc) W/ffer_error_dem(14026): Verification of void anz.(als) took 211.468ms (28.37 bytecodes/s) (768B approximate peak alloc) W/ffer_error_dem(14026): Verification of void amh.a(ajq) took 101.278ms (128.36 bytecodes/s) (984B approximate peak alloc) W/ffer_error_dem(14026): Accessing hidden method Landroid/media/AudioManager;->getOutputLatency(I)I (greylist, reflection, allowed) I/Choreographer(14026): Skipped 599 frames! The application may be doing too much work on its main thread. W/ConnectionStatusConfig(14026): Dynamic lookup for intent failed for action: com.google.android.gms.leibniz.events.service.START D/HostConnection(14026): HostConnection::get() New Host Connection established 0xe8b19370, tid 14300 W/GmsClient(14026): unable to connect to service: com.google.android.gms.leibniz.events.service.START on com.google.android.gms D/HostConnection(14026): 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_has_shared_slots_host_memory_allocator ANDROID_EMU_vulkan_free_memory_sync ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit ANDROID_EMU_sync_buffer_data GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_async_frame_commands ANDROID_EMU_gles_max_version_3_0 D/EGL_emulation(14026): eglCreateContext: 0xe8b18a40: maj 3 min 0 rcv 3 D/EGL_emulation(14026): eglMakeCurrent: 0xe8b18a40: ver 3 0 (tinfo 0xb5fdb050) (first time) W/cr_media(14026): Requires BLUETOOTH permission I/VideoCapabilities(14026): Unsupported profile 4 for video/mp4v-es W/cr_MediaCodecUtil(14026): HW encoder for video/avc is not available on this device. D/EGL_emulation(14026): eglCreateContext: 0xe8b18420: maj 3 min 0 rcv 3 I/ffer_error_dem(14026): Background concurrent copying GC freed 25045(1566KB) AllocSpace objects, 3(124KB) LOS objects, 49% free, 3389KB/6778KB, paused 22.402ms total 2.121s D/DynamitePackage(14026): Instantiating com.google.android.gms.ads.ChimeraAdManagerCreatorImpl I/Ads (14026): This request is sent from a test device. I/DynamiteModule(14026): Considering local module com.google.android.gms.ads.dynamite:0 and remote module com.google.android.gms.ads.dynamite:213806100 I/DynamiteModule(14026): Selected remote version of com.google.android.gms.ads.dynamite, version >= 213806100 I/GASS (14026): GassClearcutLogger Initialized. I/DynamiteModule(14026): Considering local module com.google.android.gms.ads.dynamite:0 and remote module com.google.android.gms.ads.dynamite:213806100 I/DynamiteModule(14026): Selected remote version of com.google.android.gms.ads.dynamite, version >= 213806100 W/ffer_error_dem(14026): Verification of void aol.b(int, android.os.IBinder, android.os.Bundle) took 212.222ms (84.82 bytecodes/s) (960B approximate peak alloc) W/ffer_error_dem(14026): Verification of java.lang.String com.google.android.ads.tasks.d.b() took 115.195ms (1180.60 bytecodes/s) (4144B approximate peak alloc) D/EGL_emulation(14026): eglMakeCurrent: 0xe8b24740: ver 3 0 (tinfo 0xe8e7caf0) (first time) W/Gralloc4(14026): allocator 3.x is not supported ```
logs(Physical device) ``` Launching lib\main.dart on Redmi K20 Pro in debug mode... Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01 Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01 Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01 Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01 Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01 √ Built build\app\outputs\flutter-apk\app-debug.apk. Error: ADB exited with exit code 1 Uninstalling old version... Performing Streamed Install adb: failed to install C:\Users\mahesh\Desktop\buffer_error_demo\build\app\outputs\flutter-apk\app.apk: Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package com.example.buffer_error_demo signatures do not match previously installed version; ignoring!] Connecting to VM Service at ws://127.0.0.1:49879/y4uJ0RQhmQU=/ws I/DynamiteModule(13393): Considering local module com.google.android.gms.ads.dynamite:0 and remote module com.google.android.gms.ads.dynamite:214106404 I/DynamiteModule(13393): Selected remote version of com.google.android.gms.ads.dynamite, version >= 214106404 D/DynamitePackage(13393): Instantiated singleton DynamitePackage. D/DynamitePackage(13393): Instantiating com.google.android.gms.ads.ChimeraMobileAdsSettingManagerCreatorImpl I/Ads (13393): Updating ad debug logging enablement. W/ConnectionStatusConfig(13393): Dynamic lookup for intent failed for action: com.google.android.gms.leibniz.events.service.START W/GmsClient(13393): unable to connect to service: com.google.android.gms.leibniz.events.service.START on com.google.android.gms I/WebViewFactory(13393): Loading com.google.android.webview version 98.0.4758.101 (code 475810133) W/ffer_error_dem(13393): Accessing hidden method Landroid/os/Trace;->isTagEnabled(J)Z (greylist, reflection, allowed) W/ffer_error_dem(13393): Accessing hidden method Landroid/os/Trace;->traceBegin(JLjava/lang/String;)V (greylist, reflection, allowed) W/ffer_error_dem(13393): Accessing hidden method Landroid/os/Trace;->traceEnd(J)V (greylist, reflection, allowed) W/ffer_error_dem(13393): Accessing hidden method Landroid/os/Trace;->asyncTraceBegin(JLjava/lang/String;I)V (greylist, reflection, allowed) W/ffer_error_dem(13393): Accessing hidden method Landroid/os/Trace;->asyncTraceEnd(JLjava/lang/String;I)V (greylist, reflection, allowed) I/cr_WVCFactoryProvider(13393): Loaded version=98.0.4758.101 minSdkVersion=29 isBundle=true multiprocess=true packageId=2 I/cr_LibraryLoader(13393): Successfully loaded native library I/cr_CachingUmaRecorder(13393): Flushed 9 samples from 9 histograms. D/EgretLoader(13393): EgretLoader(Context context) D/EgretLoader(13393): The context is not activity W/ffer_error_dem(13393): Accessing hidden method Landroid/media/AudioManager;->getOutputLatency(I)I (greylist, reflection, allowed) W/cr_media(13393): Requires BLUETOOTH permission W/Looper (13393): PerfMonitor doFrame : time=6ms vsyncFrame=2558523 latency=467ms procState=2 historyMsgCount=1 (msgIndex=1 wall=478ms seq=140 running=307ms runnable=23ms io=108ms binder=52ms late=2ms h=android.os.Handler c=io.flutter.embedding.engine.dart.-$$Lambda$DartMessenger$TsixYUB5E6FpKhMtCSQVHKE89gQ) W/Ads (13393): Update ad debug logging enablement as false I/ffer_error_dem(13393): ProcessProfilingInfo new_methods=1726 is saved saved_to_disk=1 resolve_classes_delay=8000 D/DynamitePackage(13393): Instantiating com.google.android.gms.ads.ChimeraAdManagerCreatorImpl I/Ads (13393): Use RequestConfiguration.Builder().setTestDeviceIds(Arrays.asList("313B0D859212A9722C1E4D185C2B5091")) to get test ads on this device. I/DynamiteModule(13393): Considering local module com.google.android.gms.ads.dynamite:0 and remote module com.google.android.gms.ads.dynamite:214106404 I/DynamiteModule(13393): Selected remote version of com.google.android.gms.ads.dynamite, version >= 214106404 I/DynamiteModule(13393): Considering local module com.google.android.gms.ads.dynamite:0 and remote module com.google.android.gms.ads.dynamite:214106404 I/DynamiteModule(13393): Selected remote version of com.google.android.gms.ads.dynamite, version >= 214106404 I/AudioManager(13393): In isSpeakerphoneOn(), calling application: com.example.buffer_error_demo E/libc (13393): Access denied finding property "ro.vendor.df.effect.conflict" E/libc (13393): Access denied finding property "ro.vendor.knock.type" W/gads-7 (13393): type=1400 audit(0.0:263752): avc: denied { read } for name="u:object_r:vendor_displayfeature_prop:s0" dev="tmpfs" ino=28869 scontext=u:r:untrusted_app:s0:c5,c260,c512,c768 tcontext=u:object_r:vendor_displayfeature_prop:s0 tclass=file permissive=0 app=com.example.buffer_error_demo W/Ads (13393): Not retrying to fetch app settings W/pool-11-thread-(13393): type=1400 audit(0.0:263753): avc: granted { execute } for path="/data/data/com.example.buffer_error_demo/app_pccache/5/2DA5677A54A44A5E5D203DCED2178CB062B5A135/pcam.jar" dev="sda31" ino=3952090 scontext=u:r:untrusted_app:s0:c5,c260,c512,c768 tcontext=u:object_r:app_data_file:s0:c5,c260,c512,c768 tclass=file app=com.example.buffer_error_demo E/FA (13393): Missing google_app_id. Firebase Analytics disabled. See https://goo.gl/NAOOOI D/EgretLoader(13393): EgretLoader(Context context) D/EgretLoader(13393): The context is not activity D/EgretLoader(13393): EgretLoader(Context context) D/EgretLoader(13393): The context is not activity I/DynamiteModule(13393): Considering local module com.google.android.gms.ads.dynamite:0 and remote module com.google.android.gms.ads.dynamite:214106404 I/DynamiteModule(13393): Selected remote version of com.google.android.gms.ads.dynamite, version >= 214106404 W/ContentCatcher(13393): Failed to notify a WebView I/flutter (13393): Ad loaded: ca-app-pub-3940256099942544/6300978111 E/FA (13393): Missing google_app_id. Firebase Analytics disabled. See https://goo.gl/NAOOOI D/MIUIInput(13393): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=85280532, downTime=85280532 } moveCount:0 W/MirrorManager(13393): this model don't Support D/MIUIInput(13393): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=85280589, downTime=85280532 } moveCount:0 E/FA (13393): Missing google_app_id. Firebase Analytics disabled. See https://goo.gl/NAOOOI D/MIUIInput(13393): [KeyEvent] ViewRootImpl KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_BACK, scanCode=0, metaState=0, flags=0x48, repeatCount=0, eventTime=85282923, downTime=85282923, deviceId=-1, source=0x101, displayId=0 } D/MIUIInput(13393): [KeyEvent] ViewRootImpl KeyEvent { action=ACTION_UP, keyCode=KEYCODE_BACK, scanCode=0, metaState=0, flags=0x48, repeatCount=0, eventTime=85282998, downTime=85282923, deviceId=-1, source=0x101, displayId=0 } D/MIUIInput(13393): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=85283831, downTime=85283831 } moveCount:0 D/MIUIInput(13393): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=85283888, downTime=85283831 } moveCount:0 D/MIUIInput(13393): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=85284681, downTime=85284681 } moveCount:0 D/MIUIInput(13393): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=85284772, downTime=85284681 } moveCount:0 D/MIUIInput(13393): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=85284887, downTime=85284887 } moveCount:0 D/MIUIInput(13393): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=85284954, downTime=85284887 } moveCount:0 D/MIUIInput(13393): [MotionEvent] ViewRootImpl { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=85285061, downTime=85285061 } moveCount:0 D/MIUIInput(13393): [MotionEvent] ViewRootImpl { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=85285119, downTime=85285061 } moveCount:0 ```
flutter doctor -v ``` [√] Flutter (Channel stable, 2.10.2, on Microsoft Windows [Version 10.0.19044.1526], locale en-US) • Flutter version 2.10.2 at C:\flutter_sdk\stable • Upstream repository https://github.com/flutter/flutter.git • Framework revision 097d3313d8 (3 days ago), 2022-02-18 19:33:08 -0600 • Engine revision a83ed0e5e3 • Dart version 2.16.1 • DevTools version 2.9.2 [√] Android toolchain - develop for Android devices (Android SDK version 31.0.0) • Android SDK at C:\Users\mahesh\AppData\Local\Android\sdk • Platform android-31, build-tools 31.0.0 • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189) • All Android licenses accepted. [√] Chrome - develop for the web • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe [√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.11.4) • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community • Visual Studio Community 2019 version 16.11.31727.386 • Windows 10 SDK version 10.0.19041.0 [√] Android Studio (version 2020.3) • Android Studio at C:\Program Files\Android\Android Studio • Flutter plugin can be installed from: https://plugins.jetbrains.com/plugin/9212-flutter • Dart plugin can be installed from: https://plugins.jetbrains.com/plugin/6351-dart • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189) [√] VS Code (version 1.64.2) • VS Code at C:\Users\mahesh\AppData\Local\Programs\Microsoft VS Code • Flutter extension version 3.34.0 [√] Connected device (4 available) • Redmi K20 Pro (mobile) • 192.168.1.2:5555 • android-arm64 • Android 11 (API 30) • Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.19044.1526] • Chrome (web) • chrome • web-javascript • Google Chrome 98.0.4758.102 • Edge (web) • edge • web-javascript • Microsoft Edge 98.0.1108.56 [√] HTTP Host Availability • All required HTTP hosts are available • No issues found! ```
github-actions[bot] commented 2 years ago

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.