I\'m trying to add an AdMob ad to my android application but whenever I\'m opening the activity that is supposed to display the ad I get this error:
I/Ads(11
It's a connection problem. I fixed it by uninstalling my ad blocker...
Simply just check all of your internet connections. My Laptop had internet while the phone hadn't. I did try to connect to the web server on my laptop and it was working fine. so after trying heaps with the phone, I rebooted my DSL router. and everything is fine and back to normal then.
Check /etc/hosts file. Many custom roms has adblock entries ...
I had this problem when moving between networks and leaving the emulator running.
I discovered that simply restarting the emulator once I was connected to the new network solved the problem.
I had this error too and solved by loading the ad in separate thread (in ICS you're not allowed to perform network operation in the main thread)
(new Thread() {
public void run() {
Looper.prepare();
adView.loadAd(new AdRequest());
}
}).start();