Android Eclipse仿真器问题:运行WVGA(hdpi)作为mdpi屏幕 [英] Android Eclipse emulator problem: Runs WVGA(hdpi) as a mdpi screen

查看:117
本文介绍了Android Eclipse仿真器问题:运行WVGA(hdpi)作为mdpi屏幕的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到的问题是,当我运行FWVGA或WVGA大小的模拟器时,它有时以MDPI大小而不是HDPI运行。以下是图片的示例



http://wonton-games.blogspot.com/2010/06/emulator-problems.html



我创建AVD与适当的hw.lcd.density设置和屏幕大小,它随机地执行此操作。似乎没有一个模式。我以前能够删除AVD并重新创建它,它会修复一段时间,但现在越来越糟。



有没有人有任何想法,因为我发布在Android开发者论坛,但我得到的只是其他人说他们遇到同样的问题。

解决方案

我遇到同样的问题,发现它通常只能通过重新启动来解决 - 我的PC而不是模拟器。我不需要编辑或重新创建AVD来解决问题。



我认为可能与从外部显示器拔下笔记本电脑相关,因此更改了Windows显示分辨率,但我还没有定期重新创建问题。



由于相同的AVD映像可以工作一天而不是下一个工作,并且在重新启动后重新开始工作,这意味着这必须是一个错误仿真器而不是配置AVD的问题。



不幸的是,我不知道有什么问题的解决方法,据我所知,一个href =http://code.google.com/p/android/issues/list =noreferrer>尚未被记录为错误。 (我自己没有登录,就像你说的那样,它随机发生,这使得很难填写一个体面的错误报告。)


The problem I am having is that when I run a FWVGA or WVGA sized emulator it sometimes runs at a MDPI size instead of HDPI. Here is an example with pictures

http://wonton-games.blogspot.com/2010/06/emulator-problems.html

I create the AVD with the proper hw.lcd.density setting and screen size and it randomly does this. There doesn't seem to be a pattern. I used to be able to just delete the AVD and create it over again and it would fix itself for a while but now it's getting worse.

Does anyone have any ideas cause I posted on the Android Developer forum but all I got was other people saying they get the same problem.

解决方案

I get the same problem and find that it is often only solved by a reboot - of my PC rather than of the emulator. I've not needed to edit or recreate the AVD to solve the problem.

I think it might be related to unplugging my laptop from an external monitor and so changes the Windows display resolution but I haven't been able to regularly recreate the problem.

Since the same AVD image can work one day and not the next and the start working again after a reboot means that this must be a bug in the emulator rather than a problem with the configuration of the AVD.

Unfortunately, I don't know of any workarounds for the problem and as far as I can tell this hasn't been logged as a bug. (I haven't logged it myself since, as you say, it occurs randomly which makes it hard to fill in a decent bug report.)

这篇关于Android Eclipse仿真器问题:运行WVGA(hdpi)作为mdpi屏幕的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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