Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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/

like image 275
Sealer_05 Avatar asked Aug 07 '17 22:08

Sealer_05


People also ask

Why does my Google Play keep closing?

Install the Latest Google Play For applications in our android phones to work perfectly, they need to be updated. This helps maximize the full potentials of that app. The reason why your google play services keep stopping may be because the app is not updated.

Why does my Android Studio keeps crashing?

Apart from memory management, there are also several reasons to falls keep stopping Android Studio. Such as working on wrong coding or having some exceptions in the programs. Besides, this app can crash if you're working with full cache memory, old updates, and insufficient RAM.


1 Answers

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.

like image 130
jmart Avatar answered Oct 17 '22 01:10

jmart