The Android emulator is out of view, how can I move it?
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?
Solution 1:
You can use this Method for moving any window that is off the screen in a windows environment.
- First Select the window either by Alt-Tab or Click clicking it
- Press Alt & Space keys together
- Press "M" or select it with the mouse Use your arrow keys to move the Window
- Press Enter to exit
This is far easier than editing any files.
Solution 2:
more exactly from your home directory
(on Linux: $HOME/
on Windows: C:\Users\<your user>
)
go into
.android/avd/<image name>
open the file emulator-user.ini and set window.x and window.y to 0.
window.x = 0
window.y = 0
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"
EDIT:
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.
Solution 3:
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.
Solution 4:
Alt+Space then use the arrow keys