@@ -18,7 +18,8 @@ General commands:
18
18
emulator package.
19
19
deploy Deploys the project to a connected physical or virtual device.
20
20
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.
22
23
list-devices Lists all recognized connected physical or virtual device.
23
24
feature-usage-tracking Configures anonymous feature usage tracking.
24
25
@@ -202,14 +203,22 @@ Platform-specific usage:
202
203
$ nativescript run android [--device <Device ID>] [--emulator]
203
204
$ nativescript run ios [--device <Device ID>] [--emulator]
204
205
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.
206
207
<Device ID> is the index or name of the target device as listed by $ tns list-devices.
207
208
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
+
208
217
Before building for iOS device, verify that you have configured a valid pair of certificate and provisioning profile on your OS X system.
209
218
210
219
Options:
211
220
--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.
213
222
214
223
--[/]--
215
224
@@ -232,7 +241,7 @@ For Android, this operation runs your project in the earliest created virtual de
232
241
tools
233
242
platform-tools
234
243
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.
236
245
237
246
--[/]--
238
247
0 commit comments