Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fuse-open/android-build-tools

Android SDK installer for Uno and Fuse apps
https://github.com/fuse-open/android-build-tools

android fuse installer ndk npm sdk uno

Last synced: 27 days ago
JSON representation

Android SDK installer for Uno and Fuse apps

Awesome Lists containing this project

README

        

# Android build tools installer

[![AppVeyor build status](https://img.shields.io/appveyor/ci/mortend/android-build-tools/master.svg?logo=appveyor&logoColor=silver&style=flat-square)](https://ci.appveyor.com/project/mortend/android-build-tools/branch/master)
[![NPM package](https://img.shields.io/npm/v/android-build-tools.svg?style=flat-square)](https://www.npmjs.com/package/android-build-tools)
[![NPM downloads](https://img.shields.io/npm/dt/android-build-tools?color=blue&style=flat-square)](https://www.npmjs.com/package/android-build-tools)
[![License: MIT](https://img.shields.io/github/license/fuse-open/android-build-tools.svg?style=flat-square)](LICENSE)
![Supported platforms](https://img.shields.io/badge/os-Linux%20%7C%20macOS%20%7C%20Windows-7F5AB6?style=flat-square)

Android SDK installer for Uno and Fuse apps.

> Possibly useful in other scenarios where the Android SDK is needed as well.

> Visit [Fuse Open](https://fuseopen.com/) 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 17](https://adoptium.net/) is recommended for Android development.

* If you're using Fuse SDK v2.3 or lower, you should install `[email protected]`.

* If you're using Fuse SDK v1.12 or lower, you should install `[email protected]`.

### Changes since 1.x

* Requiring minimum [JDK 17](https://adoptium.net/) for Gradle 8.0 support.
* No longer installing a specific version of NDK. The right version will be installed when running Gradle.

### SDK location

The SDK is installed to one of the locations below.

| 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

* [fuse-sdk](https://www.npmjs.com/package/fuse-sdk)
* [uno](https://www.npmjs.com/package/@fuse-open/uno)

## Contributing

Please [report an issue](https://github.com/fuse-open/android-build-tools/issues) if you encounter a problem, or [open a pull request](https://github.com/fuse-open/android-build-tools/pulls) if you make a patch.