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
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.
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
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).
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.