To speed up the testing and debugging processes and avoid building and deploying your app to multiple devices, you can run your app in the device simulator.
Prerequisites
- Verify that your preferred AppBuilder client is running and you are logged in.
- Verify that you have opened the code for your app in AppBuilder.
Procedure
In-Browser
- In the top menu bar, select Run → Open Simulator.
Universal
- In the top menu bar, select Run → Open Simulator.
Windows
- In the top menu bar, click Run → In simulator.
Visual Studio
- In the top menu bar, click AppBuilder → Run <app_name> in Simulator.
CLI
- In the command prompt, navigate to the directory that contains your app.
-
Run the following command.
appbuilder simulate
Next Steps
Configure the simulated device.
See Also
- Create Custom Devices
- Limitations of the Device Simulator
- Simulate Pinch Gestures and Events
- Simulate Changes in User Location
- Simulate Network Connection Type
- Simulate File Storage
- Synchronize Changes to the Simulator
- Take Screenshots in the Simulator
- Debug in the Simulator
- Run App on Devices
- Through the Looking Glass: Adventures in Mobile App Simulation, Emulation, and Device Testing