Describe the bug
Got my ads to work in my Flutter app, but then I saw the debug console in Visual Studio Code was getting spammed, with the AdMob INFO level debug messages.
Expected behavior
I just wanted to ask if there was anything that I could do to maybe ignore the messages or disable it. Because it gets annoying if I want to check the debug console for something.
Debug Output
These are the messages that get spammed in the debug console.
W/e.drinking_kin(18659): Accessing hidden method Lsun/misc/Unsafe;->getObject(Ljava/lang/Object;J)Ljava/lang/Object; (greylist, linking, allowed)
W/e.drinking_kin(18659): Accessing hidden method Lsun/misc/Unsafe;->getLong(Ljava/lang/Object;J)J (greylist,core-platform-api, linking, allowed)
W/e.drinking_kin(18659): Accessing hidden method Lsun/misc/Unsafe;->putInt(Ljava/lang/Object;JI)V (greylist, linking, allowed)
W/Ads (18659): #004 The webview is destroyed. Ignoring action.
I/chatty (18659): uid=10455(com.example.drinking_king) identical 1 line
W/Ads (18659): #004 The webview is destroyed. Ignoring action.
W/e.drinking_kin(18659): Accessing hidden method Lsun/misc/Unsafe;->getObject(Ljava/lang/Object;J)Ljava/lang/Object; (greylist, linking, allowed)
W/e.drinking_kin(18659): Accessing hidden method Lsun/misc/Unsafe;->getObject(Ljava/lang/Object;J)Ljava/lang/Object; (greylist, linking, allowed)
Hi @fredrikj31
Can you please provide your flutter doctor -v your flutter run --verbose
Thank you
Hi @TahaTesser Thanks for trying to help.
This is my outputs
Flutter doctor -v - Output
[β] Flutter (Channel stable, v1.17.5, on Microsoft Windows [Version 10.0.18362.900], locale da-DK)
β’ Flutter version 1.17.5 at C:\flutter
β’ Framework revision 8af6b2f038 (2 weeks ago), 2020-06-30 12:53:55 -0700
β’ Engine revision ee76268252
β’ Dart version 2.8.4
[β] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
β’ Android SDK at C:\Users\Fredrik\AppData\Local\Android\sdk
β’ Platform android-29, build-tools 29.0.3
β’ Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
β’ Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
β’ All Android licenses accepted.
[β] Android Studio (version 3.6)
β’ Android Studio at C:\Program Files\Android\Android Studio
β’ Flutter plugin version 44.0.2
β’ Dart plugin version 192.7761
β’ Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
[β] VS Code (version 1.47.0)
β’ VS Code at C:\Users\Fredrik\AppData\Local\Programs\Microsoft VS Code
β’ Flutter extension version 3.10.1
[β] Connected device (1 available)
β’ GM1903 β’ 667b0401 β’ android-arm64 β’ Android 10 (API 29)
β’ No issues found!
Flutter run --verbose - Output
Got it in a Pastebin because it was too long.
https://pastebin.com/zkzcjH8h
I have the same problem, can't work with console with all this spam, any fix?
Thank so much!
I have the same problem, can't work with console with all this spam, any fix?
Thank so much!
I don't think you can remove those spam messages. The messages are a reminder for you to know when an ad gets updated. If you are looking for a way to see if a specific message has been sent, then I can highly recommend the flutter inspector tool in the browser. It does only print the messages that you print in your app with the print() function.
If you can't find the inspector tool, just hit me up either in this issue, or directly to me.
I have the same problem, can't work with console with all this spam, any fix?
Thank so much!I don't think you can remove those spam messages. The messages are a reminder for you to know when an ad gets updated. If you are looking for a way to see if a specific message has been sent, then I can highly recommend the flutter inspector tool in the browser. It does only print the messages that you print in your app with the
print()function.If you can't find the inspector tool, just hit me up either in this issue, or directly to me.
- Fredrik π
Hi @fredrikj31, Thank so much π... how can I find it ;-)
@DanielCardona If you use VSCode (Visual Studio Code) You can access this setting and set it to flutter or always

If it does not open, you can use when you are debugging the app

Then click the debug tab, and then you can resize the console tab to full screen. So it looks like this:

@DanielCardona If you use VSCode (Visual Studio Code) You can access this setting and set it to
flutteroralways
If it does not open, you can use when you are debugging the app
Then click the
debugtab, and then you can resize the console tab to full screen. So it looks like this:
Thank so much @fredrikj31, very nice of you, it do the trick π
@DanielCardona nice to hear it works. Glad i could help βΊοΈ
Most helpful comment
@DanielCardona If you use VSCode (Visual Studio Code) You can access this setting and set it to

flutteroralwaysIf it does not open, you can use when you are debugging the app

Then click the

debugtab, and then you can resize the console tab to full screen. So it looks like this: