GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing docs.nativescript.org — Setting up Linux for NativeScript | NativeScript NativeScript 9.1 Released → V8 14.9, Vite 8 HMR, built for rapid agentic visual iteration Dig in→
Are you an LLM? You can read better optimized documentation at /setup/linux.md for this page in Markdown format Setting up Linux for Android You will need Node, NativeScript CLI (command line interface), Android Studio and a JDK (java development kit). Android Studio is not strictly necessary — however it provides an easy-to-use interface for installing and managing the Android SDKs. To install Node follow the instructions specific to your Linux distribution. We recommend using the latest version, however anything above Node 14 should be fine. Note We have gone through these steps on Ubuntu 20.04 and noted the commands we used, however depending on your Linux distribution, the commands may be different. We cannot provide commands for all possible distributions, so please refer to the linked documentation to find the correct commands you need to run. bash To confirm Node is installed correctly, run: bash A JDK version 8 or greater is required, and you have a couple options:
bash To confirm JDK is installed correctly, run: bash Note NativeScript uses Gradle for Android builds. Different versions of Gradle rely on certain versions of Java to work. If a build fails, check whether the version of Java installed on your system is compatible with the version of Gradle used by NativeScript. The version of Gradle used by NativeScript can be seen in the build logs or in the source. Setting up the Android development environment can be daunting if you are new to Android development, however following the next steps carefully will get you up and running in no time. Download and install Android Studio. In the installation wizard, make sure you have the following components selected (the list should appear if you select custom options):
The setup may take a while, but once it has finished a welcome screen should appear. Android Studio installs the latest Android SDK by default, which in most cases should be all that's needed to build a NativeScript app. Configure the Add the following lines to your shell profile, usually shell Install the NativeScript CLI globally: bash You may see Deprecation and security warnings from npm, these are safe to ignore. Read more...The NativeScript CLI relies on 3rd party packages that may have been deprecated over the past years. We are slowly replacing these dependencies with newer, supported alternatives to resolve these warnings, however they are generally safe to ignore, since the CLI is never exposed to the public and it's only used for local development, where most of the security concerns don't apply. Note Depending on how you installed Node, you may get an Verifying the environment To verify that the installation was successful, open a new Command Prompt window (to ensure the new environment variables are loaded) and run bash If you see No issues were detected then you have successfully set up your system. Setting up Linux for iOS ❌ Unsupported A Mac is required to build projects that use native iOS code. Simpler apps can be tested using NativeScript Preview.
|
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |