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?
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?
Answers:
更确切地说是从您的主目录
(在Linux上:$HOME/
在Windows上C:\Users\<your user>
:)进入
.android/avd/<image name>
打开文件emulator-user.ini并将window.x和window.y设置为0。
window.x = 0
window.y = 0
如果.android
在Linux上看不到隐藏目录Ctrl+H
,请从Windows中选择“视图”>“选项”>“视图(Tab)”,然后选择“显示隐藏文件”
编辑:
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.
您可以使用此方法在Windows环境中移动屏幕外的任何窗口。
这比编辑任何文件容易得多。
It was easy. I opened the avd location and the file emulator-user.ini contains the location and can be changed.
Maybe someone else needs it.
For Windows operating system Control panel -> Programs -> Turn window features on or off -> check Telnet client and Telnet server option -> ok
now open your cmd as administrator come to your 'c' drive path using cd\
C:\Users\Harin>cd\
C:\telnet localhost 5554
now it's open new window write
window scale 0.3
here 5554 is your emulator screen number and 0.3 is your screen size, you can change as you want for example 0.2 or 0.4 etc
In my case none of the answers related to move the emulator window worked.
To make it work with "scale and layout" NOT in 100% (as I had in my case) I had to do this
Also did this (not sure if necessary, but in case somebody needs it):
I had to right click on desktop, then "display properties", then "Advanced scaling settings", then set the scaling to 100% (I had it in 250%), then open the emulator and resize it as small as possible and put it in the top left of my screen. Then "Turn off custom scaling and sign out", then I could see and resize my emulator window.