Android Admob无法加载广告:0-等待将来的TimeoutException出错,仅适用于OREO问题

时间:2018-10-19 08:45:25

标签: android admob ads google-admob timeoutexception

我面临着Admob的一些问题,我不知道为什么,但这仅是OREO的问题。我收到以下错误消息:如果仅在OREO中运行应用程序,则在其他版本中运行正常。

我在Google上搜索了很多内容,但是没有找到任何解决方案。

10-19 14:02:47.991 3124-12984/? E/Ads: Error waiting for future.
    java.util.concurrent.ExecutionException: java.util.concurrent.TimeoutException
        at com.google.android.gms.ads.internal.util.future.af.get(:com.google.android.gms@14366015@14.3.66 (040300-213742215):18)
        at com.google.android.gms.ads.internal.util.future.g.a(:com.google.android.gms@14366015@14.3.66 (040300-213742215):11)
        at com.google.android.gms.ads.internal.request.service.c.a(:com.google.android.gms@14366015@14.3.66 (040300-213742215):62)
        at com.google.android.gms.ads.internal.request.service.c.a(:com.google.android.gms@14366015@14.3.66 (040300-213742215):169)
        at com.google.android.gms.ads.internal.request.service.f.run(:com.google.android.gms@14366015@14.3.66 (040300-213742215):1)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:458)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
        at java.lang.Thread.run(Thread.java:764)
     Caused by: java.util.concurrent.TimeoutException
        at com.google.android.gms.ads.internal.util.future.m.run(Unknown Source:2)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:458)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:301)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162) 
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636) 
        at java.lang.Thread.run(Thread.java:764) 
10-19 14:02:47.992 26870-26887/com.xxx.xxx W/Ads: There was a problem getting an ad response. ErrorCode: 0
10-19 14:02:47.993 26870-26870/com.xxx.xxx W/Ads: Failed to load ad: 0

有帮助吗?

1 个答案:

答案 0 :(得分:1)

我只能从我的应用程序中找到答案。

您至少需要等待2-3天。

今天我经过3天的检查,其工作正常,代码没有任何变化。