No virtual method setRequestAgent Error in Google Mobile Ads SDK 23.0.0

119 views
Skip to first unread message

Natalie Dzhulabi

unread,
May 20, 2024, 1:48:40 PMMay 20
to Google Mobile Ads SDK Developers

Hi everyone,


I'm encountering an issue with my mobile game that's been in release for about a few weeks. Suddenly(it starts on 20th of May), I'm getting the following fatal error on game start:


```

No virtual method setRequestAgent(Ljava/lang/String;)Lcom/google/android/gms/ads/AdRequest$Builder; in class Lcom/google/android/gms/ads/AdRequest$Builder; or its super classes (declaration of 'com.google.android.gms.ads.AdRequest$Builder' appears in base.apk)

```


Here are the details of my setup:

- **Google Mobile Ads SDK version**: 23.0.0

- **Build environment**: Unity

- **Other dependencies**: Various, all updated to their latest versions


Despite these efforts, the error persists. This issue started occurring without any recent changes to the codebase, which leads me to believe it might be related to external factors, possibly updates from Google or changes in their server configurations.


Has anyone else encountered this issue? Any insights or suggestions on how to resolve this would be greatly appreciated!


Thanks in advance for your help.



Mobile Ads SDK Forum Advisor

unread,
May 20, 2024, 5:30:12 PMMay 20
to n.dzhula...@squaretriangle.team, google-adm...@googlegroups.com
Hi,

I have tried running Google sample project and unable to reproduce the issue. Kindly provide us the below details via "Reply to author" option for further investigation:
  • app ID
  • ad unit ID
  • Mobile Ads SDK version
  • Unity editor version
  • Sample project (if any)
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02tJ2F5:ref" (ADR-00235766)

Thanks,
 
Google Logo Mobile Ads SDK Team


Reply all
Reply to author
Forward
0 new messages