I am trying to implement AdMob in my application. But I donβt know how to show this error, and because of this, the R.java file is not created. I tried all the ways to solve this problem, such as "Clean", "Build", "Build all." But not working for me. Following my snippet of code that displays its error "Error parsing XML: Unbound prefix"
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:ads="http://schemas.android.com/apk/lib/com.google.ads" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical" android:background="@color/bgcolor"> <LinearLayout android:id="@+id/Linearlayout1" android:layout_width="fill_parent" android:layout_height="wrap_content" > <com.google.ads.AdView android:id="@+id/adView" android:layout_width="wrap_content" android:layout_height="wrap_content" ads:adSize="BANNER" ads:adUnitId="XXX" ads:refreshInterval="60"/> </LinearLayout>
Please help me. I'm stuck here :(
source share