File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Android and the fly likes AdMob ad doesn't show in the emulator Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Mobile » Android
Reply 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.
 
IntelliJ Java IDE
 
subject: AdMob ad doesn't show in the emulator
 
Threads others viewed
odd framelayout/surfaceview problem
ScrollBar Not activated
how to put layout in middle of the screen?
Create Custom List
Need Help on the scrolling Bar in Android?
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture