Admob广告v11.6.0与targetSdk = 25会产生TimeoutException

时间:2017-12-11 10:23:57

标签: android admob

当我使用targetSdk = 25时,此错误将写入logcat:

Error waiting for future.
java.util.concurrent.ExecutionException: java.util.concurrent.TimeoutException
    at com.google.android.gms.ads.internal.util.future.ac.get(:com.google.android.gms@11951036:12)
    at com.google.android.gms.ads.internal.util.future.g.a(:com.google.android.gms@11951036:12)
    at com.google.android.gms.ads.internal.request.service.c.a(:com.google.android.gms@11951036:51)
    at com.google.android.gms.ads.internal.request.service.c.a(:com.google.android.gms@11951036:182)
    at com.google.android.gms.ads.internal.request.service.f.run(:com.google.android.gms@11951036:2)
    at com.google.android.gms.ads.internal.util.x.call(:com.google.android.gms@11951036:2)
    at com.google.android.gms.ads.internal.util.y.run(:com.google.android.gms@11951036:1)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:390)
    at java.util.concurrent.FutureTask.run(FutureTask.java:234)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
    at java.lang.Thread.run(Thread.java:841)
Caused by: java.util.concurrent.TimeoutException
    at com.google.android.gms.ads.internal.util.future.k.run(Unknown Source)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:390)
    at java.util.concurrent.FutureTask.run(FutureTask.java:234)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:153)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267)
    ... 3 more

targetSdk = 26没有错误写入Logcat。 如果targetSdk = 25?

,是否可以使用Admob v11.6.0

0 个答案:

没有答案