Android模拟器(非常)失真 [英] Android Emulator is (very) distorted

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

问题描述

我想一张图片可以解释1000多个单词...

I guess a picture explains more than 1000 words...

这是启动后我看到的屏幕-但是启动动画本身已经变形了。
可以在元素通常的位置与仿真器进行交互-例如,在屏幕截图中,如果我单击下部栏的中间,则会选择主页按钮。

This is the screen I get after booting - but the boot animation itself is already distorted. It's possible to interact with the emulator at the elements usual positions - in the screenshot, for example, if I'm clicking in the middle of the lower bar, the home button gets selected.

我还有其他一些AVD,这是发生此行为的第一个。

I had some other AVDs, this is the first one where this behavior occurs.

config.ini (在Windows 7上运行):

The config.ini for the AVD, running on Windows 7:

avd.ini.encoding=UTF-8
abi.type=x86
disk.dataPartition.size=200M
hw.accelerometer=yes
hw.audioInput=yes
hw.battery=yes
hw.camera.back=none
hw.cpu.arch=x86
hw.dPad=no
hw.device.hash2=MD5:750a657019b49e621c42ce9a20c2cc30
hw.device.manufacturer=User
hw.device.name=Samsung Tab
hw.gps=yes
hw.keyboard=yes
hw.lcd.density=160
hw.mainKeys=no
hw.ramSize=2048
hw.sdCard=no
hw.sensors.orientation=yes
hw.sensors.proximity=yes
hw.trackBall=no
image.sysdir.1=system-images\android-19\default\x86\
skin.dynamic=yes
skin.name=601x962
skin.path=601x962
tag.display=Default
tag.id=default
vm.heapSize=32

该设备是自定义配置,我创建了我的devices.xml的要点

The device is a custom configuration, and I've created a Gist with my devices.xml

我发现SO上的此问题,其中的问题似乎是错误的方向(上行)下)-答案并没有真正帮助到我,我希望这个bug三年不存在。

I've found this question here on SO, where the problem seems to be a wrong orientation (upside down) - the answer didn't really help me, and I hope that this bug doesn't exist for three years.

这是一个常见问题,是否存在一些解决方法?

Is this a common problem, and is there some workaround?

推荐答案

这样的对角线显示往往是由于对宽度的分歧(通常为1个像素)引起的在写入线性帧缓冲区的代码与显示它的代码或硬件之间的显示。

A diagonal display like this tends to be caused by a disagreement (usually by 1 pixel) about the width of the display between the code writing to a linear framebuffer and the code or hardware displaying it.

您对601像素宽的皮肤的说明非常可疑。考虑宽度是否应该实际为600。

Your specification of a 601 pixel wide skin is very suspicious. Consider if the width should actually be 600.

这篇关于Android模拟器(非常)失真的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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