User Tag List

Results 1 to 10 of 10

Thread: Need help figuring out these ANRs

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export Module

    Join Date
    Mar 2012
    Posts
    62
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    Need help figuring out these ANRs

    I suddenly got a lot of ANRs on my app and it's hurting my play store ranking.
    These are the devices affected
    devices.PNG
    and the log
    anr.PNG

    anrs types.PNG

    I can't seem to figure it out what to do with the available data.

  2. #2
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,433
    Mentioned
    229 Post(s)
    Tagged
    4 Thread(s)
    can you point me to your product link in google play store for me to test here in a samsung a50 and see if it crash

    but strange is you are about to end teh application and it have problem deleting memory.

    can you also post

    1.- if you are using a quit button, what you do near the end of application
    2.- if user can quit at any time, by using back button, do you keep updating any object?
    3.- Are you using android object and somehow making intent to check screen OFF
    4.- are using sleep OFF in your application? and somehow not removing at end?
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export Module

    Join Date
    Mar 2012
    Posts
    62
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Here's the game, https://play.google.com/store/apps/d...writelettersAE

    I use Android Object mainly to get AppVersion$( "Android object" ) , PackageName$( "Android object" ) , DeviceID$( "Android object" )
    I use these to send google analytics.

    I use Android Object to detect when the System Back Button is pressed, so that I can trigger a Pop Up screen that asks the user if they want to quit the game. I showcased below only the lines where the user presses the back button and the line where the user agrees to quit the game.

    * Android object : Back button is down?
    + Only one action when event loops
    Special : Activate group "react down"

    * NOT Repeat while left mouse-key is pressed
    + yes button = 4
    + Only one action when event loops
    yes button : Set Counter to 0
    yes : Make invisible
    storyboard controls : End the application

    3&4.- No i don't use sleep off.

    I Have setting ON for "End application when not in foreground". I also disabled Default Back Button Behavior.

  4. #4
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,433
    Mentioned
    229 Post(s)
    Tagged
    4 Thread(s)
    Ok, so far no crash in samsung a50, what i see is that the application have too many ads, one each letter, are you sure no ads are about to be displayed when the user is quitting your apk?
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  5. #5
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export Module

    Join Date
    Mar 2012
    Posts
    62
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Fernando View Post
    Ok, so far no crash in samsung a50, what i see is that the application have to many ads, one each letter, are you sure no ads are about to be displayed when the user is quitting your apk?
    Ads have always been like this. This problem started appearing on a fusion update. The project stayed the same. We updated Fusion to the latest version so that our game could have 64 bit support (google set the deadline for 64 bit compilance by February). And we sent a new apk with the latest Fusion Version(292.22) that's when we started to notice a in ANRs.

    anr v.PNG

    If there is anything you need please feel free to ask because this problem is very worrying for us. Thanks!

  6. #6
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,433
    Mentioned
    229 Post(s)
    Tagged
    4 Thread(s)
    i have being working in teh runtime.

    can you grab me all crash report from this apk, in google dev publish and put in a zip and send it to me, to see if I catch something, thanks in advance.
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export Module

    Join Date
    Mar 2012
    Posts
    62
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Fernando View Post
    i have being working in teh runtime.

    can you grab me all crash report from this apk, in google dev publish and put in a zip and send it to me, to see if I catch something, thanks in advance.
    I wasn't sure how to download all the reports because I didn't see any settings to download all. I made a video where i showcase all the ANRs and the Crashes. I go in depth on the top 5 ANR&Crashes.
    If you need something specifically I can save it as a webpage or some other way i may have missed.
    Link to the video: https://www.loom.com/share/f983f84d2...39ade7472166a8
    Password: clickteam

  8. #8
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export Module

    Join Date
    Mar 2012
    Posts
    62
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    @Fernando I noticed some strange behavior, under Android Options in Fusion at the permissions section, the WAKE_LOCK permission in NOT selected, but when i analyze the apk on Google Play Console under App Releases I can see that that permissions is required.
    permissions.PNG


    permissions-2.PNG

  9. #9
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export Module

    Join Date
    Mar 2012
    Posts
    62
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    @Fernando , do we have any updates? ANRs are still high...

  10. #10
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,433
    Mentioned
    229 Post(s)
    Tagged
    4 Thread(s)
    mm not sure i thought had an idea, but after checking I see them Ok, you are using AdMob, InApp, also see that you are using another extension from third party developer, maybe this extension

    AdMob: add Internet and Access Network State
    InApp : add Billing

    So leave that this permission is set by Third party extension.

    BUT

    My thought still the same. Problem seems to be the amount of ads and the possible existence when closing OR what other extension does when you are closing so you must check there
    Regards,


    Fernando Vivolo

    ... new things are coming ...

Similar Threads

  1. Replies: 0
    Last Post: 29th June 2014, 05:23 AM
  2. Need help figuring out problem
    By Outcast in forum Fusion 2.5
    Replies: 1
    Last Post: 15th March 2014, 01:20 PM
  3. (Maybe) figuring out the ODBC object...
    By RGBreality in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 18th October 2011, 07:14 PM
  4. Could use some help figuring this out.
    By Almightyzentaco in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 13th February 2010, 04:41 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •