Android10虚拟硬件,编辑 Android 虚拟设备属性

abi.type

ABI 类型 – 指定仿真设备的 ABI(应用程序二进制接口)类型。ABI type – Specifies the ABI (application binary interface) type of the emulated device. x86 选项适用于通常被称为“x86”或“IA-32”的指令集。The x86 option is for the instruction set commonly referred to as "x86" or "IA-32." x86_64 选项适用于 64 位 x86 指令集。The x86_64 option is for the 64-bit x86 instruction set. armeabi-v7a 选项适用于具有 v7-a ARM 扩展的 ARM 指令集。The armeabi-v7a option is for the ARM instruction set with v7-a ARM extensions. arm64-v8a 选项适用于支持 AArch64 的 ARM 指令集。The arm64-v8a option is for the ARM instruction set that supports AArch64.

x86、x86_64、armeabi-v7a、arm64-v8ax86, x86_64, armeabi-v7a, arm64-v8a

disk.cachePartition

缓存分区 – 确定仿真设备是否将在设备上使用 /cache 分区。Cache partition – Determines whether the emulated device will use a /cache partition on the device. /cache 分区(最初为空)是 Android 存储经常访问的数据和应用组件的位置。The /cache partition (which is initially empty) is the location where Android stores frequently accessed data and app components. 如果设置为“否” ,仿真器将不使用 /cache 分区,且其他的 disk.cache 设置将被忽略。If set to no, the emulator will not use a /cache partition and the other disk.cache settings will be ignored.

yes、noyes, no

disk.cachePartition.path

缓存分区路径 – 在开发计算机上指定一个缓存分区映像文件。Cache partition path – Specifies a cache partition image file on your development computer. 仿真器将此文件用于 /cache 分区。The emulator will use this file for the /cache partition. 输入绝对路径或相对于仿真器数据目录的路径。Enter an absolute path or a path relative to the emulator's data directory. 如果未设置,仿真器将在开发计算机上创建一个名为 cache.img 的空临时文件。If not set, the emulator creates an empty temporary file called cache.img on your development computer. 如果文件不存在,它则会被创建为一个空文件。If the file does not exist, it is created as an empty file. 如果 disk.cachePartition 设置为“否” ,则忽略此选项。This option is ignored if disk.cachePartition is set to no.

disk.cachePartition.size

缓存分区大小 – 缓存分区文件的大小(以字节为单位)。Cache partition size – The size of the cache partition file (in bytes). 通常不需要设置此选项,除非应用将下载非常大的文件,这些文件大于 66 MB 的默认缓存大小。Normally you do not need to set this option unless the app will be downloading very large files that are larger than the default cache size of 66 megabytes. 如果 disk.cachePartition 设置为“否” ,则忽略此选项。This option is ignored if disk.cachePartition is set to no. 如果此值为整数,它则以字节为单位指定大小。If this value is an integer, it specifies the size in bytes. 还可以通过将 K、M 或 G 追加到值中来以 KB、MB 或 GB 为单位指定大小 。You can also specify the size in kilobytes, megabytes, and gigabytes by appending K, M, or G to the value. 最小大小为 9 M ;最大为 1023 G 。The minimum size is 9M and the maximum size is 1023G.

disk.dataPartition.initPath

数据分区的初始路径 – 指定数据分区的初始内容。Initial path to the data partition – Specifies the initial contents of the data partition. 擦除用户数据后,仿真器将指定文件的内容复制到用户数据(默认情况下为 userdata-qemu.img ),而不是使用 userdata.img 作为初始版本。After wiping user data, the emulator copies the contents of the specified file to user data (by default, userdata-qemu.img) instead of using userdata.img as the initial version.

disk.dataPartition.path

数据分区的路径 – 指定用户数据分区文件。Path to the data partition – Specifies the user data partition file. 若要配置永久性用户数据文件,请在开发计算机上输入文件名和路径。To configure a persistent user data file, enter a filename and a path on your development computer. 如果文件不存在,仿真器将从默认文件 userdata.img 创建一个映像,将它存储在由 disk.dataPartition.path 指定的文件名中,并在仿真器关闭时将用户数据永久保存到其中。If the file doesn't exist, the emulator creates an image from the default file userdata.img, stores it in the filename specified by disk.dataPartition.path, and persists user data to it when the emulator shuts down. 如果不指定路径,默认文件名为 userdata-qemu.img 。If you don't specify a path, the default file is named userdata-qemu.img. 使用特殊值 会使仿真器创建并使用一个临时文件。The special value causes the emulator to create and use a temporary file. 如果 disk.dataPartition.initPath 已设置,会再启动时将其内容复制到 disk.dataPartition.path 文件。If disk.dataPartition.initPath is set, its content will be copied to the disk.dataPartition.path file at boot-time. 注意,此选项不能留空。Note that this option cannot be left blank.

disk.dataPartition.size

数据分区大小 – 指定用户数据分区的大小(以字节为单位)。Data partition size – Specifies the size of the user data partition in bytes. 如果此值为整数,它则以字节为单位指定大小。If this value is an integer, it specifies the size in bytes. 还可以通过将 K、M 或 G 追加到值中来以 KB、MB 或 GB 为单位指定大小 。You can also specify the size in kilobytes, megabytes, and gigabytes by appending K, M, or G to the value. 最小大小为 9 M ;最大为 1023 G 。The minimum size is 9M and the maximum size is 1023G.

disk.ramdisk.path

Ramdisk 路径 – 到启动分区 (ramdisk) 映像的路径。Ramdisk path – Path to the boot partition (ramdisk) image. ramdisk 映像是装载系统映像之前由内核加载的系统映像的子集。The ramdisk image is a subset of the system image that is loaded by the kernel before the system image is mounted. ramdisk 映像通常包含启动时的二进制文件和初始化脚本。The ramdisk image typically contains boot-time binaries and initialization scripts. 如果未指定此选项,仿真器系统目录中的默认值为 ramdisk.img 。If this option is not specified, the default is ramdisk.img in the emulator system directory.

disk.snapStorage.path

快照存储路径 – 到存储所有快照的快照存储文件的路径。Snapshot storage path – Path to the snapshot storage file where all snapshots are stored. 在执行期间进行的所有快照将被保存到此文件。All snapshots made during execution will be saved to this file. 只有被保存到此文件的快照在仿真器运行期间才能被还原。Only snapshots that are saved to this file can be restored during the emulator run. 如果未指定此选项,仿真器数据目录中的默认值为 snapshots.img。If this option is not specified, the default is snapshots.img in the emulator data directory.

disk.systemPartition.initPath

系统分区初始路径 – 到系统映像文件的只读副本的路径;具体来说,是指包含系统库以及与 API 级别和任何变体相对应的数据的分区。System partition init path – Path to the read-only copy of the system image file; specifically, the partition containing the system libraries and data corresponding to the API level and any variant. 如果未指定此选项,仿真器系统目录中的默认值为 system.img。If this path is not specified, the default is system.img in the emulator system directory.

disk.systemPartition.path

系统分区路径 – 到读/写系统分区映像的路径。System partition path – Path to the read/write system partition image. 如果未设置此路径,则将创建一个临时文件并从 disk.systemPartition.initPath 指定的文件内容初始化此文件。If this path is not set, a temporary file will be created and initialized from the contents of the file specified by disk.systemPartition.initPath.

disk.systemPartition.size

系统分区大小 – 系统分区的理想大小(以字节为单位)。System partition size – The ideal size of the system partition (in bytes). 如果实际的系统分区映像大于此设置,则会忽略此大小;否则,它指定系统分区文件可以增长到的最大大小。The size is ignored if the actual system partition image is larger than this setting; otherwise, it specifies the maximum size that the system partition file can grow to. 如果此值为整数,它则以字节为单位指定大小。If this value is an integer, it specifies the size in bytes. 还可以通过将 K、M 或 G 追加到值中来以 KB、MB 或 GB 为单位指定大小 。You can also specify the size in kilobytes, megabytes, and gigabytes by appending K, M, or G to the value. 最小大小为 9 M ;最大为 1023 G 。The minimum size is 9M and the maximum size is 1023G.

hw.accelerometer

加速计 – 确定仿真设备是否包含一个加速度传感器。Accelerometer – Determines whether the emulated device contains an accelerometer sensor. 加速计帮助设备确定方向(用于自动旋转)。The accelerometer helps the device determine orientation (used for auto-rotation). 加速计报告设备沿着三个传感器轴的加速情况。The accelerometer reports the acceleration of the device along three sensor axes.

yes、noyes, no

hw.audioInput

音频录制支持 – 确定仿真设备是否可以录制音频。Audio recording support – Determines whether the emulated device can record audio.

yes、noyes, no

hw.audioOutput

音频播放支持 – 确定仿真设备是否可以播放音频。Audio playback support – Determines whether the emulated device can play audio.

yes、noyes, no

hw.battery

电池支持 – 确定仿真设备是否可以使用电池运行。Battery support – Determines whether the emulated device can run on a battery.

yes、noyes, no

hw.camera

相机支持 – 确定仿真设备是否具有相机。Camera support – Determines whether the emulated device has a camera.

yes、noyes, no

hw.camera.back

后置相机 – 配置后置相机(镜头背朝用户的面部)。Back-facing camera – Configures the back-facing camera (the lens faces away from the user). 如果在开发计算机上使用网络摄像头以模拟仿真设备上的后置照相机,必须将此值设置为 webcamn ,其中 n 选择的是网络摄像头(如果只有一个网络摄像头,则选择 webcam0 )。If you are using a webcam on your development computer to simulate the back-facing camera on the emulated device, this value must be set to webcamn, where n selects the webcam (if you have only one webcam, choose webcam0). 如果设置为“emulated”,仿真器将在软件中模拟照相机。If set to emulated, the emulator simulates the camera in software. 若要禁用后置照相机,请将此值设置为“none”。To disable the back-facing camera, set this value to none. 如果启用后置照相机,请确保也要启用 hw.camera。If you enable the back-facing camera, be sure to also enable hw.camera.

emulated、none、webcam0emulated, none, webcam0

hw.camera.front

前置相机 – 配置前置相机(镜头面向用户)。Front-facing camera – Configures the front-facing camera (the lens faces towards the user). 如果在开发计算机上使用网络摄像头以模拟仿真设备上的前置照相机,必须将此值设置为 webcamn ,其中 n 选择的是网络摄像头(如果只有一个网络摄像头,则选择 webcam0 )。If you are using a webcam on your development computer to simulate the front-facing camera on the emulated device, this value must be set to webcamn, where n selects the webcam (if you have only one webcam, choose webcam0). 如果设置为“emulated”,仿真器将在软件中模拟照相机。If set to emulated, the emulator simulates a camera in software. 若要禁用前置照相机,请将此值设置为“none”。To disable the front-facing camera, set this value to none. 如果启用前置照相机,请确保也要启用 hw.camera。If you enable the front-facing camera, be sure to also enable hw.camera.

emulated、none、webcam0emulated, none, webcam0

hw.camera.maxHorizontalPixels

相机的最大水平像素 – 配置仿真设备相机的最大水平分辨率(以像素为单位)。Maximum horizontal camera pixels – Configures the maximum horizontal resolution of the emulated device's camera (in pixels).

hw.camera.maxVerticalPixels

相机的最大垂直像素 – 配置仿真设备相机的最大垂直分辨率(以像素为单位)。Maximum vertical camera pixels – Configures the maximum vertical resolution of the emulated device's camera (in pixels).

hw.cpu.arch

CPU 体系结构 – 需要由虚拟设备仿真的 CPU 体系结构。CPU architecture – The CPU architecture to be emulated by the virtual device. 如果使用 Intel HAXM 以进行硬件加速,请为 32 位 CPU 选择 x86 。If you are using Intel HAXM for hardware acceleration, select x86 for a 32-bit CPU. 为 64 位 HAXM 加速的设备选择 x86_64 。Select x86_64 for a 64-bit HAXM-accelerated device. (请务必在 SDK 管理器中安装相应的 Intel x86 系统映像:例如,Intel x86 Atom 或 Intel x86 Atom_64。)若要模拟 ARM CPU,请为 32 位 ARM CPU 选择 arm 或者为 64 位选择 arm64 。(Be sure to install the corresponding Intel x86 system image in the SDK Manager: for example, Intel x86 Atom or Intel x86 Atom_64.) To simulate an ARM CPU, select arm for 32-bit or select arm64 for a 64-bit ARM CPU. 请记住,基于 ARM 的虚拟设备运行速度要比基于 x86 的那些虚拟设备慢得多,因为硬件加速不适用于 ARM。Keep in mind that ARM-based virtual devices will run much slower than those that are x86-based because hardware acceleration is not available for ARM.

x86、x86_64、arm、arm64x86, x86_64, arm, arm64

hw.cpu.model

CPU 型号 – 通常不会设置此值(如果未显式设置此值,它将被设置为派生自 hw.cpu.arch 的一个值)。CPU model – This value is normally left unset (it will be set to a value that is derived from hw.cpu.arch if it is not explicitly set). 但是,可以将它设置为特定于仿真器的字符串以作实验性使用。However, it can be set to an emulator-specific string for experimental use.

hw.dPad

DPad 密钥 – 确定仿真设备是否支持方向键 (DPad) 密钥。DPad keys – Determines whether the emulated device supports directional pad (DPad) keys. 一个 DPad 通常具有四个密钥以指示方向控件。A DPad typically has four keys to indicate directional control.

yes、noyes, no

hw.gps

GPS 支持 – 确定仿真设备是否具有 GPS(全球定位系统)接收器。GPS support – Determines whether the emulated device has a GPS (Global Positioning System) receiver.

yes、noyes, no

hw.gpu.enabled

GPU 仿真 – 确定仿真设备是否支持 GPU 仿真。GPU emulation – Determines whether the emulated device supports GPU emulation. 启用后,GPU 仿真会使用 Open GL for Embedded Systems 以在屏幕上呈现 2D 和 3D 图形,并且关联的 GPU 仿真模式设置会确定 GPU 仿真的实现方式。When enabled, GPU emulation uses Open GL for Embedded Systems (OpenGL ES) for rendering both 2D and 3D graphics on the screen, and the associated GPU Emulation Mode setting determines how the GPU emulation is implemented.

yes、noyes, no

hw.gpu.mode

GPU 仿真模式 – 确定仿真器实现 GPU 仿真的方式。GPU emulation mode – Determines how GPU emulation is implemented by the emulator. 如果选择“auto”,仿真器将根据开发计算机设置选择硬件加速和软件加速。If you select auto, the emulator will choose hardware and software acceleration based on your development computer setup. 如果选择“host”,仿真器将使用开发计算机的图形处理器执行 GPU 仿真以进行更快的呈现。If you select host, the emulator will use your development computer's graphics processor to perform GPU emulation for faster rendering. 如果 GPU 与仿真器不兼容并且系统为 Windows,则可以尝试选择“angle”,而不是“host”。If your GPU is not compatible with the emulator and you are on Windows, you can try angle instead of host. “angle”模式使用 DirectX 以提供与“host”模式类似的性能。The angle mode uses DirectX to provide performance similar to host. 如果选择“mesa”,模拟器将使用 Mesa 3D 软件库来呈现图形。If you select mesa, the emulator will use the Mesa 3D software library to render graphics. 如果通过开发计算机的图形处理器进行呈现存在问题,请选择“mesa”。Select mesa if you have problems rendering via your development computer's graphics processor. 可以使用“swiftshader”模式在软件中呈现图形,不过性能与使用计算机的 CPU 相比稍有降低。The swiftshader mode can be used to render graphics in software with slightly less performance than using your computer's GPU. “off”选项(禁用图形硬件仿真)是已弃用的一个选项,使用此选项后可能无法正确呈现某些项,因此不推荐此选项。The off option (disable graphics hardware emulation) is a deprecated option that can cause improper rendering for some items and is therefore not recommended.

auto、host、mesa、angle、swiftshader、offauto, host, mesa, angle, swiftshader, off

hw.gsmModem

GSM 调制解调器支持 – 确定仿真设备是否包含支持 GSM(全球移动通信系统)电话无线电系统的调制解调器。GSM modem support – Determines whether the emulated device includes a modem that supports the GSM (Global System for Mobile Communications) telephony radio system.

yes、noyes, no

hw.initialOrientation

初始屏幕方向 – 配置仿真设备上屏幕的初始方向(纵向或横向模式)。Initial screen orientation – Configures the initial orientation of the screen on the emulated device (portrait or landscape mode). 在纵向模式下,屏幕的高度大于宽度。In portrait mode, the screen is taller than it is wide. 在横向模式下,屏幕的宽度大于高度。In landscape mode, the screen is wider than it is tall. 如果设备配置文件中都支持纵向和横向模式,则可以在运行仿真设备时更改方向。When running the emulated device, you can change the orientation if both portrait and landscape are supported in the device profile.

portrait、landscapeportrait, landscape

hw.keyboard

键盘支持 – 确定仿真设备是否支持全键盘。Keyboard support – Determines whether the emulated device supports a QWERTY keyboard.

yes、noyes, no

hw.keyboard.charmap

键盘字符映射名称 – 此设备的硬件字符映射的名称。Keyboard charmap name – The name of the hardware charmap for this device. 注意:此应始终为默认值 qwerty2,除非相应地修改了系统映像。NOTE: This should always be the default qwerty2 unless you have modified the system image accordingly. 此名称会在启动时发送到内核。This name is sent to the kernel at boot time. 使用不正确的名称将导致虚拟设备不可用。Using an incorrect name will result in an unusable virtual device.

hw.keyboard.lid

键盘盖支持 – 在启用键盘支持的情况下,此设置确定是否可以关闭/隐藏或打开/显示全键盘。Keyboard lid support – If keyboard support is enabled, this setting determines whether the QWERTY keyboard can be closed/hidden or opened/visible. 如果“hw.keyboard”设置为“false”,则将忽略此设置。This setting will be ignored if hw.keyboard is set to false. 注意:如果仿真设备面向 API 级别 12 或更高版本,默认值则为“false”。NOTE: the default value is false if the emulated device targets API level 12 or higher.

yes、noyes, no

hw.lcd.backlight

LCD 背光 – 确定 LCD 背光是否由仿真设备模拟。LCD backlight – Determines whether an LCD backlight is simulated by the emulated device.

yes、noyes, no

hw.lcd.density

LCD 密度 – 仿真 LCD 显示屏的密度,以与密度无关的像素或 dp(dp 是一个虚拟像素单位)为单位测量。LCD density – The density of the emulated LCD display, measured in density-independent pixels, or dp (dp is a virtual pixel unit). 当设置为 160 dp 时,每个 dp 将对应一个物理像素。When the setting is 160 dp, each dp corresponds to one physical pixel. 在运行时,Android 使用此值选择和缩放适当的资源/资产以进行正确的显示呈现。At runtime, Android uses this value to select and scale the appropriate resources/assets for correct display rendering.

120、160、240、213、320120, 160, 240, 213, 320

hw.lcd.depth

LCD 颜色深度 – 保留位图以驱动 LCD 显示屏的仿真帧缓冲区的颜色位深度。LCD color depth – The color bit-depth of the emulated framebuffer that holds the bitmap for driving the LCD display. 此值可以为 16 位(65,536 种可能的颜色)或 32 位(16,777,216 种颜色和透明度)。This value can be 16 bits (65,536 possible colors) or 32 bits (16,777,216 colors plus transparency). 尽管 32 位设置使仿真器运行较为缓慢,但颜色准确度更高。The 32-bit setting can make the emulator run slightly slower but with better color accuracy.

16, 3216, 32

hw.lcd.height

LCD 像素高度 – 构成仿真 LCD 显示屏的垂直维度的像素数量。LCD pixel height – The number of pixels that make up the vertical dimension of the emulated LCD display.

hw.lcd.width

LCD 像素宽度 – 构成仿真 LCD 显示屏的水平维度的像素数量。LCD pixel width – The number of pixels that make up the horizontal dimension of the emulated LCD display.

hw.mainKeys

硬件返回/主页键 – 确定仿真设备是否支持硬件“返回”和“主页”导航按钮。Hardware Back/Home keys – Determines whether the emulated device supports hardware Back and Home navigation buttons. 如果仅在软件中实现按钮,可以将此值设置为“yes” 。You can set this value to yes if the buttons are implemented only in software. 如果将 hw.mainKeys 设置为“yes” ,仿真器将不会在屏幕上显示导航按钮,但你可以使用仿真器侧面板来“按”这些按钮。If hw.mainKeys is set to yes, the emulator will not display navigation buttons on the screen, but you can use the emulator side panel to "press" these buttons.

yes、noyes, no

hw.ramSize

设备 RAM 大小 – 仿真设备上的物理 RAM 量(以 MB 为单位)。Device RAM Size – The amount of physical RAM on the emulated device, in megabytes. 默认值将根据屏幕大小或外观版本来计算。The default value will be computed from the screen size or the skin version. 尽管增加大小可以提供更快的仿真器操作,但这将耗费开发计算机中更多的资源。Increasing the size can provide faster emulator operation, but at the expense of demanding more resources from your development computer.

hw.screen

触控屏类型 – 定义仿真设备上的屏幕类型。Touch screen type – Defines the type of screen on the emulated device. 多点触控屏可以在触控界面上跟踪两根或更多的手指。A multi-touch screen can track two or more fingers on the touch interface. 触控屏仅可以检测单个手指触控事件。A touch screen can detect only single-finger touch events. 无触控屏不会检测触控事件。A no-touch screen does not detect touch events.

touch、multi-touch、no-touchtouch, multi-touch, no-touch

hw.sdCard

SDCard 支持 – 确定仿真设备是否支持插入和移除虚拟 SD(数字安全)卡。SDCard support – Determines whether the emulated device supports insertion and removal of virtual SD (Secure Digital) cards. 仿真器使用存储在开发计算机上可装载的磁盘映像来模拟真实 SD 卡设备的分区(请参阅 hw.sdCard.path)。The emulator uses mountable disk images stored on your development computer to simulate the partitions of actual SD card devices (see hw.sdCard.path).

yes、noyes, no

sdcard.size

SDCard 大小 – 指定虚拟 SD 卡文件的大小(以字节为单位),此文件位于由设备上可用的 hw.sdCard.path 指定的位置SDCard size – Specifies the size of the virtual SD card file at the location specified by hw.sdCard.path. 。available on the device (in bytes). 如果此值为整数,它则以字节为单位指定大小。If this value is an integer, it specifies the size in bytes. 还可以通过将 K、M 或 G 追加到值中来以 KB、MB 或 GB 为单位指定大小 。You can also specify the size in kilobytes, megabytes, and gigabytes by appending K, M, or G to the value. 最小大小为 9 M ;最大为 1023 G 。The minimum size is 9M and the maximum size is 1023G.

hw.sdCard.path

SDCard 映像路径 – 指定开发计算机上 SD 卡分区映像文件的文件名和路径。SDCard Image Path – Specifies the filename and path to an SD card partition image file on your development computer. 例如,可以在 Windows 上将此路径设置为 C:\sd\sdcard.img 。For example, this path could be set to C:\sd\sdcard.img on Windows.

hw.sensors.magnetic_field

磁场传感器 – 确定仿真设备是否支持磁场传感器。Magnetic Field Sensor – Determines whether the emulated device supports a magnetic field sensor. 磁场传感器(也被称为磁力计)报告沿三个传感器轴测量的环境磁场。The magnetic field sensor (also known as magnetometer) reports the ambient geomagnetic field as measured along three sensor axes. 为需要访问指南针读数的应用启用此设置。Enable this setting for apps that need access to a compass reading. 例如,导航应用可能需要此传感器以检测用户面朝的方向。For example, a navigation app might use this sensor to detect which direction the user faces.

yes、noyes, no

hw.sensors.orientation

方向传感器 – 确定仿真设备是否提供方向传感器值。Orientation Sensor – Determines whether the emulated device provides orientation sensor values. 方向传感器测量某个设备围绕三个物理坐标轴(x、y、z)旋转的度数。The orientation sensor measures degrees of rotation that a device makes around all three physical axes (x, y, z). 注意,自 Android 2.2(API 级别 8)起,方向传感器已被弃用。Note that the orientation sensor was deprecated as of Android 2.2 (API level 8).

yes、noyes, no

hw.sensors.proximity

邻近感应传感器 – 确定仿真设备是否支持邻近感应传感器。Proximity Sensor – Determines whether the emulated device supports a proximity sensor. 此传感器测量某个物体相对于设备的视图屏幕的邻近度。This sensor measures the proximity of an object relative to the view screen of a device. 此传感器通常用于确定话筒是否正在向上靠近一个人的耳朵。This sensor is typically used to determine whether a handset is being held up to a person's ear.

yes、noyes, no

hw.sensors.temperature

温度传感器 – 确定仿真设备是否支持温度传感器。Temperature Sensor – Determines whether the emulated device supports a temperature sensor. 此传感器以摄氏度 (°C) 为单位测量设备的温度。This sensor measures the temperature of the device in degrees Celsius (°C).

yes、noyes, no

hw.touchScreen

触控屏支持 – 确定仿真设备是否支持触控屏。Touch-screen support – Determines whether the emulated device supports a touch screen. 触控屏用于在屏幕上直接操作对象。The touch screen is used for direct manipulation of objects on the screen.

yes、noyes, no

hw.trackBall

轨迹球支持 – 确定仿真设备是否支持轨迹球。Trackball support – Determines whether the emulated device supports a trackball.

yes、noyes, no

hw.useext4

EXT4 文件系统支持 – 确定仿真设备是否将 Linux EXT4 文件系统用于分区。EXT4 file system support – Determines whether the emulated device uses the Linux EXT4 file system for partitions. 因为文件系统类型是自动检测的,因此,此选项已被弃用并忽略。Because the file system type is now auto-detected, this option is deprecated and ignored.

否no

kernel.newDeviceNaming

内核新设备命名 – 用于指定内核是否需要新的设备命名方案。Kernel new device naming – Used to specify whether the kernel requires a new device naming scheme. 这通常与 Linux 3.10 内核和更高版本配合使用。This is typically used with Linux 3.10 kernels and later. 如果设置为“autodetect” ,仿真器将自动检测内核是否需要新的设备命名方案。If set to autodetect, the emulator will automatically detect whether the kernel requires a new device naming scheme.

autodetect、yes、noautodetect, yes, no

kernel.parameters

内核参数 – 指定 Linux 内核启动参数的字符串。Kernel parameters – Specifies the string of Linux kernel boot parameters. 默认情况下,此设置将留空。By default, this setting is left blank.

kernel.path

内核路径 – 指定 Linux 内核的路径。Kernel path – Specifies the path to the Linux kernel. 如果未指定此路径,仿真器会在仿真器系统目录中查找 kernel-ranchu。If this path is not specified, the emulator looks in the emulator system directory for kernel-ranchu.

kernel.supportsYaffs2

YAFFS2 分区支持 – 确定内核是否支持 YAFFS2 (Yet Another Flash File System 2) 分区。YAFFS2 partition support – Determines whether the kernel supports YAFFS2 (Yet Another Flash File System 2) partitions. 通常情况下,这仅适用于 Linux 3.10 之前的内核。Typically, this applies only to kernels before Linux 3.10. 如果设置为“autodetect” ,仿真器将自动检测内核是否可以装载 YAFFS2 文件系统。If set to autodetect the emulator will automatically detect whether the kernel can mount YAFFS2 file systems.

autodetect、yes、noautodetect, yes, no

skin.name

外观名称 – Android 仿真器外观的名称。Skin name – The name for an Android emulator skin. 外观是定义仿真显示的视觉对象和控件元素的文件集合,描述了 AVD 的窗口在开发计算机上的外观。A skin is a collection of files that defines the visual and control elements of an emulator display; it describes what the window of the AVD will look like on your development computer. 外观描述屏幕大小、按钮和整体设计,但不会影响应用的操作。A skin describes screen size, buttons, and the overall design, but it does not affect the operation of your app.

skin.path

外观路径 – 包含在 skin.name 中指定的仿真器外观文件的目录的路径。此目录包含 hardware.ini 布局文件以及外观显示元素的映像文件。Skin path – Path to the directory that contains the emulator skin files specified in skin.name This directory contains hardware.ini layout files, and image files for the display elements of the skin.

skin.dynamic

外观动态 – 外观是否为动态的。Skin dynamic – Whether or not the skin is dynamic. 如果仿真器是基于指定的宽度和高度构造给定大小的外观,仿真器外观则为动态外观。The emulator skin is a dynamic skin if the emulator is to construct a skin of a given size based on a specified width and height.

否no

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值