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 模拟器不在视野范围内,我该如何移动它?
基础教程推荐
- NSString intValue 不能用于检索电话号码 2022-01-01
- iPhone - 获取给定地点/时区的当前日期和时间并将其与同一地点的另一个日期/时间进行比较的正确方法 2022-01-01
- Android:getLastKnownLocation(LocationManager.NETWORK_PROVIDER 2022-01-01
- libGDX 从精灵或纹理中获取像素颜色 2022-01-01
- AdMob 广告未在模拟器中显示 2022-01-01
- Cocos2d iPhone 非矩形精灵触摸检测 2022-01-01
- 通过重定向链接在 Google Play 中打开应用 2022-01-01
- iOS4 创建后台定时器 2022-01-01
- 如何从 logcat 中删除旧数据? 2022-01-01
- navigator.geolocation.getCurrentPosition 在 Android 浏览器上 2022-01-01
