在Android模拟器小字体大小 [英] Small font size in Android emulator

查看:267
本文介绍了在Android模拟器小字体大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有时候,我注意到了Android模拟器用非常小的字体大小启动。这似乎是随机发生的。其他时候,它有一个正常的字体大小。
我使用ADT 10.0.1。
你知道是什么问题?

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?

推荐答案

这会发生,很多时候,虽然我不知道这背后的确切原因,似乎为这个资源被检测出莫名其妙的错密度较低的DPI加载更高dpi的仿真器内部。这就是为什么一切都较小,但布局正常工作,并在自己的位置对齐的东西。您说对了:在这种情况下,网络不显示在模拟器上工作!这两个事情似乎风马牛不相及,但我的猜测是,在仿真器加载配置失败当前虚拟机成功,这包括密度和网络功能。

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.

不管怎么说,似乎没有能在这个任何官方信息,以及的类似的报道在 Android的开发者邮件列表并没有得到为Android开发者任何反应,虽然这是一个非常受欢迎的bug。

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.

这篇关于在Android模拟器小字体大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆