java.lang.NoSuchMethodError: com.google.ads.AdRequest.setGender

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Houseman
, 2 years ago
com.google.ads.AdRequest.setGender
via Google Groups by fast string, 1 year ago
via Google Groups by Tom P, 1 year ago
com.google.ads.AdRequest.setGender
java.lang.NoSuchMethodError: com.google.ads.AdRequest.setGender
at com.adwhirl.adapters.GoogleAdMobAdsAdapter.requestForAdWhirlLayout(GoogleAdMobAdsAdapter.java:93)
at com.adwhirl.adapters.GoogleAdMobAdsAdapter.handle(GoogleAdMobAdsAdapter.java:67)
at com.adwhirl.adapters.AdWhirlAdapter.handle(AdWhirlAdapter.java:168)
at com.adwhirl.AdWhirlLayout.handleAd(AdWhirlLayout.java:231)
at com.adwhirl.AdWhirlLayout.access$300(AdWhirlLayout.java:53)
at android.os.Handler.handleCallback(Handler.java:605)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:4894)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.