Introduction for using the simulator
Intro
Zepp OS simulator can help developers simulate the running performance of Mini Programs. At the same time, you can view the log of the Mini Program, which is convenient for developers to debug and greatly improve the development efficiency.
Take the TodoList Mini Program running on the simulator as an example.
There are the following windows.
- Device side simulator
- Simulator main interface
- Settings App simulator and logs
- Side Service logs
Introduction for use
Top Function Introduction
- User avatar, click to login
- "Device Simulator" open button
- "Settings App Simulator" open button
- Bridge mode open button
- Screenshot
- "Device Simulator" model selection box
- "Device Simulator" download management
Install and open "Device Simulator"
Zepp OS simulator does not have a built-in "device simulator", you need to download it from the "device simulator" download manager.
Developers can download the corresponding models as needed, no need to download all of them
After completing the download, the available models will appear in the "Device Simulator" model selection box. After selecting the corresponding model, click the "Device Simulator" open button to successfully pop up the "Device Simulator".
After successfully enabling the Device Simulator, the Zeus CLI dev
Compile Preview command will be able to connect to the simulator successfully and preview the project automatically.
If "Device Simulator" does not pop up successfully after clicking the "Device Simulator" open button, please check the installation process carefully for any omissions, refer to Simulator - Installation and launch.
Typically, this phenomenon occurs on Windows and MacOS platforms because the virtual network card has not been successfully installed and configured correctly.
Use the keyboard to simulate the physical keys of the real machine
When the window is focused on "Device Simulator", the keys on the keyboard can simulate the physical keys of the real machine.
Watch key name | Keyboard keys | Description |
---|---|---|
HOME | Home , use the fn + ← key combination on a Mac | Go to app list/back to Watchface |
SHORTCUT | End , use the fn + → key combination on a Mac | - |
SELECT | enter | - |
BACK | delete | - |
UP | ↑ | - |
DOWN | ↓ | - |
Use the mouse wheel to simulate the rotation of the digital crown.
Apps
Mini Program development history, manage connected Mini Programs.
Sensors
Sensor settings, you can mock the value of the sensor.
Display
Customized settings.
User
Mock the value of user settings.
Console
You can view the logs of device applications and provide filtering capabilities.