Note that there are some explanatory texts on larger screens.

plurals
  1. POAdMob: AdLoader timed out after 60000ms while getting the URL
    primarykey
    data
    text
    <p>I read a lot of previous AdMob posts, but none sufficiently answer the question about the AdLoader timeout problem. This is the error: <a href="http://i42.tinypic.com/9s5ag4.jpg" rel="nofollow">http://i42.tinypic.com/9s5ag4.jpg</a></p> <p>Note: I am using older jar file (<strong>GoogleAdMobAdsSdk-4.1.1.jar</strong>) because I am targeting an older Android version.</p> <p><strong>AndroidManifest.xml</strong></p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.something.www" android:versionCode="1" android:versionName="1.0" &gt; &lt;uses-sdk android:minSdkVersion="7" /&gt; &lt;application android:icon="@drawable/ic_launcher" android:label="@string/app_name" &gt; &lt;activity android:name=".AdActivityActivity" android:label="@string/app_name" &gt; &lt;intent-filter&gt; &lt;action android:name="android.intent.action.MAIN" /&gt; &lt;category android:name="android.intent.category.LAUNCHER" /&gt; &lt;/intent-filter&gt; &lt;/activity&gt; &lt;activity android:name="com.google.ads.AdActivity" android:configChanges="keyboard|keyboardHidden|orientation" &gt; &lt;/activity&gt; &lt;/application&gt; &lt;uses-permission android:name="android.permission.INTERNET" /&gt; &lt;uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /&gt; &lt;/manifest&gt; </code></pre> <p><strong>AdActivity.java</strong></p> <pre><code>package com.something.www; import android.app.Activity; import android.os.Bundle; import android.widget.LinearLayout; import com.google.ads.*; public class AdActivity extends Activity { private AdView adView; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); adView = new AdView(this, AdSize.BANNER, "xxxxxxxxxxxxxxx"); LinearLayout layout = (LinearLayout) findViewById(R.id.main); layout.addView(adView); AdRequest ar = new AdRequest(); ar.addTestDevice(AdRequest.TEST_EMULATOR); ar.addTestDevice("425EF274CEBECB11F9EFEBF5B51458B1"); adView.loadAd(ar); return; } } </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    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.
    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