Height of the status bar increased weirdly inside the android emulator (AVD)
Asked Answered
R

5

36

For some reason the height of the status bar in android emulator is increased. It's not limited to any app though. Attaching the screenshot below:

AVD screenshot

I have tried cold boot and all sorts of stuff. How can I fix this issue?

The last resort I think of is remove this emulator and create a new one. But my new emulator also starts facing this issue. I am not able to know the reason why this starts happening.

Rasp answered 8/8, 2020 at 8:20 Comment(8)
can you add some codes to your question for better understandingSarre
did you manage to solve this? It's happening to me and I also have no clue whyPpi
No I haven't managed to solve this robustly yet. The only solution is to create a new emulator instance. But it reappears again after some time.Rasp
Dealing with the same issue, makes designing impossible on emulatorLawabiding
Any updates with this problem?Barnet
Looks like a Pixel 4 emulator problem. Try a Pixel 3 or 3aAcrodont
Yes this happened to me using a Pixel 4 emulatorFrier
Same problem on Pixel 5Task
C
1

Switching from the "Pixel 5" emulator to a "Medium Phone" emulator was a workaround for me.

Carolinacaroline answered 15/12, 2023 at 18:51 Comment(0)
B
0

Faced this issue and tried a solution. It can be fixed by cold booting the emulator.

To do it:

  1. Close your emulator.
  2. Open Device Manager and click on the down arrow indicating more options. enter image description here
  3. Click on Cold boot now. enter image description here
  4. Let it start, the increased height issue of the TopBar will be fixed.
Bagatelle answered 21/2, 2022 at 12:49 Comment(1)
it didn't work for me.Needful
G
0

I tried looking for an answer, but then I just created a new emulator and deleted the old one. Works great and quick fix

Guaco answered 11/10, 2022 at 16:14 Comment(0)
S
0

I also encountered the same situation where in my actual device the status bar height is all normal but in the emulator the status bar height is bigger than expected.

It is definitely a huge bug.

I encountered this bug in following AVD :

  • Pixel 4 API 30/33

    Screen shot of the bug

Try to avoid Pixel 4, I would suggest you to use Pixel 3/3a

I hope folks at Android fix this bug quickly.

Sclerotomy answered 12/12, 2022 at 6:10 Comment(0)
T
-6

Its completely normal. Its just a glith by the emulator because running emulator is a bit for vertualization and HAMX complexity thing to solve. Just Create another instance of OS with different android version like OREO or Nougat. It might solve this error.

Toneme answered 8/8, 2020 at 8:33 Comment(5)
Is there a reset that I can do to solve this? Created a new emulator. It worked fine for some days and re-surfaced again.Rasp
It can't be "completely normal", it's a bug, not a glitch because it happens every time. Where can we find a more robust answer than this one ?Insouciant
Sad a bug is classified by "completely normal" nowadays. =(Zion
@Insouciant If it is, as you say, a bug what more of an answer can you expect? The right course of action would be to make a bug report.Numbers
The main reason why I said its completely normal for the person who asked because he/she did't gave complete details about what emulator chassis chosen , what os chosen, etc. Because the problem that came is like when u chose an OS with pixel chassis and google play support then that os automatically adds chin to the top bar. Even if in real physical Pixel devices we have bigger chins when the device started shipping with those cut out displays. Other than that if u choose other OS versions with with chassis other than Pixel and play support Os then the chin will not be there.Toneme

© 2022 - 2024 — McMap. All rights reserved.