title: AdActivity declared in AndroidManifest.xml with ConfigChanges for Admob
body: <p>I am working on an Android app and trying to implement Admob advertisement sdk. I have done everything that have been mentioned in the documentation but I am getting following error in red color in the black window which should have displayed advertisement.</p>
  
  <blockquote>
    <p>You must have AdActivity declared in AndroidManifest.xml with ConfigChanges</p>
  </blockquote>
  
  <p>I have added following line in AndroidManifest.xml:</p>
  
  <pre><code>&lt;activity
          android:name="com.google.ads.AdActivity"
          android:configChanges="keyboard|keyboardHidden|orientation" /&gt;
  </code></pre>
  
  <p>I have tried but still I am not able to resolve this error. I am trying to run the application in my Xperia phone which has Android 4.0.4.</p>