Nativescript (windows) and nativescript
1. system requirements:
L Windows Vista or later
L Nodejs 0.10.26 or later official stable version except 0.10.34
Https://nodejs.org/
L Official stable version of JDK 7 or later
Http://www.oracle.com/technetwork/java/javase/downloads/index.html
L Apache Ant 1.8 or later (Note: environment variables)
Http://ant.apache.org/bindownload.cgi
L Genymotion simulator (this article takes selective installation as an example)
Https://www.genymotion.com /#! /Download
2. hello-world:
L create a project using the command line tool: tns create hello-world
L enter the project: cd hello-world
L add a development platform: tns platform add android
L Simulated Project: tns run android -- emulator -- geny First_test:
Enable Genymotion → Add a device (as shown in Figure 1) → start the device (as shown in Figure 2) → execute the command (as shown in figure 3)
(Figure 1 Add a simulated device)
(Figure 2 start the device)
(Figure 3 simulated projects)