I'm new to admob.I use Android froyo and I added Adview
to my main.xml as follow:
<com.google.ads.AdView
xmlns:googleads="http://schemas.android.com/apk/lib/com.google.ads"
android:id="@+id/ad"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
googleads:adSize="BANNER"
googleads:adUnitId="a14ed7ed1b71bc0" />
so when i try to deploy my app using adb everything is ok. But when i use proguard and i install the apk on my phone, app crashes at the begining.
Logcat says:
Caused by: android.view.InflateException: Binary XML file line #10: Error inflating class com.google.ads.AdView
So I followed some posts here that says to rename lib app folder to libs but no result. I added
to my manifest app.But no result. Is admpob 4.3.1 compliant with froyo? I really have no idea what is the problem.Please help ciao