对非关系模拟器测试Android程序 [英] Test android program on non nexus emulators

查看:210
本文介绍了对非关系模拟器测试Android程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想测试对非关系模拟器像三星手机,索尼,我的Andr​​oid程序...
但在Android Studio中的Andr​​oid设备管理器中只有Nexus设备。
我该怎么办呢?谢谢。

i want test my android programs on non nexus emulators like Samsung mobiles or Sony or ... but android device manager in android studio only has nexus devices. how i do it? thanks.

推荐答案

Android模拟器无法效仿Nexus设备或三星手机,还是索尼的设备。它模拟普通的Andr​​oid设备。

The Android emulator does not emulate "nexus devices", or "Samsung mobiles", or Sony devices. It emulates generic Android devices.

为了帮助您设置Android模拟器的AVD管理有你以一个硬件配置文件。这是有设立之类的屏幕大小和密度,但仅此而已。该AVD管理附带了的Nexus系列设备的硬件配置文件。但是:

To help you set up Android emulators, the AVD Manager has you start with a "hardware profile". That is there to set up things like screen size and density, but that's about it. The AVD Manager ships with hardware profiles for Nexus-series devices. But:


  • 您可以使用新建硬件配置文件按钮来定义你想要的任何硬件配置文件

  • You can use the "New Hardware Profile" button to define any hardware profile that you want

一些厂商,如索尼,报价,你可以加载到你的SDK管理器中的专用硬件配置文件

Some manufacturers, like Sony, offer dedicated hardware profiles that you can load into your SDK Manager

有时,制造商可能实际上出货,可以使用专用的硬件配置文件(亚马逊用来做这一点,但不会当我最后一次检查)

Occasionally, a manufacturer may actually ship emulator images that can be used along with dedicated hardware profiles (Amazon used to do this, but doesn't when I last checked)

这篇关于对非关系模拟器测试Android程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆