3

我的main.xml中有这个

<com.adwhirl.AdWhirlLayout
    android:id="@+id/timer_ads"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:layout_alignParentBottom="true" />

它总是导致

二进制 XML 文件第 117 行:膨胀类 com.adwhirl.AdWhirlLayout 时出错

另一个有趣的说法是, Caused by: java.lang.NoSuchMethodException: AdWhirlLayout(Context,AttributeSet)

这是否意味着我不能使用 xml 中的 AdWhirlLayout?

4

2 回答 2

1

这个问题已被解决。请检查这个。感谢@Viktor Bresan 指出。

于 2010-10-21T05:19:08.350 回答
0

我不知道,但请参考以下网址,它可能会对您有所帮助 http://malsandroid.blogspot.com/2010/05/admob-and-adwhirl.html http://www.adwhirl.com/pdf /AdWhirl_OpenSourceSDK_Setup_Instructions-Android.pdf

于 2010-10-20T08:41:08.087 回答