The Android emulator is out of view, how can I move it?(Android 模拟器不在视野范围内,我该如何移动它?)
问题描述
我在笔记本电脑上使用了一个额外的显示器,并将 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 模拟器不在视野范围内,我该如何移动它?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Android 模拟器不在视野范围内,我该如何移动它?


- Android viewpager检测滑动超出范围 2022-01-01
- Android - 拆分 Drawable 2022-01-01
- 想使用ViewPager,无法识别android.support.*? 2022-01-01
- android 4中的android RadioButton问题 2022-01-01
- 使用自定义动画时在 iOS9 上忽略 edgesForExtendedLayout 2022-01-01
- 如何检查发送到 Android 应用程序的 Firebase 消息的传递状态? 2022-01-01
- 用 Swift 实现 UITextFieldDelegate 2022-01-01
- Android - 我如何找出用户有多少未读电子邮件? 2022-01-01
- MalformedJsonException:在第1行第1列路径中使用JsonReader.setLenient(True)接受格式错误的JSON 2022-01-01
- 在测试浓缩咖啡时,Android设备不会在屏幕上启动活动 2022-01-01