在显示带有IMA扩展名和ProgressiveMediaSource的广告时,我遇到以下错误。就在preroll广告完成后,应用程序崩溃。ext.ima.ImaAdsLoader.getContentProgress(ImaAdsLoader.java:758) at com.google.ads.interactivemedia.v3.internal.iu.a(IMASDK:4) at com.google.ads.interactivemedia.v3.internal.jh.handleMessage
我正在为Android手机开发一个游戏。我想把谷歌的AdMob广告整合到其中,但是让它尽可能的无痛。基本上,我只想在游戏暂停时显示广告(我指的是游戏中的暂停)。在游戏暂停(或游戏结束),我试图显示广告(这是在新创建的线程)但我得到了以下例外
android.view.ViewRootImplCalledFromWrongThreadException: Only the or