Android emulator screen fills up only some fraction part of actual android emulator screen(Android 模拟器屏幕仅占实际 android 模拟器屏幕的一小部分)
问题描述
第一件事,
使用 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) 运行 -> 编辑配置..blah blah blah...
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 :(
重要 我猜,这个问题与我使用的笔记本电脑、戴尔 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.
修复:无论如何,要解决这个问题,您可以在模拟器选项中使用 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 模拟器屏幕的一小部分的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Android 模拟器屏幕仅占实际 android 模拟器屏幕的一小部分
基础教程推荐
- 通过重定向链接在 Google Play 中打开应用 2022-01-01
- libGDX 从精灵或纹理中获取像素颜色 2022-01-01
- 如何从 logcat 中删除旧数据? 2022-01-01
- iOS4 创建后台定时器 2022-01-01
- navigator.geolocation.getCurrentPosition 在 Android 浏览器上 2022-01-01
- AdMob 广告未在模拟器中显示 2022-01-01
- Cocos2d iPhone 非矩形精灵触摸检测 2022-01-01
- Android:getLastKnownLocation(LocationManager.NETWORK_PROVIDER 2022-01-01
- NSString intValue 不能用于检索电话号码 2022-01-01
- iPhone - 获取给定地点/时区的当前日期和时间并将其与同一地点的另一个日期/时间进行比较的正确方法 2022-01-01
