Googleplay正在展示由GoogleMobileAds引起的很多ANR。我通过Heyzap Mediation使用Admob。我曾尝试联系Admob支持和Heyzap支持,但没有收到有关此ANR的任何回复。
使用: - Unity 2018.1.1 - Play Services V 12.1.0 - 目标API级别27
ANR
"main" prio=5 tid=1 Native
| group="main" sCount=1 dsCount=0 obj=0x73950000 self=0xb5007800
| sysTid=12754 nice=-6 cgrp=apps sched=0/0 handle=0xb6fc9ec8
| state=S schedstat=( 0 0 0 ) utm=138 stm=65 core=2 HZ=100
| stack=0xbe19f000-0xbe1a1000 stackSize=8MB
| held mutexes=
#00 pc 0000000000012eac /system/lib/libc.so (syscall+28)
#01 pc 00000000000a96fb /system/lib/libart.so (art::ConditionVariable::Wait(art::Thread*)+82)
#02 pc 00000000001acf71 /system/lib/libart.so (art::JNI::SetLongField(_JNIEnv*, _jobject*, _jfieldID*, long long)+524)
#03 pc 0000000000085c51 /system/lib/libandroid_runtime.so (???)
#04 pc 0000000000085fe1 /system/lib/libandroid_runtime.so (???)
#05 pc 00000000000003d3 /data/dalvik-cache/arm/system@framework@boot.oat (Java_android_os_Binder_init__+82)
at android.os.Binder.init (Native method)
at android.os.Binder.<init> (Binder.java:216)
at com.google.android.gms.internal.zzew.<init> (unavailable)
at com.google.android.gms.internal.zzwg.<init> (unavailable)
at com.google.android.gms.internal.zzwe.<init> (unavailable)
at com.google.android.gms.internal.zzmz.getRewardedVideoAdInstance (unavailable)
- locked <@addr=0x130fcbc0> (a java.lang.Object)
at com.google.android.gms.ads.MobileAds.getRewardedVideoAdInstance (unavailable)
at com.heyzap.sdk.mediation.adapter.AdmobAdapter.onStart (AdmobAdapter.java:139)
at com.heyzap.mediation.abstr.NetworkAdapter$1.run (NetworkAdapter.java:105)
at com.heyzap.common.concurrency.WrappedRunnable.run (WrappedRunnable.java:26)
at com.heyzap.common.concurrency.HandlerExecutorService$2.run (HandlerExecutorService.java:59)
at android.os.Handler.handleCallback (Handler.java:739)
at android.os.Handler.dispatchMessage (Handler.java:95)
at android.os.Looper.loop (Looper.java:135)
at android.app.ActivityThread.main (ActivityThread.java:5311)
at java.lang.reflect.Method.invoke! (Native method)
at java.lang.reflect.Method.invoke (Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:908)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:703)