title: Google Play ANR com.android.billingclient.api.BillingClientStateListener.onBillingSetupFinished
body: <p>We are getting excessive ANR reports in Google Play and it is putting our game above the ANR &quot;Bad behavior&quot; threshold.</p>
  <p>Below is what most of the logs look like:</p>
  <pre><code>#00  pc 00000000000e1aaf  /data/app/com.doubletapsoftware.basketballbattle-UpZm6V6zLj2a-Tg-QXAtkg==/lib/arm/libunity.so (???)
    #00  pc 000000000000045d  /data/app/com.doubletapsoftware.basketballbattle-UpZm6V6zLj2a-Tg-QXAtkg==/oat/arm/base.odex (Java_com_unity3d_player_ReflectionHelper_nativeProxyInvoke__JLjava_lang_String_2_3Ljava_lang_Object_2+156)
    at com.unity3d.player.ReflectionHelper.nativeProxyInvoke (Native method)
    at com.unity3d.player.ReflectionHelper.a (unavailable)
    at com.unity3d.player.ReflectionHelper$1.invoke (unavailable)
    at java.lang.reflect.Proxy.invoke (Proxy.java:913)
    at com.android.billingclient.api.BillingClientStateListener.onBillingSetupFinished
    at com.android.billingclient.api.zzae.run
    at android.os.Handler.handleCallback (Handler.java:790)
    at android.os.Handler.dispatchMessage (Handler.java:99)
    at android.os.Looper.loop (Looper.java:164)
    at android.app.ActivityThread.main (ActivityThread.java:7000)
    at java.lang.reflect.Method.invoke (Native method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:441)
    at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1408)
  </code></pre>
  <p>We have tried upgrading from Unity In App Purchasing 2.2.2 to 3.1.0 but the problem remains.</p>
  <p>Does anyone know how to fix this issue?</p>
  <p>Another example:</p>
  <pre><code> #00  pc 000000000006b4e8  /system/lib64/libc.so (nanosleep+8)
    #00  pc 000000000054c59c  /data/app/com.doubletapsoftware.basketballbattle-joHdJRehI4I_7r70Dhl7FQ==/lib/arm64/libil2cpp.so (???)
    #00  pc 00000000005591a4  /data/app/com.doubletapsoftware.basketballbattle-joHdJRehI4I_7r70Dhl7FQ==/lib/arm64/libil2cpp.so (???)
    #00  pc 000000000056b524  /data/app/com.doubletapsoftware.basketballbattle-joHdJRehI4I_7r70Dhl7FQ==/lib/arm64/libil2cpp.so (???)
    #00  pc 000000000052cf88  /data/app/com.doubletapsoftware.basketballbattle-joHdJRehI4I_7r70Dhl7FQ==/lib/arm64/libil2cpp.so (???)
    #00  pc 00000000002de020  /data/app/com.doubletapsoftware.basketballbattle-joHdJRehI4I_7r70Dhl7FQ==/lib/arm64/libunity.so (???)
    #00  pc 000000000017e5b4  /data/app/com.doubletapsoftware.basketballbattle-joHdJRehI4I_7r70Dhl7FQ==/lib/arm64/libunity.so (???)
    #00  pc 000000000017e4cc  /data/app/com.doubletapsoftware.basketballbattle-joHdJRehI4I_7r70Dhl7FQ==/lib/arm64/libunity.so (???)
    #00  pc 00000000000006c0  /data/app/com.doubletapsoftware.basketballbattle-joHdJRehI4I_7r70Dhl7FQ==/oat/arm64/base.odex (Java_com_unity3d_player_ReflectionHelper_nativeProxyInvoke__JLjava_lang_String_2_3Ljava_lang_Object_2+208)
    at com.unity3d.player.ReflectionHelper.nativeProxyInvoke (Native method)
    at com.unity3d.player.ReflectionHelper.a (unavailable)
    at com.unity3d.player.ReflectionHelper$1.invoke (unavailable)
    at java.lang.reflect.Proxy.invoke (Proxy.java:913)
    at com.android.billingclient.api.SkuDetailsResponseListener.onSkuDetailsResponse
    at com.android.billingclient.api.zzac.run
    at android.os.Handler.handleCallback (Handler.java:795)
    at android.os.Handler.dispatchMessage (Handler.java:99)
    at android.os.Looper.loop (Looper.java:166)
    at android.app.ActivityThread.main (ActivityThread.java:6861)
    at java.lang.reflect.Method.invoke (Native method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:450)
    at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:936)
  </code></pre>