Note that there are some explanatory texts on larger screens.

plurals
  1. POGetting on AdMobs problems
    primarykey
    data
    text
    <p>I'm having some strange problems with starting with AdMobs.</p> <p><strong>FIRST PROBLEM</strong></p> <p>When I try to add my banner by this code:</p> <pre><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(); // Load the adView with the ad request. adView.loadAd(adRequest); layout.addView(adView); </code></pre> <p>I don't get anything if I set the size <code>AdSize.SMART_BANNER</code> but I get a test banner with <code>AdSize.BANNER</code> but ANYWAY (even BANNER and SMART_BANNER) this is what I get from LogCat:</p> <p><em>WHEN BANNER</em></p> <blockquote> <p>12-30 04:41:00.380: W/ResourceType(27407): getEntry failing because entryIndex 13 is beyond type entryCount 5</p> <p>12-30 04:41:00.380: W/ResourceType(27407): Failure getting entry for 0x7f0b000d (t=10 e=13) in package 0 (error -2147483647)</p> <p>12-30 04:41:00.380: E/GooglePlayServicesUtil(27407): The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.</p> <p>12-30 04:41:00.400: W/ResourceType(27407): getEntry failing because entryIndex 13 is beyond type entryCount 5</p> <p>12-30 04:41:00.400: W/ResourceType(27407): Failure getting entry for 0x7f0b000d (t=10 e=13) in package 0 (error -2147483647)</p> <p>12-30 04:41:00.400: E/GooglePlayServicesUtil(27407): The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.</p> <p>12-30 04:41:02.111: I/GATE(27407): DEV_ACTION_COMPLETED</p> <p>12-30 04:41:02.111: I/Ads(27407): Ad finished loading.</p> </blockquote> <p><em>WHEN SMART_BANNER</em></p> <blockquote> <p>12-30 04:48:27.476: W/ResourceType(29507): getEntry failing because entryIndex 13 is beyond type entryCount 5</p> <p>12-30 04:48:27.476: W/ResourceType(29507): Failure getting entry for 0x7f0b000d (t=10 e=13) in package 0 (error -2147483647)</p> <p>12-30 04:48:27.476: E/GooglePlayServicesUtil(29507): The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.</p> <p>12-30 04:48:27.516: D/OpenGLRenderer(29507): Enabling debug mode 0</p> <p>12-30 04:48:27.576: W/ResourceType(29507): getEntry failing because entryIndex 13 is beyond type entryCount 5</p> <p>12-30 04:48:27.576: W/ResourceType(29507): Failure getting entry for 0x7f0b000d (t=10 e=13) in package 0 (error -2147483647)</p> <p>12-30 04:48:27.576: E/GooglePlayServicesUtil(29507): The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.</p> <p>12-30 04:48:31.450: I/Ads(29507): No fill from ad server.</p> <p>12-30 04:48:31.450: W/Ads(29507): Failed to load ad: 3</p> <p>12-30 04:48:31.450: E/SQLiteLog(29507): (14) cannot open file at line 30241 of [00bb9c9ce4]</p> <p>12-30 04:48:31.450: E/SQLiteLog(29507): (14) os_unix.c:30241: (2) open(/NotificationPermissions.db) - </p> <p>12-30 04:48:31.450: D/WebKit(29507): ERROR: </p> <p>12-30 04:48:31.450: D/WebKit(29507): SQLite database failed to load from /NotificationPermissions.db</p> <p>12-30 04:48:31.450: D/WebKit(29507): Cause - unable to open database file</p> <p>12-30 04:48:31.450: D/WebKit(29507): external/webkit/Source/WebCore/platform/sql/SQLiteDatabase.cpp(71) : bool WebCore::SQLiteDatabase::open(const WTF::String&amp;, bool)</p> </blockquote> <p>and the SMART BANNER doesn't load</p> <p><strong>SECOND PROBLEM</strong></p> <p>I got the same errors than "BANNER" setting an INTERSTITIAL, but it also finally loads...</p> <p>What's wrong??</p> <p>I've tried: <a href="https://stackoverflow.com/questions/19956048/should-we-prefer-admob-in-google-play-services-compared-to-old-admob-sdk">this</a>, <a href="https://stackoverflow.com/questions/20665988/the-google-play-services-resources-were-not-found-error-using-admob">this</a> and <a href="https://stackoverflow.com/questions/18068627/logcat-message-the-google-play-services-resources-were-not-found-check-your-pr">this</a> I have reinstalled my library, downloaded the lastet, deleted and reinstalled... etcetera.</p> <p>Thanks.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload