Thousands of strange crashes in new Google Play Console version

后端 未结 2 2002
梦如初夏
梦如初夏 2021-02-11 01:11

The ANRs & crashes section of the Google Play Console has been recently updated to display more ANRs & crashes (automatically collected from users that have opted in).

2条回答
  •  刺人心
    刺人心 (楼主)
    2021-02-11 01:56

    I managed to decrease occurrences of it by adding these lines to my Proguard file:

    -keep class android.app.Application
    -keep class <>.MyApplication
    

    that may be shortened to:

    -keep class * extends android.app.Application
    

    According to android source code I suppose it fixed the first issue.

    I also updated all my libs to the last versions (Google Play Services 11.0.2, support lib 25.4.0) that should have fixed the second one.

    UPDATE: it doesn't fix the issue completely. I got far less occurrences but there are still some.

提交回复
热议问题