问题描述
首先,
使用 Android Studio 2.3.3
问题:
我的模拟器屏幕正在覆盖模拟器可用的唯一部分屏幕,即模拟器的左上方,其余部分只是黑屏.
My emulator screen is covering the only partial amount of screen available for emulator, i.e top left of the emulator and rest part is just a black screen.
查看我所附的图片.
我尝试过的事情:
1)重新启动模拟器
2)尝试使用其他模拟器
2) trying different emulator
3)更改像素,仿真器设备的密度
3) changing pixels, density of emulator device,
4)运行->编辑配置..等等等等...
4) run -> edit configuration ..blah blah blah...
没有帮助!
注意:
我的问题不是模拟器的大小,而是有效屏幕大小..
My issue is not emulator's size but effective screen size.
如果有人可能遇到此问题,请提供帮助:(
please help if somebody could have come across this issue :(
重要 我想,此问题与我使用的笔记本电脑,Dell Latitude,触摸屏(14英寸QHD触摸屏)有关显示(2,560×1,440分辨率).因为同一个模拟器可以在其他显示笔记本电脑上正常工作.
IMPORTANT I guess, this issue has something to do with the laptop I am using, DELL Latitude, touch screen (14-inch QHD touch display (2,560×1,440 resolution).Because the same emulator works properly in other display laptops.
推荐答案
我也遇到了同样的问题.我认为这是在我更新到Android Studio 3.0 Beta 1时开始发生的,但是我不确定100%是否如此.
I was having the same problem too. I think it started happening when I updated to Android Studio 3.0 Beta 1, but I'm not 100% sure of that.
FIX:无论如何,要解决此问题,您可以在仿真器选项中使用Software Graphics
,而不是Hardware
.速度较慢,但至少可以正常工作.
FIX:Anyway, to fix this, you can use Software Graphics
in the emulator options, rather than Hardware
. Slower, but at least it works.
这篇关于Android模拟器屏幕仅占实际android模拟器屏幕的一小部分的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!