What is the difference between ANR and crash in Android?

前端 未结 13 2171
北海茫月
北海茫月 2020-12-07 22:56

I have searched on the internet regarding what an ANR is. And I studied those references as well. But I don\'t get details regarding a crash in Android.

Can someone

13条回答
  •  时光说笑
    2020-12-07 23:27

    ANR: It is called when anything your application is doing in the UI thread that 
    takes a long time to complete (5 sec approx)
    

    Reference: ANR

    Crash: It is called when  your Application gets some Error or Exception raised by the DVM
    

提交回复
热议问题