admob and unity / crash

Multi tool use
admob and unity / crash
Everything is fine in the console, but it crashes on the smartphone when the ad is requested.
InterstitialAd interstitial;
public void RequestInterstitial()
{
string adUnitId = "from admob";
interstitial = new InterstitialAd(adUnitId);
AdRequest request = new AdRequest.Builder().Build();
interstitial.LoadAd(request);
}
public void ShowInterstitial()
{
if (interstitial.IsLoaded())
{
interstitial.Show();
}
}
void Start()
{
string appId = "from admob";
MobileAds.Initialize(appId);
}
@Rawrplus where i can take it
– Moonwar
Jul 2 at 0:25
1 Answer
1
my problem solved this:
Assets > Play Services Resolver > Android Resolver > Resolve
Assets > Play Services Resolver > Android Resolver > Force Resolve
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
Any error message, debugging records, description of your issue? Very low effort question imho.
– Rawrplus
Jul 1 at 21:11