gpt4 book ai didi

android - 如何模拟 Nexus 4?

转载 作者:塔克拉玛干 更新时间:2023-11-02 23:50:26 25 4
gpt4 key购买 nike

是否可以创建一个 AVD 来模拟 Nexus 4?

我正在使用 Eclipse,我很确定我已经更新了所有 SDK 工具等,以及 4.2 SDK/系统镜像等。

但是,当我打开 AVD 管理器添加新的 AVD 时,似乎不再能够输入自定义分辨率/密度等。有一个包含多个设备的下拉列表,但没有 Nexus 4,也没有通用分辨率为 768x1200 的版本。

我是不是漏掉了一些明显的东西?

在此先感谢您的帮助!

最佳答案

将您的 ADT 更新到版本 21 之后。

在旧版本中,如果您想要自定义设备配置(如果您想要 Nexus 4),每次都必须设置添加自定义屏幕。

在ADT21版本中你可以通过以下方式完成这件事

open AVD Manager, u can define your custom screen in "Device Definition"

备选方案(更简单的方法)

in Newest Version you Don't Need to Set Custom Device Configurations from the above Suggestion as much easier way is available for it. you >Just Have to Make Emulator With your Device Configurations and after you will see those Configurations with Emulator Name Inside Graphical Layout of XML

就像在使用名称为“Nexus7_Android_4.2”的 Android 4.2 创建我的 Nexus7 模拟器之后,我将自动在 xml 的图形布局中获取此设备配置。

下面是它的屏幕截图。

enter image description here

希望对您有所帮助。

关于android - 如何模拟 Nexus 4?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13839363/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com