I'm having some weird issues starting AdMobs.
FIRST PROBLEM
When I try to add my banner using this code:
layout = (RelativeLayout) findViewById(R.id.adprincipal);
adView = new AdView(this);
adView.setAdUnitId("my unit id");
adView.setAdSize(AdSize.BANNER);
AdRequest adRequest = new AdRequest.Builder()
.addTestDevice("my device")
.build();
adView.loadAd(adRequest);
layout.addView(adView);
I don't get anything if I set the size AdSize.SMART_BANNER, but I get a test banner with AdSize.BANNER, but ANYWAY (even BANNER and SMART_BANNER) is what I get from LogCat:
WHEN BANNER
12-30 04: 41: 00.380: W / ResourceType (27407): getEntry failed because entryIndex 13 is outside the entryCount 5 input
12-30 04: 41: 00.380: W / ResourceType (27407): Error receiving record for 0x7f0b000d (t = 10 e = 13) in packet 0 (error -2147483647)
12-30 04: 41: 00.380: E / GooglePlayServicesUtil (27407): No Google Play service resources found. Check your project configuration to make sure resources are turned on.
12-30 04: 41: 00.400: W/ResourceType (27407): getEntry failing, entryIndex 13 entryCount 5
12-30 04: 41: 00.400: W/ResourceType (27407): 0x7f0b000d (t = 10 e = 13) 0 ( -2147483647)
12-30 04: 41: 00.400: E/GooglePlayServicesUtil (27407): Google Play . , , .
12-30 04: 41: 02.111: I/GATE (27407): DEV_ACTION_COMPLETED
12-30 04: 41: 02.111: I/Ads (27407): .
SMART_BANNER
12-30 04: 48: 27.476: W/ResourceType (29507): getEntry , entryIndex 13 entryCount 5
12-30 04: 48: 27.476: W/ResourceType (29507): 0x7f0b000d (t = 10 e = 13) 0 ( -2147483647)
12-30 04: 48: 27.476: E/GooglePlayServicesUtil (29507): Google Play . , , .
12-30 04: 48: 27.516: D/OpenGLRenderer (29507): 0
12-30 04: 48: 27.576: W/ResourceType (29507): getEntry failing, entryIndex 13 entryCount 5
12-30 04: 48: 27.576: W/ResourceType (29507): 0x7f0b000d (t = 10 e = 13) 0 ( -2147483647)
12-30 04: 48: 27.576: E/GooglePlayServicesUtil (29507): Google Play . , , .
12-30 04: 48: 31.450: I/Ads (29507): .
12-30 04: 48: 31.450: W/Ads (29507): : 3
12-30 04: 48: 31.450: E/SQLiteLog (29507): (14) 30241 [00bb9c9ce4]
12-30 04: 48: 31.450: E/SQLiteLog (29507): (14) os_unix.c: 30241: (2) open (/NotificationPermissions.db) -
12-30 04: 48: 31.450: D/WebKit (29507): :
12-30 04: 48: 31.450: D/WebKit (29507): SQLite /NotificationPermissions.db
12-30 04: 48: 31.450: D/WebKit (29507): -
12-30 04: 48: 31.450: D/WebKit (29507): /webkit/Source/WebCore/platform/sql/SQLiteDatabase.cpp(71): bool WebCore:: SQLiteDatabase:: open (const WTF:: String &, bool)
SMART BANNER
, "BANNER", INTERSTITIAL, , , ...
?
: , , , ... ..
.