android-build-tools

Android SDK and NDK installer for Uno and Fuse apps.

Usage no npm install needed!

<script type="module">
  import androidBuildTools from 'https://cdn.skypack.dev/android-build-tools';
</script>

README

Android build tools installer

AppVeyor build status Travis CI build status NPM package NPM downloads License: MIT Supported platforms

Android SDK and NDK installer for Uno and Fuse apps.

Possibly useful in other scenarios where Android SDK and NDK are needed as well.

Visit Fuse Open for more information about Uno and Fuse.

Install

$ npm install android-build-tools -g

This package is suitable for Linux, macOS and Windows (64-bit).

  • Please note that JDK is required to install Android SDK. A compatible JDK is included with Android Studio.

  • If you're using Fuse SDK v1.12 or lower, you should install android-build-tools@1.2.0.

SDK location

The SDK is installed to one of the locations below. The installer will only download the SDK or additional components when something is missing.

Host OS Location
Linux ~/Android/Sdk
macOS ~/Library/Android/sdk
Windows %LOCALAPPDATA%\Android\sdk

On Windows, if your user name or %LOCALAPPDATA% contain non-ASCII characters, the SDK is installed to %PROGRAMDATA%\Android\sdk instead. This is because we get build errors if the SDK location contains non-ASCII characters.

Related packages

Contributing

Please report an issue if you encounter a problem, or open a pull request if you make a patch.