1

Getting continuous error in VSCode debug console like:

I/Choreographer(16759): Skipped 35 frames! The application may be doing too much work on its main thread. E/eglCodecCommon(16759): glUtilsParamSize: unknow param 0x000085b5 I/chatty (16759): uid=10089(u0_a89) RenderThread identical 2 lines E/eglCodecCommon(16759): glUtilsParamSize: unknow param 0x000085b5 I/Choreographer(16759): Skipped 35 frames! The application may be doing too much work on its main thread. E/eglCodecCommon(16759): glUtilsParamSize: unknow param 0x000085b5 I/chatty (16759): uid=10089(u0_a89) RenderThread identical 2 lines E/eglCodecCommon(16759): glUtilsParamSize: unknow param 0x000085b5 I/Choreographer(16759): Skipped 35 frames! The application may be doing too much work on its main thread.

Just after adding firebase_admob plugin and initializing FirebaseAdmob instance, this error started showing in the debug console like an infinite loop and thus making app slow/hanging.

FirebaseAdMob.instance
        .initialize(appId: "ca-app-pub-123457890xxxxxx~1234567890")
        .then((response) {
          print("starting admob >>>>>>>>>");
      myBanner
        ..load()
        ..show(anchorOffset: 0.0, anchorType: AnchorType.bottom);
    });

after commenting firebaseadmob initialization, error goes away. My admob version is firebase_admob: 0.6.1

What can I do?

zx485
  • 28,498
  • 28
  • 50
  • 59
wizavi
  • 104
  • 1
  • 9
  • Hi, have you included your ad_mob AppId in your AndroidManifest.xml as per the setup instructions here: https://pub.dev/packages/firebase_admob – alichur Oct 08 '19 at 19:55
  • Yes. I have followed the steps and added in correct place in manifest file. I tried Flutter Analyze but no issue found. Also tried Flutter clean still getting continuous error of skipped frame. – wizavi Oct 10 '19 at 10:59

0 Answers0