Probable bug Adwhirl Sdk 3.1.1 with the latest GoogleAdMobAdsAdmob 6.0.0
94 views
Skip to first unread message
fast string
unread,
Apr 24, 2012, 7:26:02 PM4/24/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to AdWhirl Users
Hi Adwhirl Dev Team
When i was trying to upgrade my app with the latest Admob sdk 6.0.0 I
have come across with the following exception .
Normally with the previous Admob 4.3.1 I was able to use the
following functions.
even though i have removed the function in my code, I still could not
receive any ads from admob .Also if you try to use one of the
functions above like setTestMode(false) , I still received an
exception. I think the GoogleAdmobAdapter needs to be changed
according to new Admob Sdk ,it looks like some old function does not
exist anymore or the adRequest() implementation in the admob sdk has
changed. I hope it helps and thanks for your help.
Eclipse Log Output below:
04-25 00:16:48.875: W/AdWhirl SDK(28657): Caught an exception in
adapter:
04-25 00:16:48.875: W/AdWhirl SDK(28657): java.lang.NoSuchMethodError:
com.google.ads.AdRequest.setGender
04-25 00:16:48.875: W/AdWhirl SDK(28657): at
com.adwhirl.adapters.GoogleAdMobAdsAdapter.requestForAdWhirlLayout(GoogleAdMobAdsAdapter.java:
93)
04-25 00:16:48.875: W/AdWhirl SDK(28657): at
com.adwhirl.adapters.GoogleAdMobAdsAdapter.handle(GoogleAdMobAdsAdapter.java:
67)
04-25 00:16:48.875: W/AdWhirl SDK(28657): at
com.adwhirl.adapters.AdWhirlAdapter.handle(AdWhirlAdapter.java:168)
04-25 00:16:48.875: W/AdWhirl SDK(28657): at
com.adwhirl.AdWhirlLayout.handleAd(AdWhirlLayout.java:231)
04-25 00:16:48.875: W/AdWhirl SDK(28657): at
com.adwhirl.AdWhirlLayout.access$300(AdWhirlLayout.java:53)
04-25 00:16:48.875: W/AdWhirl SDK(28657): at com.adwhirl.AdWhirlLayout
$HandleAdRunnable.run(AdWhirlLayout.java:399)
04-25 00:16:48.875: W/AdWhirl SDK(28657): at
android.os.Handler.handleCallback(Handler.java:587)
04-25 00:16:48.875: W/AdWhirl SDK(28657): at
android.os.Handler.dispatchMessage(Handler.java:92)
04-25 00:16:48.875: W/AdWhirl SDK(28657): at
android.os.Looper.loop(Looper.java:123)
04-25 00:16:48.875: W/AdWhirl SDK(28657): at
android.app.ActivityThread.main(ActivityThread.java:3691)
04-25 00:16:48.875: W/AdWhirl SDK(28657): at
java.lang.reflect.Method.invokeNative(Native Method)
04-25 00:16:48.875: W/AdWhirl SDK(28657): at
java.lang.reflect.Method.invoke(Method.java:507)
04-25 00:16:48.875: W/AdWhirl SDK(28657): at
com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:847)
04-25 00:16:48.875: W/AdWhirl SDK(28657): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:605)
04-25 00:16:48.875: W/AdWhirl SDK(28657): at
dalvik.system.NativeStart.main(Native Method)
Regards
Keran
Eric Leichtenschlag
unread,
Apr 26, 2012, 1:23:00 PM4/26/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to adwhir...@googlegroups.com
The AdRequest mutators in 6.0 return the AdRequest instead of void. AdWhirl 3.1.1 was built against 4.3.1, so it's expecting a void return value, and therefore can't find these errors. We're working on this issue.