I am using AdMob 6 for android 2.2 and I see this message in the xml layout
“The following classes could not be instantiated:
– (Open Class, Show Error Log)
See the Error Log (Window > Show View) for more details.”
When I run my application it says “Unfortunately … has stopped.”
This is what my manifest looks like
<uses-permission android:name="android.permission.SET_WALLPAPER" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
<application
android:icon="@drawable/ic_launcher"
android:label="@string/app_name" >
<activity
android:name="com.google.ads.AdActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout" >
>
Is there anything I can do to get this working?
Thank,
-Steven
Add the
<meta-data....>as in
When you registered your admob account, the publisher id, goes in to the
valuetag.