permaculture playing cards*
The moose likes Android and the fly likes AdMob ad doesn't show in the emulator Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Mobile » Android
Bookmark "AdMob ad doesn Watch "AdMob ad doesn New topic
Author

AdMob ad doesn't show in the emulator

D Hagy
Greenhorn

Joined: Jul 05, 2011
Posts: 12
I wrote my first example app, and I try to import in it the Admob ads. I could make that in the Android 2.3.3 graphical layout, that the Ads by Google label is showing instead of com.google...AdView what is showing in every other graphical layout. From 1.6 to 2.2. I don't know why. I thought that my ads will showing only in Android 2.3.3, but wasn't.
Neither in 2.3.3 nor in 2.2 and below. My ad isn't showing in any emulator. But I don't know why, there aren't any error, except what in the 2.2 and lower layouts:

Parser is not a BridgeXmlBlockParser!

The following classes could not be instantiated:
- com.google.ads.AdView
See the Error Log (Window > Show View) for more details.

I don't know what I make bad.

Here is my layout file for this activity:




MY_PUBLISHER_CODE = my own publisher code

In the related java (android) class, I imported the



code.


In the manifest file, I imported this:



and the internet and network access permission.

Please help me, it's very annoying, that I don't know make this.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: AdMob ad doesn't show in the emulator