Lots of ANRs on Android 11

We did a release the other day and noticed that we are getting a ton of ANRs, especially on Android 11. We are using Corona build #3654. Anyone else running into this?

Input dispatching timed out (7ea6e32 com.sx.wonsterwords/com.ansca.corona.CoronaActivity (server) is not responding. Waited 10002ms for FocusEvent(hasFocus=false))



What plugins do you use?

@SGS Here is our list:

  • plugin.zip
  • plugin.google.iap.billing
  • plugin.notifications.v2
  • plugin.reviewPopUp (tech.scotth)
  • plugin.firebaseAnalytics (tech.scotth)

We also have custom created plugins for

Here are some more details on the trace

at com.ansca.corona.Controller.stop (Controller.java)
  at com.ansca.corona.CoronaActivity.requestSuspendCoronaRuntime (CoronaActivity.java:2054)
  at com.ansca.corona.CoronaActivity.onPause (CoronaActivity.java:1877)
  at android.app.Activity.performPause (Activity.java:8327)
  at android.app.Instrumentation.callActivityOnPause (Instrumentation.java:1511)
  at android.app.ActivityThread.performPauseActivityIfNeeded (ActivityThread.java:4842)
  at android.app.ActivityThread.performPauseActivity (ActivityThread.java:4803)
  at android.app.ActivityThread.handlePauseActivity (ActivityThread.java:4751)
  at android.app.servertransaction.PauseActivityItem.execute (PauseActivityItem.java:46)
  at android.app.servertransaction.TransactionExecutor.executeLifecycleState (TransactionExecutor.java:176)
  at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:97)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2131)
  at android.os.Handler.dispatchMessage (Handler.java:106)
  at android.os.Looper.loop (Looper.java:236)
  at android.app.ActivityThread.main (ActivityThread.java:8019)
  at java.lang.reflect.Method.invoke (Native method)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:600)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:967)
  at sun.misc.Unsafe.park (Native method)
  at java.util.concurrent.locks.LockSupport.parkNanos (LockSupport.java:230)
  at java.util.concurrent.FutureTask.awaitDone (FutureTask.java:447)
  at java.util.concurrent.FutureTask.get (FutureTask.java:205)
  at com.adjust.sdk.Util.runSyncInPlayAdIdSchedulerWithTimeout (Util.java:157)
  at com.adjust.sdk.Util.getAdvertisingInfoObject (Util.java:106)
  at com.adjust.sdk.Util.getGoogleAdId (Util.java:224)
  at com.adjust.sdk.Util.getGoogleAdId (Util.java:186)
  at com.adjust.sdk.Adjust.getGoogleAdId (Adjust.java:280)
  at plugin.adjust.LuaLoader.adjust_getGoogleAdId (LuaLoader.java:909)
  at plugin.adjust.LuaLoader.access$6200 (LuaLoader.java:51)
  at plugin.adjust.LuaLoader$GetGoogleAdIdWrapper.invoke (LuaLoader.java:1454)
  at com.ansca.corona.JavaToNativeShim.nativeRender (Native method)
  at com.ansca.corona.JavaToNativeShim.render (JavaToNativeShim.java:204)
  at com.ansca.corona.Controller.updateRuntimeState (Controller.java:358)
  at com.ansca.corona.graphics.opengl.CoronaGLSurfaceView$CoronaRenderer.onDrawFrame (CoronaGLSurfaceView.java:434)
  at com.ansca.corona.graphics.opengl.GLSurfaceView$GLThread.guardedRun (GLSurfaceView.java:1625)
  at com.ansca.corona.graphics.opengl.GLSurfaceView$GLThread.run (GLSurfaceView.java:1380)

Have you seen this issue before?

Yes, I have a real issue with Android 11 also.

@SGS Please do let me know if you have any leads on how to address these.

The crashes appear to be occurring with the adjust plugin just looking at the logs

@Scott_Harrison. mm… I think you are right. Maybe I’ll ask them as well…

Someone else mentioned that other apps that use ads are having similar issues. I wonder if those are also related to getting the advertisingID.

We are getting the same thing. Tons of ANRs, and we are using Adjust’s own plugin. I’ll forward this thread to our contact there.

@solares Yeah - if you can ping them as well, that would be great. So far my contact there says they’ve forwarded to engineering, but no news back yet. I think the more people contact them, the more urgency there would be.