AdMob Banner not working on mobile data

前端 未结 4 2020
死守一世寂寞
死守一世寂寞 2021-02-10 09:15

I\'ve recently started in Android App developing and I\'m a getting the following error in logcat when trying to load the banner in my app.

03-02 17:30:58.509: I         


        
相关标签:
4条回答
  • 2021-02-10 09:29

    Not really an answer, but noticed you didn't copy out your layout.xml header, there's an xml directive that needs to be in there. But yes, the probelm is the ad library can't reach the admob server.

    0 讨论(0)
  • 2021-02-10 09:31

    Error 2 appears if date or time is wrong Just set autodate correcting on your device. Error 2 appears if time on your device is not equals with time on google service. It's all what you need

    0 讨论(0)
  • 2021-02-10 09:36

    Probably the DNS provider used has some problem to reach the AdMob server (or are applied some filters to reduce the traffic on ad servers).

    0 讨论(0)
  • 2021-02-10 09:47

    I had the same problem, and ... yeah... I turned off the WiFi on my phone, and then it worked perfectly. So in my case, i think it was lag/interference from my router.

    0 讨论(0)
提交回复
热议问题