@@ -18,7 +18,8 @@ General commands:
1818 emulator package.
1919 deploy Deploys the project to a connected physical or virtual device.
2020 emulate Deploys the project in the native emulator for the selected target platform.
21- run Runs your project on a connected device. This is shorthand for prepare, build, and deploy.
21+ run Runs your project on a connected device or in the native emulator, if configured.
22+ This is shorthand for prepare, build, and deploy.
2223 list-devices Lists all recognized connected physical or virtual device.
2324 feature-usage-tracking Configures anonymous feature usage tracking.
2425
@@ -202,14 +203,22 @@ Platform-specific usage:
202203 $ nativescript run android [--device <Device ID>] [--emulator]
203204 $ nativescript run ios [--device <Device ID>] [--emulator]
204205
205- Runs your project on connected device. This is shorthand for prepare, build, and deploy.
206+ Runs your project on a connected device or in the native emulator, if configured . This is shorthand for prepare, build, and deploy.
206207<Device ID> is the index or name of the target device as listed by $ tns list-devices.
207208
209+ Before building for the Android emulator, verify that you have met the following requirements.
210+ You have added the file paths to the following directories from the Android SDK to your PATH environment variable.
211+ tools
212+ platform-tools
213+ You have created at least one device with the Android Virtual Device manager.
214+
215+ Before building for the iOS simulator, verify that you have installed the ios-sim npm package.
216+
208217Before building for iOS device, verify that you have configured a valid pair of certificate and provisioning profile on your OS X system.
209218
210219Options:
211220 --device - Specifies a connected device on which to run the app.
212- --emulator - Runs the app in the native emulator for the target platform, if configured.
221+ --emulator - If set, runs the app in the native emulator for the target platform, if configured.
213222
214223--[/]--
215224
@@ -232,7 +241,7 @@ For Android, this operation runs your project in the earliest created virtual de
232241 tools
233242 platform-tools
234243 You have created at least one device with the Android Virtual Device manager.
235- For iOS, this operation runs your project in the iOS Simulator.
244+ For iOS, this operation runs your project in the iOS Simulator. Before running this command, verify that you have installed the ios-sim npm package.
236245
237246--[/]--
238247
0 commit comments