Sometimes I notice the Android emulator starts with a very small font size. This seems to happen randomly. Other times it has a normal font size. I use ADT 10.0.1. Do you know what is the problem?
Sometimes I notice the Android emulator starts with a very small font size. This seems to happen randomly. Other times it has a normal font size. I use ADT 10.0.1. Do you know what is the problem?
This happens very often, and although I'm not sure about the exact reason behind this, it seems that somehow the wrong density was detected for this and resources for a lower dpi is loaded inside a higher dpi emulator. That's why everything is smaller, but the layout works properly and aligns things at their own places. And you're right: when this happens, network doesn't work in emulator! These two things seem unrelated, but my guess is that emulator fails at loading config for the current virtual machine successfully, and that includes density and network capabilities.
Anyways, there doesn't seem to be any official info on this, and similar reports in android-developers mailing list didn't get any response for developers of Android, although this is a very popular bug.
And the solution right now is only restarting the emulator. Sometimes you have to do this more than once, but finally it works.
Make sure your computer's display resolution can satisfy your emulator's exact resolution. If you are using Mac with Retina Display, this problem may occur. Try changing display resolution via Display settings.
When I disconnect a display or log in to the PC through RDP, the resolution of the emulated device changes. The text and icons are extremely small. Sometimes just restarting the emulated was enough, now I have to go to settings in Android Studio -> Device Manager (AVD) and double the current resolution.
© 2022 - 2024 — McMap. All rights reserved.