|
1 | 1 | --- |
2 | 2 | nav-title: Troubleshooting |
3 | 3 | title: Troubleshooting |
4 | | -description: Troubleshooting NativeScript errors |
| 4 | +description: Known issues with NativeScript and their workarounds |
5 | 5 | position: 18 |
6 | 6 | --- |
7 | 7 |
|
8 | | -# Issues/Limitations |
9 | | -Following is a list with known issues, most of which may be easily worked-around, in the current Beta (0.9.0) version of NativeScript. |
| 8 | +# Known Issues and Limitations |
| 9 | + |
| 10 | +NativeScript {{site.current-version}} is known to have the following issues and limitations. |
| 11 | + |
| 12 | +* [CLI](#cli) |
| 13 | +* [User Experience](#user-experience) |
10 | 14 |
|
11 | 15 | ## CLI |
12 | 16 |
|
13 | 17 | ### Problem |
14 | | -[OSX issue with node 0.12.0](https://github.com/NativeScript/nativescript-cli/issues/268) |
15 | 18 |
|
16 | | -### Workarounds |
17 | | -* Install nativescript-cli 0.9.1. |
| 19 | +On OS X systems with Node.js 0.12.0 installed, you cannot work with the NativeScript CLI 0.9.0.<br/>For additional information, see [GitHub Issue #268: OSX issue with node 0.12.0](https://github.com/NativeScript/nativescript-cli/issues/268). |
18 | 20 |
|
19 | | -OR |
| 21 | +**Workaround:**<br/>You can choose between the following workarounds. |
20 | 22 |
|
21 | | -* Use node 0.10.36 |
| 23 | +* Update the NativeScript CLI to 0.9.1. |
| 24 | +* Revert Node.js to 0.10.36. |
22 | 25 |
|
23 | 26 | ### Problem |
24 | | -Unable to run or debug iOS applications if Xcode 6.1 and target iOS is 8.1.3. This is caused by the fact that the developer disk image we are trying to load on the device from XCode 6.1 iOS SDK is not compatible with iOS 8.1.3. |
25 | 27 |
|
26 | | -### Workaround |
27 | | -Install Xcode 6.1.1. |
| 28 | +On OS X systems with Xcode 6.1 installed, you cannot run or debug apps on iOS 8.1.3 devices.<br/>The developer disk images provided with the iOS SDK in Xcode 6.1 are not compatible with iOS 8.1.3. The NativeScript CLI uses these disk images to work with your attached iOS devices. |
| 29 | + |
| 30 | +**Workaround:**<br/>Update to Xcode 6.1.1 or later. |
28 | 31 |
|
29 | 32 | ### Problem |
30 | | -Currently there is a hard-coded 30 seconds timeout for establishing connection between the CLI and the Android device/emulator. On slow computers and/or devices/emulators it is possible that the timeout is not enough for establishing a connection. Therefore the debugger is not started on the device/emulator. |
31 | 33 |
|
32 | | -### Workaround |
33 | | -Retry the debugger. |
| 34 | +The `debug` command times out when you attempt to debug on Android devices or emulators and the debug tools do not start.<br/>The `debug` command is configured with a 30-second timeout. On slower computer configurations, the CLI might exceed this timeout when connecting to your Android devices or emulators. |
| 35 | + |
| 36 | +**Workaround:**<br/>Re-run the `debug` command. |
34 | 37 |
|
35 | 38 | ### Problem |
36 | | -On Mac OSX the final step of `tns debug android` command, which attempts to open an instance of Chrome browser, does not work. |
37 | 39 |
|
38 | | -### Workaround |
39 | | -We are using the [opener package](https://www.npmjs.com/package/opener) to open the browser. Possible workarounds are to either fix the module or try a newer version. |
| 40 | +On OS X systems, the debug tools for Android never launch.<br/>The NativeScript CLI uses the [opener npm package](https://www.npmjs.com/package/opener) to open Chrome. The current version of the package that the CLI uses cannot open the browser. |
| 41 | + |
| 42 | +**Workaround:**<br/>Update the opener package to a newer version. If this does not resolve the issue, try modifying your local copy of the package. |
40 | 43 |
|
41 | 44 | ## User Experience |
42 | 45 |
|
43 | 46 | ### Problem |
44 | | -First time an Android application is started, it may take several seconds to load and there is no visual indication that the application is alive and loading. This will happen each time the application is redeployed. |
45 | 47 |
|
46 | | -### Workaround |
47 | | -A second start will be much faster. We are aware of this limitation and we are already working on a prototype, which improves things significantly. |
| 48 | +When you run your app on Android device for the first time, the app loads very slowly and might appear to be unresponsive.<br/>The issue reoccurs on every redeployment. |
| 49 | + |
| 50 | +**Workaround:**<br/>None. Wait for the app to load. |
48 | 51 |
|
| 52 | +The NativeScript team is working on improving the performance of Android apps on initial run. |
0 commit comments