← 返回命令列表

Linux command

sfdk-emulator 命令

文件

复制后可按需替换文件名、目录或参数。

常用示例

Start emulator

sfdk emulator start

Stop emulator

sfdk emulator stop

List emulators

sfdk emulator list

Show emulator

sfdk emulator show

Set emulator

sfdk emulator set vm.cpuCount=[4]

Set emulator

sfdk emulator set vm.memorySize=[2048]

说明

sfdk emulator manages Sailfish OS emulator instances for testing applications. It provides commands to start, stop, and configure emulator virtual machines. VM properties such as CPU count and memory size can be adjusted using the set subcommand. Part of the Sailfish SDK.

参数

start
Start the emulator virtual machine.
stop
Stop the emulator virtual machine.
list
List available emulator instances.
show
Display emulator virtual machine properties.
set _property=value_
Set emulator virtual machine properties (e.g., vm.cpuCount, vm.memorySize).
status
Show the current status of the emulator.

FAQ

What is the sfdk-emulator command used for?

sfdk emulator manages Sailfish OS emulator instances for testing applications. It provides commands to start, stop, and configure emulator virtual machines. VM properties such as CPU count and memory size can be adjusted using the set subcommand. Part of the Sailfish SDK.

How do I run a basic sfdk-emulator example?

Run `sfdk emulator start` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does start do in sfdk-emulator?

Start the emulator virtual machine.