[Android][AdMob] Error parsing XML: unbound prefix error

Tadashi Shigeoka ·  Sun, April 7, 2013

In Android, after adding AdMob ads to a layout xml file and building, I got an “Error parsing XML: unbound prefix” error.

The cause was that I hadn’t written the following declaration at the beginning of the line:

xmlns:ads="http://schemas.android.com/apk/lib/com.google.ads"

[Reference]

しずくくんのAndroidでゲームプログラミングしてみたいなblog : xml unbound prefix

That’s all from the Gemba.