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]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

d.mach

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

  • 849 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

  • 25,788 posts
  • Enterprise

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

  • 849 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

  • 25,788 posts
  • Enterprise

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,337 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

  • 2,106 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

  • 849 posts
  • Corona SDK

[TOPIC: post.html]
#8

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,788 posts
  • Enterprise

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

  • 849 posts
  • Corona SDK


[topic_controls]
[/topic_controls]