问题
I have this in my main.xml
<com.adwhirl.AdWhirlLayout
android:id="@+id/timer_ads"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true" />
And it always results in
Binary XML file line #117: Error inflating class com.adwhirl.AdWhirlLayout
and another interesting line says, Caused by: java.lang.NoSuchMethodException: AdWhirlLayout(Context,AttributeSet)
Does it mean that I can't use the AdWhirlLayout from the xml?
回答1:
This issue has been fixed. Please check this. Thank you @Viktor Bresan for pointing out.
回答2:
I don't know about it,but refer the below url's,it may help you http://malsandroid.blogspot.com/2010/05/admob-and-adwhirl.html http://www.adwhirl.com/pdf/AdWhirl_OpenSourceSDK_Setup_Instructions-Android.pdf
来源:https://stackoverflow.com/questions/3975989/adwhirllayout-problem