简体   繁体   中英

Keep Android Studio debug crashes out of Google Play Developer Console?

It seems crashes from development started appearing in my Google Play Developer Console.

Sometimes scaring me quite a bit until I realize these are from debugging and not production crashes.

Is there a way to keep crashes that happen while I am developing out of the Google Play Developer Console reporting?

I am also slightly considered about these debug crashes getting reported considering Google is going to start down ranking apps that crash a lot soon.

https://techcrunch.com/2017/08/03/google-play-will-now-downrank-poorly-performing-apps/

The Developer Console only reports crashes from published version numbers (either in alpha, beta or production).

So my solution is very simple:

  1. After publishing a new version, the first thing I do is increase the versionCode in the manifest. And I only use this version number while developing. This way, no crash is sent to the console.
  2. Then, when I'm ready to publish again, I increase the versionCode once more. This way I make sure new crashes will only come from the published version.

EDIT:

As pointed out in the comments, crashes from unpublished versions will still appear on the console under the 'All versions' option. So take this answer as a way to identify and filter those crashes, not to prevent them from being logged.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM