title: Understanding ANR stack trace given by google play
body: <p>We recently developed a game using cocos2d-js (3.17.1) for android &amp; getting more number of ANR's,I want to understand how we can easily understand the stack trace reported.</p>
  
  <p>I observed like some of the lines are bold &amp; some of them are light gray why is that, each thread have some state, &amp; some ANR's have warnings in yellow, but not getting which thread caused the problem.</p>
  
  <p>Searched on google, gone through lot of posts,google play android docs, its just gives a information about what is mean of ANR, (main thread got blocked) and how to handle / prevent from ANR's, doesn't exactly get how can I extract meaning from stack trace, how to go through stack trace, which thread exactly caused the problem.</p>
  
  <p><strong>Full stack trace is here</strong> <a href="https://del.dog/unafalycej.txt" rel="noreferrer">https://del.dog/unafalycej.txt</a></p>
  
  <p>Attaching a screenshot of ANR which we got most number of time (main thread &amp; blockes thread).</p>
  
  <p><a href="https://i.stack.imgur.com/WqpX6.png" rel="noreferrer"> ANR title screenshot</a></p>
  
  <p><a href="https://i.stack.imgur.com/WqpX6.png" rel="noreferrer">main thread screenshot</a></p>
  
  <p><a href="https://i.stack.imgur.com/WqpX6.png" rel="noreferrer">blocked thread screenshot</a></p>