Caused by java.lang.NoSuchMethodError: No virtual method load(Lcom/unity3d/ads/UnityAdsLoadOptions;)V in class...

45 views
Skip to first unread message

Alex

unread,
May 24, 2024, 4:35:24 AMMay 24
to Google Mobile Ads SDK Developers
I'm facing such crash after updating Unity Ads Unity Mediation Plugin.

Stacktrace:
"Caused by java.lang.NoSuchMethodError: No virtual method load(Lcom/unity3d/ads/UnityAdsLoadOptions;)V in class Lcom/unity3d/services/banners/BannerView; or its super classes (declaration of 'com.unity3d.services.banners.BannerView' appears in base.apk!classes4.dex)
       at com.google.ads.mediation.unity.UnityBannerViewWrapper.load(UnityBannerViewWrapper.java:24)
       at com.google.ads.mediation.unity.UnityMediationBannerAd$1.onInitializationComplete(UnityMediationBannerAd.java:232)
       at com.unity3d.services.core.properties.SdkProperties.notifyInitializationComplete(SdkProperties.java:65)
       at com.unity3d.services.core.configuration.CoreModuleConfiguration$2.run(CoreModuleConfiguration.java:95)
       at android.os.Handler.handleCallback(Handler.java:938)
       at android.os.Handler.dispatchMessage(Handler.java:99)
       at android.os.Looper.loopOnce(Looper.java:210)
       at android.os.Looper.loop(Looper.java:299)
       at android.app.ActivityThread.main(ActivityThread.java:8168)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:556)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1037)"

I am using Unity 2022.3.20,
Unity Ads Unity Mediation Plugin 3.11.0,
Google Mobile Ads Unity Plugin v9.1.0.

Full stacktrace:
issue.txt

Mobile Ads SDK Forum Advisor

unread,
May 24, 2024, 10:36:52 AMMay 24
to mrsh...@gmail.com, google-adm...@googlegroups.com
Hi Alex,

Thank you for contacting the Mobile Ads SDK support team.

Can you please confirm whether the crash issue is replicating in our Google banner sample application as well? If yes, Kindly provide the below details privately for further investigation:
  • app ID
  • ad unit ID
  • Sample project replicating the issue 
You can provide the following details via reply privately to the author option or directly provide it to the link below.

If the file(s) you are looking to share are less than 25mb in total you can attach them to this case on your next reply. If you are having trouble attaching your file to this case or if your file(s) are larger than 25mb, you can share your files with me by performing the following steps:

1. Navigate to

https://docs.google.com/forms/d/e/1FAIpQLSfkAiXMeYP-fw1W3Z-tT9uwmATEKO5X6S-th0gR2ezdKaaqfg/viewform?usp=pp_url&entry.400550049=Mobile+Ads+SDK&entry.460850823=5004Q00002tJ5D1QAK&entry.80707362=00236366

2. Fill out all fields, and attach your file(s).

3. Please reply back on this thread when you have uploaded your file(s). Please do not share this link. 

This message is in relation to case "ref:!00D1U01174p.!5004Q02tJ5D1:ref" (ADR-00236366)

Thanks,
 
Google Logo Mobile Ads SDK Team


Alex

unread,
Jul 1, 2024, 3:03:42 PM (14 hours ago) Jul 1
to Google Mobile Ads SDK Developers
I can't replicate the issue.
So I tried to test if the issue comes from Unity Ads Unity Mediation Plugin. 
3.11.0 and 3.11.1 have this crash.
3.10.0 and lower versions don't have it.

пятница, 24 мая 2024 г. в 17:36:52 UTC+3, Mobile Ads SDK Forum Advisor:

Mobile Ads SDK Forum Advisor

unread,
2:44 AM (3 hours ago) 2:44 AM
to mrsh...@gmail.com, google-adm...@googlegroups.com

Hi Alex,

Thanks for the confirmation that the issue is occurring in Unity ads mediation version 3.11.0 and 3.11.1.  

This concern is more of a Mediation issue rather than a technical implementation of Google Mobile Ads SDK. That said, I recommend you contact the Product support team as they are more equipped in mediation concerns. Please note that we can only assist with technical queries/concerns related to the Mobile Ads SDK. 

Diki Septian

unread,
3:06 AM (2 hours ago) 3:06 AM
to mobile...@forumsupport.google, mrsh...@gmail.com, google-adm...@googlegroups.com

Okeee coba liat lagi


--

---
You received this message because you are subscribed to the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-admob-ads-sdk/tq2tQ000000000000000000000000000000000000000000000SFZHCL000iopreDpTe-8-HPozw_LTw%40sfdc.net.
Reply all
Reply to author
Forward
0 new messages