Skip to content

Commit fe7ce9a

Browse files
ikoevskaFatme Havaluova
authored and
Fatme Havaluova
committed
Fixed --sdk help for platform add
1 parent 9e2ac52 commit fe7ce9a

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

docs/man_pages/project/configuration/platform-add.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ platform add
33

44
Usage | Synopsis
55
------|-------
6-
Android latest runtime | `$ tns platform add android [--frameworkPath <File Path>] [--symlink] [--sdk <target sdk>]`
7-
Android selected runtime | `$ tns platform add android[@<Version>] [--frameworkPath <File Path>] [--symlink] [--sdk <target sdk>]`
6+
Android latest runtime | `$ tns platform add android [--frameworkPath <File Path>] [--symlink] [--sdk <API Level>]`
7+
Android selected runtime | `$ tns platform add android[@<Version>] [--frameworkPath <File Path>] [--symlink] [--sdk <API Level>]`
88
<% if (isMacOS) { %>iOS latest runtime | `$ tns platform add ios [--frameworkPath <File Path>] [--symlink]`
99
iOS selected runtime | `$ tns platform add ios[@<Version>] [--frameworkPath <File Path>] [--symlink]`<% } %>
1010

@@ -13,15 +13,16 @@ Configures the current project to target the selected platform. <% if(isHtml) {
1313
### Options
1414
* `--frameworkPath` - Sets the path to a NativeScript runtime for the specified platform that you want to use instead of the default runtime. If `--symlink` is specified, `<File Path>` must point to directory in which the runtime is already extracted. If `--symlink` is not specified, `<File Path>` must point to a valid npm package.
1515
* `--symlink` - Creates a symlink to a NativeScript runtime for the specified platform that you want to use instead of the default runtime. If `--frameworkPath` is specified, creates a symlink to the specified directory. If `--frameworkPath` is not specified, creates a symlink to platform runtime installed with your current version of NativeScript.
16-
* `--sdk` - Sets the Android target SDK. The value should be a valid Android API Level, for example 17, 19, MNC.
16+
* `--sdk` - Sets the target Android SDK for the project.
1717

1818
### Attributes
19+
* `<API Level>` is a valid Android API level. For example: 17, 19, MNC.<% if(isHtml) { %> For a complete list of the Android API levels and their corresponding Android versions, click [here](http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#platform).<% } %>
1920
* `<File Path>` is the complete path to a valid npm package or a directory that contains a NativeScript runtime for the selected platform.
2021
* `<Version>` is any available version of the respective platform runtime published in npm. <% if(isHtml) { %>If `@<Version>` is not specified, the NativeScript CLI installs the latest stable runtime for the selected platform.
2122
To list all available versions for Android, run `$ npm view tns-android versions`
22-
To list only experimental versions for android, run `$ npm view tns-android dist-tags`
23+
To list only experimental versions for Android, run `$ npm view tns-android dist-tags`
2324
To list all available versions for iOS, run `$ npm view tns-ios versions`
24-
To list only experimental versions for ios, run `$ npm view tns-ios dist-tags`
25+
To list only experimental versions for iOS, run `$ npm view tns-ios dist-tags`
2526

2627
### Command Limitations
2728

0 commit comments

Comments
 (0)