Error Unity AndroidJavaException: java.lang.NoSuchMethodError: no static method with name="show"

Hey,
Since 27th, March when i have uploaded Unity Ads package from 3.6.2 to 3.7.0 no one of my interstitial video is working over all my apps and even break my game when this error is thrown to logcat:

Error Unity AndroidJavaException: java.lang.NoSuchMethodError: no static method with name=‘show’ signature=‘(Lcom.unity3d.player.UnityPlayerActivity;Lcom.unity3d.ads.IUnityAdsShowListener;)V’ in class Ljava.lang.Object;

I have uploaded my Unity version to 2020.3.2f1 LTS, rebuilding addressables but nothing change.
I am not using proguard (strip engine is disabled)

Does someone have advice? I just want to fix it quickly before all users gone …

Also noted:
When initializing unity ads at runtime this error is also thrown:
Error UnityAds com.unity3d.services.store.StoreBilling.asInterface() (line:28) :: Billing service stub not found: com.android.vending.billing.IInAppBillingService$Stub: com.android.vending.billing.IInAppBillingService$Stub
But the rewarded video works.

Okay fixed, remove the 3.7.0 version of unity ads package and install the 3.6.1

2 Likes

I had the exact same problem, thanks for the tip!!

I have the exact same problem. This wasn’t fixed yet?

I found the reason:
Advertisement.Show(); does not work anymore.

You HAVE to pass the placementId
Advertisement.Show(placementId);

1 Like

Shit, this happened to me also. UnityAds package was updated automatically when migrating to the latest Unity. I was using Show() with no args. The workaround with placementId works btw.

@wagenheimer , @hippogames , @cybearcode, @BeorGames_1

Thanks for reporting this issue. We will try to get this resolved in a future version of the Ads SDK.

1 Like