問題描述
我在筆記本電腦上使用了一個額外的顯示器,并將 Android 模擬器移到了那里.即使不再連接顯示器,它似乎也能記住位置.
I used an additional display with my laptop and moved the Android emulator there. It seems to remember the location even if the display is not connected anymore.
有沒有辦法重置窗口的位置,讓它再次可見?
Is there any way to reset the position of the window so it becomes visible again?
推薦答案
更準確地來自您的主目錄
more exactly from your home directory
(在 Linux 上:$HOME/
在 Windows 上:C:Users<您的用戶>
)進入
(on Linux: $HOME/
on Windows: C:Users<your user>
)
go into
.android/avd/<image name>
打開文件 emulator-user.ini 并設置window.x 和 window.y 為 0.
open the file emulator-user.ini and set window.x and window.y to 0.
window.x = 0
window.y = 0
如果您在 Linux 上看不到隱藏目錄 .android
,請按 Ctrl+H
并從 Windows 中選擇 View>Options>View (Tab) 并選擇 顯示隱藏文件"
If you don't see the hidden dir .android
on Linux press Ctrl+H
and from Windows select View>Options>View (Tab) and select "Show hidden files"
如果文件 emulator-user.ini 不存在,請關閉模擬器窗口,然后再次檢查 avd 目錄.這是因為 emulator-user.ini 是在模擬器第一次運行后生成的.
If the file emulator-user.ini doesn't exist, close the emulator window, then check the avd directory again. This is because emulator-user.ini is generated after the first run of the emulator.
這篇關于Android 模擬器不在視野范圍內(nèi),我該如何移動它?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!