問題描述
第一件事,
使用 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) 改變像素,模擬器設(shè)備的密度,
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.
如果有人遇到此問題,請?zhí)峁椭?(
please help if somebody could have come across this issue :(
重要 我猜,這個問題與我使用的筆記本電腦、戴爾 Latitude、觸摸屏(14 英寸 QHD 觸摸屏)有關(guān)顯示(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.
推薦答案
我也遇到了同樣的問題.我認(rèn)為它是在我更新到 Android Studio 3.0 Beta 1 時開始發(fā)生的,但我不能 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.
修復(fù):無論如何,要解決這個問題,您可以在模擬器選項中使用 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.
這篇關(guān)于Android 模擬器屏幕僅占實際 android 模擬器屏幕的一小部分的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!