Thousands of strange crashes in new Google Play Console version

后端 未结 2 1960
梦如初夏
梦如初夏 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 <<MyPackage>>.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.

    0 讨论(0)
  • 2021-02-11 02:01

    First bug look like there is a problem with multiple dex​. Make sure you have correct implementation for it. Or if you have .so files in libs folder also make sure they covers all cpu architectures. If still occurs check your proguard file

    Second bug is all about Google play service versions. Your app requires higher play service version and device doesn't have this. It's needed to be updated or make sure it's have play services also. You can search web about Google Play Service Availability for more info.

    Good luck

    Emre

    0 讨论(0)
提交回复
热议问题