You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+11
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,17 @@
1
1
NativeScript CLI Changelog
2
2
================
3
3
4
+
1.5.2 (2015, December 12)
5
+
==
6
+
### New
7
+
*[Implemented #1247](https://github.com/NativeScript/nativescript-cli/issues/1247): Do not kill adb server if possible.
8
+
9
+
### Fixed
10
+
*[Fixed #956](https://github.com/NativeScript/nativescript-cli/issues/956): Better error reporting for deploy on device.
11
+
*[Fixed #1210](https://github.com/NativeScript/nativescript-cli/issues/1210): LiveSync does not handle correctly removed files on iOS simulator.
12
+
*[Fixes #1308](https://github.com/NativeScript/nativescript-cli/issues/1308): Livesync ends up with an endless loop for projects that have before-prepare hook that changes some project file.
13
+
*[Fixed #1313](https://github.com/NativeScript/nativescript-cli/issues/1313): `tns livesync ios --watch --emulator` command does not process platform specific files.
Copy file name to clipboardExpand all lines: PLUGINS.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -112,7 +112,7 @@ my-plugin/
112
112
*`platforms\android\include.gradle`: This file modifies the native Android configuration of your NativeScript project such as native dependencies, build types and configurations. For more information about the format of `include.gradle`, see [`include.gradle` file](#includegradle-specification).
113
113
*`platforms\ios`: This directory contains native dynamic iOS Cocoa Touch Frameworks (`.framework`) and Cocoa Touch Static Libraries (`.a`). During the plugin installation, the NativeScript CLI will copy these files to `lib\iOS` in your project and will configure the iOS project in `platforms\ios` to work with the libraries. If the library is written in Swift, only APIs exposed to Objective-C are exposed to NativeScript. In case the plugin contains a Cocoa Touch Static Library (`.a`), you must place all public headers (`.h`) under `include\<Static Library Name>\`. Make sure that the static libraries are built at least for the following processor architectures - armv7, arm64, i386.
114
114
*`platforms\ios\build.xcconfig`: This file modifies the native iOS configuration of your NativeScript project such as native dependencies and configurations. For more information about the format of `build.xcconfig`, see [`build.xcconfig` file](#buildxcconfig-specification).
115
-
*`platforms\ios\Podfile`: This file describes the dependency to the library that you want to use. For more information, see [CocoaPods.md](CocoaPods.md).
115
+
*`platforms\ios\Podfile`: This file describes the dependency to the library that you want to use. For more information, see [the CocoaPods article](CocoaPods.md).
Copy file name to clipboardExpand all lines: README.md
+14-48
Original file line number
Diff line number
Diff line change
@@ -69,23 +69,14 @@ You can install and run the NativeScript CLI on Windows or OS X.
69
69
> On Windows systems, you can develop, build, and deploy NativeScript projects that target Android.
70
70
71
71
* Windows Vista or later
72
-
* The latest Node.js [0.10.x](https://nodejs.org/dist/latest-v0.10.x/), [0.12.x](https://nodejs.org/dist/latest-v0.12.x/) or [4.2.x](https://nodejs.org/dist/latest-v4.x/) stable official release
72
+
* The latest Node.js [0.10.x](https://nodejs.org/dist/latest-v0.10.x/), [0.12.x](https://nodejs.org/dist/latest-v0.12.x/), [4.2.x](https://nodejs.org/dist/latest-v4.x/) or [5.x](https://nodejs.org/dist/latest-v5.x/) stable official release
73
73
* (Optional) [Chocolatey][Chocolatey]
74
74
*[JDK 8][JDK 8] or a later stable official release
75
75
*[Android SDK 22][Android SDK 22] or a later stable official release
76
76
*[Android SDK Build-tools 22.0.0][Android SDK Build-tools 22.0.0] or a later stable official release
77
77
*[Android Support Repository][Android Support Repository]
78
78
* (Optional) [Genymotion][Genymotion]
79
79
80
-
If you want to develop for Android, verify that you have added the following paths in the `PATH` system environment variable.
81
-
82
-
```
83
-
Path to tools directory in the Android SDK installation folder
84
-
Path to platform-tools directory in the Android SDK installation folder
85
-
```
86
-
87
-
For example: PATH=...;...;C:\Users\MyUser\AppData\Local\Android\android-sdk\tools;C:\Users\MyUser\AppData\Local\Android\android-sdk\platform-tools;
88
-
89
80
If you have installed Chocolatey, you can complete these steps to set up JDK, and Android SDK.
90
81
91
82
1. Run a Windows command prompt.
@@ -97,7 +88,7 @@ If you have installed Chocolatey, you can complete these steps to set up JDK, an
97
88
1. If not present, create the following environment variables.
98
89
99
90
```
100
-
JAVA_HOME=Path to the jdk* install folder
91
+
JAVA_HOME=Path to the jdk* install directory
101
92
```
102
93
103
94
For example: JAVA_HOME=C:\Program Files\Java\jdk1.8.0_66
@@ -107,19 +98,14 @@ If you have installed Chocolatey, you can complete these steps to set up JDK, an
107
98
```
108
99
109
100
For example: ANDROID_HOME=C:\Android\android-sdk
101
+
102
+
> NOTE: This is the directory that contains `tools` and `platform-tools` directories.
103
+
110
104
1. To install the Android SDK, run the following command.
111
105
112
106
```Shell
113
107
choco install android-sdk
114
108
```
115
-
1. If not present, add the following file path to the `PATH` system environment variable.
116
-
117
-
```
118
-
Path to tools directory in the Android SDK installation folder
119
-
Path to platform-tools directory in the Android SDK installation folder
120
-
```
121
-
122
-
For example: PATH=...;...;C:\Users\MyUser\AppData\Local\Android\android-sdk\tools;C:\Users\MyUser\AppData\Local\Android\android-sdk\platform-tools
123
109
1. To update the Android SDK to 22 or later, run the following command.
> On OS X systems, you can develop, build, and deploy NativeScript projects that target iOS and Android.
140
126
141
127
* OS X Mavericks
142
-
* The latest Node.js [0.10.x](https://nodejs.org/dist/latest-v0.10.x/) or [0.12.x](https://nodejs.org/dist/latest-v0.12.x/), or [4.2.x](https://nodejs.org/dist/latest-v4.x/) stable official release
128
+
* The latest Node.js [0.10.x](https://nodejs.org/dist/latest-v0.10.x/), [0.12.x](https://nodejs.org/dist/latest-v0.12.x/), [4.2.x](https://nodejs.org/dist/latest-v4.x/) or [5.x](https://nodejs.org/dist/latest-v5.x/) stable official release
> On Linux systems, you can develop, build, and deploy NativeScript projects that target Android.
189
165
190
166
* Ubuntu 14.04 LTS
191
-
* The latest Node.js [0.10.x](https://nodejs.org/dist/latest-v0.10.x/) or [0.12.x](https://nodejs.org/dist/latest-v0.12.x/), or [4.2.x](https://nodejs.org/dist/latest-v4.x/) stable official release
167
+
* The latest Node.js [0.10.x](https://nodejs.org/dist/latest-v0.10.x/), [0.12.x](https://nodejs.org/dist/latest-v0.12.x/), [4.2.x](https://nodejs.org/dist/latest-v4.x/) or [5.x](https://nodejs.org/dist/latest-v5.x/) stable official release
192
168
193
169
> **TIP:** You can follow the instructions provided [here](https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager) to install Node.js on your system.
gradleBin+=".bat";// cmd command line parsing rules are weird. Avoid issues with quotes. See https://github.com/apache/cordova-android/blob/master/bin/templates/cordova/lib/builders/GradleBuilder.js for another approach
0 commit comments