Google ad banner

101 views
Skip to first unread message

Ga27kud

unread,
Oct 1, 2023, 10:52:26β€―AM10/1/23
to Google Mobile Ads SDK Developers
an ad (banner) is not loading properly, not visualized on a Pixel3a_API_33_x86_64

Launching lib/main.dart on sdk gphone x86 64 in debug mode...
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

βœ“ Β Built build/app/outputs/flutter-apk/app-debug.apk.
Connecting to VM Service at ws://127.0.0.1:44839/EhMaEP7_oMk=/ws
I/72kud.namer_app(29181): Compiler allocated 4533KB to compile void android.view.ViewRootImpl.performTraversals()
W/Parcel Β (29181): Expecting binder but got null!
D/EGL_emulation(29181): app_time_stats: avg=2120.25ms min=5.19ms max=4235.30ms count=2
D/EGL_emulation(29181): app_time_stats: avg=50.04ms min=0.86ms max=1104.68ms count=24
══║ EXCEPTION CAUGHT BY RENDERING LIBRARY β•žβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•
The following assertion was thrown during layout:
A RenderFlex overflowed by 295 pixels on the right.

The relevant error-causing widget was:
Β  Row Row:file:///home/michael/dev/namer_app/namer_app/lib/mypages.dart:227:11

To inspect this widget in Flutter DevTools, visit:
http://127.0.0.1:9100/#/inspector?uri=http%3A%2F%2F127.0.0.1%3A44839%2FEhMaEP7_oMk%3D%2F&inspectorRef=inspector-37

The overflowing RenderFlex has an orientation of Axis.horizontal.
The edge of the RenderFlex that is overflowing has been marked in the rendering with a yellow and
black striped pattern. This is usually caused by the contents being too big for the RenderFlex.
Consider applying a flex factor (e.g. using an Expanded widget) to force the children of the
RenderFlex to fit within the available space instead of being sized to their natural size.
This is considered an error condition because it indicates that there is content that cannot be
seen. If the content is legitimately bigger than the available space, consider clipping it with a
ClipRect widget before putting it in the flex, or using a scrollable container rather than a Flex,
like a ListView.
The specific RenderFlex in question is: RenderFlex#c3b2d relayoutBoundary=up5 OVERFLOWING:
Β  creator: Row ← Column ← Center ← SettingsPage ← ColoredBox ← Container ← Expanded ← Row ←
Β  Β  KeyedSubtree-[GlobalKey#178ed] ← _BodyBuilder ← MediaQuery ← LayoutId-[<_ScaffoldSlot.body>] ← β‹―
Β  parentData: offset=Offset(0.0, 40.0); flex=null; fit=null (can use size)
Β  constraints: BoxConstraints(0.0<=w<=312.7, 0.0<=h<=Infinity)
Β  size: Size(312.7, 520.0)
Β  direction: horizontal
Β  mainAxisAlignment: start
Β  mainAxisSize: min
Β  crossAxisAlignment: center
Β  textDirection: ltr
Β  verticalDirection: down
β—’β—€β—’β—€β—’β—€β—’β—€β—’β—€β—’β—€β—’β—€β—’β—€β—’β—€β—’β—€β—’β—€β—’β—€β—’β—€β—’β—€β—’β—€β—’β—€β—’β—€β—’β—€β—’β—€β—’β—€β—’β—€β—’β—€β—’β—€β—’β—€β—’β—€β—’β—€β—’β—€β—’β—€β—’β—€β—’β—€β—’β—€β—’β—€β—’β—€β—’β—€β—’β—€β—’β—€β—’β—€β—’β—€β—’β—€β—’β—€β—’β—€β—’β—€β—’β—€β—’β—€β—’β—€β—’β—€β—’β—€β—’β—€β—’β—€β—’β—€
════════════════════════════════════════════════════════════════════════════════════════════════════

D/EGL_emulation(29181): app_time_stats: avg=52.71ms min=0.94ms max=834.77ms count=25
D/EGL_emulation(29181): app_time_stats: avg=43.21ms min=1.08ms max=1130.97ms count=32
D/EGL_emulation(29181): app_time_stats: avg=34.67ms min=1.00ms max=1047.11ms count=33
D/EGL_emulation(29181): app_time_stats: avg=61.96ms min=1.09ms max=1155.19ms count=23
D/EGL_emulation(29181): app_time_stats: avg=47.32ms min=0.99ms max=1213.99ms count=31
I/Ads Β  Β  (29181): Use RequestConfiguration.Builder().setTestDeviceIds(Arrays.asList("EC95D3DA6A77335986A0C439B75DADC1")) to get test ads on this device.
I/WebViewFactory(29181): Loading com.google.android.webview version 103.0.5060.71 (code 506007137)
D/nativeloader(29181): Configuring vendor-classloader-namespace for unbundled product apk /product/app/TrichromeLibrary/TrichromeLibrary.apk. target_sdk_version=33, uses_libraries=ALL, library_path=/product/app/WebViewGoogle/lib/x86_64:/product/app/WebViewGoogle/WebViewGoogle.apk!/lib/x86_64:/product/app/TrichromeLibrary/TrichromeLibrary.apk!/lib/x86_64:/product/lib64:/system/product/lib64, permitted_path=/data:/mnt/expand:/product/lib64:/system/product/lib64
W/72kud.namer_app(29181): ClassLoaderContext shared library size mismatch. Expected=0, found=1 (PCL[] | PCL[]{PCL[/product/app/TrichromeLibrary/TrichromeLibrary.apk*3197987500]})
D/nativeloader(29181): Configuring vendor-classloader-namespace for unbundled product apk /product/app/WebViewGoogle/WebViewGoogle.apk. target_sdk_version=33, uses_libraries=, library_path=/product/app/WebViewGoogle/lib/x86_64:/product/app/WebViewGoogle/WebViewGoogle.apk!/lib/x86_64:/product/app/TrichromeLibrary/TrichromeLibrary.apk!/lib/x86_64:/product/lib64:/system/product/lib64, permitted_path=/data:/mnt/expand:/product/lib64:/system/product/lib64
W/72kud.namer_app(29181): Accessing hidden method Landroid/os/Trace;->isTagEnabled(J)Z (unsupported, reflection, allowed)
W/72kud.namer_app(29181): Accessing hidden method Landroid/os/Trace;->traceBegin(JLjava/lang/String;)V (unsupported, reflection, allowed)
W/72kud.namer_app(29181): Accessing hidden method Landroid/os/Trace;->traceEnd(J)V (unsupported, reflection, allowed)
W/72kud.namer_app(29181): Accessing hidden method Landroid/os/Trace;->asyncTraceBegin(JLjava/lang/String;I)V (unsupported, reflection, allowed)
W/72kud.namer_app(29181): Accessing hidden method Landroid/os/Trace;->asyncTraceEnd(JLjava/lang/String;I)V (unsupported, reflection, allowed)
I/cr_WVCFactoryProvider(29181): Loaded version=103.0.5060.71 minSdkVersion=29 isBundle=false multiprocess=true packageId=2
I/cr_VariationsUtils(29181): Failed reading seed file "/data/user/0/com.ga72kud.namer_app/app_webview/variations_seed_new"
I/cr_VariationsUtils(29181): Failed reading seed file "/data/user/0/com.ga72kud.namer_app/app_webview/variations_seed"
I/cr_VariationsUtils(29181): Requesting new seed from IVariationsSeedServer
I/cr_LibraryLoader(29181): Successfully loaded native library
I/cr_CachingUmaRecorder(29181): Flushed 8 samples from 8 histograms.
D/GASS Β  Β (29181): Clearcut logging disabled
W/ziparchive(29181): Unable to open '/data/user/0/com.ga72kud.namer_app/cache/1689111357674.dm': No such file or directory
D/zzary Β  (29181): File /data/user/0/com.ga72kud.namer_app/cache/1689111357674.dex not found. No need for deletion
D/GASS Β  Β (29181): Clearcut logging disabled
D/CompatibilityChangeReporter(29181): Compat change id reported: 183155436; UID 10161; state: ENABLED
D/CompatibilityChangeReporter(29181): Compat change id reported: 214741472; UID 10161; state: ENABLED
D/CompatibilityChangeReporter(29181): Compat change id reported: 171228096; UID 10161; state: ENABLED
D/AutofillManager(29181): Fill dialog is enabled:false, hints=[password, passwordAuto, creditCardNumber, creditCardSecurityCode, creditCardExpirationDate]
W/72kud.namer_app(29181): Accessing hidden method Landroid/media/AudioManager;->getOutputLatency(I)I (unsupported, reflection, allowed)
D/HostConnection(29181): createUnique: call
D/HostConnection(29181): HostConnection::get() New Host Connection established 0x723b2b47e650, tid 29405
W/cr_media(29181): Requires BLUETOOTH permission
D/HostConnection(29181): HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV_Cache ANDROID_EMU_vulkan_ignored_handles ANDROID_EMU_has_shared_slots_host_memory_allocator ANDROID_EMU_vulkan_free_memory_sync ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit ANDROID_EMU_vulkan_queue_submit_with_commands ANDROID_EMU_sync_buffer_data ANDROID_EMU_vulkan_async_qsri ANDROID_EMU_read_color_buffer_dma ANDROID_EMU_hwc_multi_configs GL_OES_EGL_image_external_essl3 GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_host_side_tracing ANDROID_EMU_gles_max_version_3_1
D/EGL_emulation(29181): eglCreateContext: 0x723b2b47de10: maj 3 min 1 rcv 4
D/EGL_emulation(29181): eglMakeCurrent: 0x723b2b47de10: ver 3 1 (tinfo 0x723d5022a280) (first time)
D/EGL_emulation(29181): eglCreateContext: 0x723b2b47de10: maj 3 min 0 rcv 3
D/EGL_emulation(29181): eglCreateContext: 0x723b2b47bdd0: maj 3 min 0 rcv 3
I/Ads Β  Β  (29181): Ad failed to load : 2
I/flutter (29181): Failed to load a banner ad: Network error.

Mobile Ads SDK Forum Advisor

unread,
Oct 4, 2023, 9:26:48β€―AM10/4/23
to google-adm...@googlegroups.com
Hi,Β 

Thank you for contacting the Mobile Ads SDK support team.

By reviewing your concern, I understand that you are banner ad is not loading. From the log you shared I can see that the ad was not loaded because of β€œNetwork error”. For further investigation, kindly provide the below information via β€œReply to author” for further investigation:
  • app ID
  • ad unit ID
  • Sample project soΒ we could have full visibility of your implementation
Β 
This message is in relation to case "ref:_00D1U1174p._5004Q2p2xoV:ref"

Thanks,
Β 
Google Logo Mobile Ads SDK Team


Reply all
Reply to author
Forward
0 new messages