Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Bad ANR rate errors...
Started by d.mach Nov 09 2018 12:18 AM

8 replies to this topic
anr android google play developer console error
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

d.mach

[GLOBAL: userInfoPane.html]
d.mach
  • Contributor

  • 725 posts
  • Corona SDK

I get a lot of ANR arrors with my Android game. Here is an example:

 

Input dispatching timed out (Waiting to send non-key event because the touched window has not finished processing certain input events that were delivered to it over 500.0ms ago. Wait queue length: 2. Wait queue head age: 18259.3ms.)

com.ansca.corona.CoronaActivity

 

and

 

Input dispatching timed out (Waiting to send non-key event because the touched window has not finished processing certain input events that were delivered to it over 500.0ms ago. Wait queue length: 3. Wait queue head age: 6637.4ms.)

com.ansca.corona.CoronaActivity

 

I have no idea what this means and where to look at in the code to get this faster.

Does anybody have the same problem and maybe was able to fix it?

 

 



[TOPIC: post.html]
#2

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 24,860 posts
  • Corona Staff

What version of Corona are you using and what plugins are you using (post your build.settings!)

 

Rob



[TOPIC: post.html]
#3

d.mach

[GLOBAL: userInfoPane.html]
d.mach
  • Contributor

  • 725 posts
  • Corona SDK

What version of Corona are you using and what plugins are you using (post your build.settings!)

 

Rob

 

I'm using Corona build 3407 and the plugins part from the build.settings:

plugins =
            {
            
                ["plugin.flurry.analytics"] =
                {
                    publisherId = "com.coronalabs"
                },

                ["plugin.admob"] =
                {
                    publisherId = "com.coronalabs",
                    supportedPlatforms = { android=true }
                },


                ["plugin.gpgs.v2"] = {
                    publisherId = "com.coronalabs",
                    supportedPlatforms = { ["android"] = true }
                },


                ["plugin.google.iap.v3"] =
                {
                  publisherId = "com.coronalabs",
                  supportedPlatforms = { android = true }
                },

                ["CoronaProvider.native.popup.social"] =
                {
                    publisherId = "com.coronalabs",
                    supportedPlatforms = { android=true }
                },

                -- needed for dusk:
                ["plugin.bit"] =
                {
                    publisherId = "com.coronalabs"
                },
     
            },


[TOPIC: post.html]
#4

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 24,860 posts
  • Corona Staff

You should be able to drill down into those errors on the Google Play console and get more information. If you can do that it would be helpful.

 

Rob



[TOPIC: post.html]
#5

davebollinger

[GLOBAL: userInfoPane.html]
davebollinger
  • Corona Geek

  • 1,236 posts
  • Enterprise

..and define "a lot" (how many events vs how many sessions and over what period)

 

i get these too, but not "a lot", rather "extremely few"



[TOPIC: post.html]
#6

SGS

[GLOBAL: userInfoPane.html]
SGS
  • Corona Geek

  • 1,878 posts
  • Corona SDK

I found moving from support all to only Android 5+ massively dropped these ANRs



[TOPIC: post.html]
#7

d.mach

[GLOBAL: userInfoPane.html]
d.mach
  • Contributor

  • 725 posts
  • Corona SDK

Here is some more info:

 

https://pastebin.com/s3QTZtfP



[TOPIC: post.html]
#8

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 24,860 posts
  • Corona Staff

Can I ask you to edit your post and use a service like pastebin.com to paste that stack trace into and then put the link in the post?

 

Thanks

Rob



[TOPIC: post.html]
#9

d.mach

[GLOBAL: userInfoPane.html]
d.mach
  • Contributor

  • 725 posts
  • Corona SDK

Here (and above) it is: https://pastebin.com/s3QTZtfP




[topic_controls]
[/topic_controls]

Also tagged with one or more of these keywords: anr, android, google play, developer, console, error