- Download/install Node.js - LTS
- Download/install Java SDK - v8
- Download/install as administrator Android Studio
- The download & install will take a long time as it downloads the entire Internet
- Run Adroid Studio, from the
Configure
menu selectSDK Manager
- Select Android v7.1.1 to install
- Set environment variable
JAVA_HOME
toC:\Program Files\Java\jdk1.8.0_161
- Set environment variable
ANDROID_HOME
toC:\Users\<your name>\AppData\Local\Android\Sdk
- Open a new command prompt and run
npm install -g nativescript
- If you have any hard drive space left, download/install NativeScript Sidekick
- App Name:
NativeScript-Vue
- Project Folder:
<path>
- App ID:
Auto
- Project Type:
NativeScript + JavaScript
- Select:
Nagivation Drawer
- Click:
Create App
- App Name:
- Add
NativeScript
extension to Visual Studio Code
Bundle your project by passing --bundle flag to NativeScript CLI commands:
- tns build android --bundle
- tns build ios --bundle
- tns run android --bundle
- tns run ios --bundle