Android Vitals “Bad Behaviour” Flags

General Tech Bugs & Fixes 2 years ago

0 2 0 0 0 tuteeHUB earn credit +10 pts

5 Star Rating 1 Rating

Posted on 16 Aug 2022, this text provides information on Bugs & Fixes related to General Tech. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Answers (2)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 2 years ago

 

1

Google Play recently released the “Android Vitals” feature in the Google Play Console whereby they present analytic information about the released app.

The Android Vitals tab contains analytic information like crashes, ANR, multi-crashes, Slow Rendering, Frozen Frames, etc. They also show “bad behaviour” metrics whereby they compare the analytics of your app with benchmarks. If your app gets flagged with bad beahviours flags, then supposedly it can impact your rankings/downloads etc.

Is anyone else experiencing bad behaviour flags in their app on google play? Has anyone else seen a dramatic decrease in organic traffic since the Android Vitals tab was introduced? Does anyone have any advice on how to best solve these “bad behaviour” flags considering our Apps are developed with AS

Thanks in advance

bad behav image

installs

java.lang.NullPointerException: 

  at com.mydemoapp.player.activity.Dashboard$37.subscribeActual (Dashboard.java:2033)

  at io.reactivex.Observable.subscribe (Observable.java:10179)

  at io.reactivex.internal.operators.observable.ObservableSubscribeOn$1.run (ObservableSubscribeOn.java:39)

  at io.reactivex.Scheduler$1.run (Scheduler.java:134)

  at io.reactivex.internal.schedulers.ScheduledRunnable.run (ScheduledRunnable.java:59)

  at io.reactivex.internal.schedulers.ScheduledRunnable.call (ScheduledRunnable.java:51)

  at java.util.concurrent.FutureTask.run (FutureTask.java:237)

  at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run (ScheduledThreadPoolExecutor.java:272)

  at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1133)

  at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:607)

  at java.lang.Thread.run (Thread.java:761)

--

private Observable>> provideSongListOberservable() {
        return new Observable>>() {
            @Override
            protected void subscribeActual(Observer>> observer) {

                File home = new File(MEDIA_PATH);
                String[] values = getResources().getStringArray(R.array.array_songs);
                ArrayList> songsList = new ArrayList<>();

                if (home.listFiles(new FileExtensionFilter()).length > 0) {
                    for (File file : home.listFiles(new FileExtensionFilter())) {
                        try {
                            HashMap song = new HashMap<>();
                            song.put(KEY_SONG_TITLE,
                                    values[Integer.parseInt(file.getName().split("_")[1].substring(0,
                                            (file.getName().split("_")[1].length() - 4))) - 1]);
                            song.put(KEY_SONG_PATH, file.getPath());

                            // Adding each song to SongList
                            songsList.add(song);
                        } catch (Exception e) {
                            e.printStackTrace();
                        }
                    }
                }

                observer.onNext(songsList);
            }
        };
    }
profilepic.png
manpreet 2 years ago

An "App crashing" bad behavior means your app is crashing a lot.

Google Play has publicly said (eg this talk) that it will use bad behavior as a signal when deciding which how to order apps in search results, and choose which apps to promote.

In order to fix this - get your development team to make crash fixing a priority, not just adding new features. Use the crash reports in the Play console to find out the bugs in your app, and fix them.


0 views   0 shares

No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.