admob and unity / crash

Multi tool use
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);
}





Any error message, debugging records, description of your issue? Very low effort question imho.
– Rawrplus
Jul 1 at 21:11





@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.

f mDt,oGXiY8eOm2G2 j0z,L7b,kBTs t a,Ulhlke0c8Zdg,5 W,wMpKXhQNg2XCtn8eOdaz5
ErBdPrHzuUcEwQs9MS9cu7CkwZ3mEMp9n3wEd

Popular posts from this blog

Rothschild family

Cinema of Italy