Android admob showing adview missing required XML attribute 'adSize'
<p>I am using below code to implement admob in my application</p>

<pre><code>&lt;LinearLayout
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:fitsSystemWindows="true"
            android:gravity="bottom"
            android:orientation="vertical" &gt;

            &lt;com.google.ads.AdView
                xmlns:ads="http://schemas.android.com/apk/lib/com.admobdemo"
                android:id="@+id/adView"
                android:layout_width="fill_parent"
                android:layout_height="fill_parent"
                ads:adSize="BANNER"
                ads:adUnitId="a24dbba084368tf" /&gt;
        &lt;/LinearLayout&gt;
</code></pre>

<p>but when i run the application i am getting an error message
adview missing required XML attribute 'adSize'
I am not able to get what is the actual problem in this code. </p>

<p>Here is my manifest file code</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.admobdemo"
    android:versionCode="3"
    android:versionName="1.2" &gt;

    &lt;uses-sdk android:minSdkVersion="8" /&gt;

    &lt;supports-screens
        android:anyDensity="true"
        android:largeScreens="true"
        android:normalScreens="true"
        android:smallScreens="true" &gt;
    &lt;/supports-screens&gt;

    &lt;application
        android:icon="@drawable/app_icon"
        android:label="@string/app_name" &gt;
        &lt;activity
            android:name=".SplashScreen"
            android:configChanges="orientation|keyboardHidden"
            android:label="@string/app_name"
            android:noHistory="true"
            android:screenOrientation="portrait"
            android:theme="@android:style/Theme.NoTitleBar" &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;uses-permission android:name="android.permission.INTERNET" /&gt;
    &lt;uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /&gt;
    &lt;uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /&gt;
    &lt;uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /&gt;
    &lt;uses-permission android:name="android.permission.CLEAR_APP_CACHE" /&gt;
    &lt;uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /&gt;
    &lt;uses-permission android:name="android.permission.CHANGE_WIFI_STATE" /&gt;
    &lt;uses-permission android:name=".Provider.Permission.WRITE" /&gt;
    &lt;uses-permission android:name=".Provider.Permission.READ" /&gt;
    &lt;uses-permission android:name="android.permission.READ_PHONE_STATE" /&gt;
    &lt;uses-permission android:name="com.android.vending.BILLING" /&gt;

&lt;/manifest&gt;
</code></pre>
