Win a copy of Java Persistence with Spring Data and Hibernate this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Jeanne Boyarsky
Saloon Keepers:
  • Stephan van Hulst
  • Carey Brown
  • Tim Holloway
  • Piet Souris
Bartenders:

AdMob ad doesn't show in the emulator

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 miss the old days when I would think up a sinister scheme for world domination and you would show a little emotional support. So just look at this tiny ad:
The Low Tech Laboratory Movie Kickstarter is LIVE NOW!
https://www.kickstarter.com/projects/paulwheaton/low-tech
reply
    Bookmark Topic Watch Topic
  • New Topic