question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Android banner not showing

See original GitHub issue

Describe the bug Banner on android doesnt want to start

To Reproduce Steps to reproduce the behavior:

  1. Go to ‘…’
  2. Click on ‘…’
  3. Scroll down to ‘…’
  4. See error

Expected behavior Android banner showing up.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context

AdMob.showBanner({
          adId: "ca-app-pub-5343465453645~23432546",
          adSize: AdSize.SMART_BANNER,
          position: AdPosition.TOP_CENTER,
          margin: 0,
        });

Error from logcat: unable to connect to service: com.google.android.gms.auth.key.retrieval.service.START on com.google.android.gms

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
martijnmichelcommented, Oct 1, 2020

Found out, sorry i was new to capacitor. I hadnt set the app id inside build.gradle

0reactions
martijnmichelcommented, Nov 13, 2020

You need to set the app id at the correct place, documentation is plenty.

Read more comments on GitHub >

github_iconTop Results From Across the Web

AdMob banner ad not showing - android - Stack Overflow
Make sure that you have added Banner Ad Unit in your Admob Account and used banner appUnit-id in your adUnitId of your app...
Read more >
Android Notifications Not Showing Up? 10 Fixes You Can Try
Android Notifications Not Showing Up? 10 Fixes You Can Try · 1. Reboot Your Phone · 2. Review the App's Notification Settings ·...
Read more >
Common reasons for ads not showing - Google AdMob Help
Use the following guide to understand common reasons why apps show few or no ads. If you're still having issues, use the Can't...
Read more >
Unity ads banner not working on Android
The most common cause of not getting banner ads is lack of available banner demand. This would be expressed as "No fill for...
Read more >
Banner Ads are not showing in android app in unity!!!
I am building an app and I want to show banner ads in it so,I follow some tutorials on youtube and Integrate admob...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found