OutOfMemoryError x loadAd(adRequest) x AdActivity

Asked

Viewed 15 times

1

Good night.

Someone knows the class AdActivity? And does anyone know if I can use it without a problem finish()?

Context acontext = null; 

AdActivity adActivity = (AdActivity) acontext; 

adActivity.finish();

I’m having trouble with OutOfMemoryError which occurs when I don’t call the anuncioView.loadAd(adRequest) and then restart the app.

Can someone help me?

Thanks.

  • What is the package of this AdActivity?

  • I couldn’t find the documentation of this class AdActivity, however, it probably extends the Activity class, so Finish() should work the same way, to help with the error, post the crash log

  • what is the configuration of your AVD? or you are testing on a device ? resonding Victor : I think this is the package with.google.ads.Adactivity

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.