android-js / androidjs-builder

Androidjs-builder is the official code generator for androidjs, it helps to generate and build fully featured android app in NodeJS.
MIT License
44 stars 21 forks source link
androidjs-builder nodejs typescript

Androidjs-builder


This is official builder for creating Androidjs apps. Builder provides required commands for creating Androidjs project and to build the project and generate Apk for android devices.

Prerequisites

A Java Development Kit (JDK) is required, for Ubuntu and Debian-based operating systems, do:

$ sudo apt install default-jdk -y

Installing from npm. androidjs-builder

$ npm install -g androidjs-builder

This command installs the builder in globelly and sets the required commands.

Creating Project.

$ androidjs init

This command is used for generating new project in the current directory. This command prompts for project-name and project-type. Currently it supports only the HTML type project.

Build project

$ androidjs build

This command is used to build project and generate Apk file. It can be used to build all type of projects supported by Androidjs.

Update required modules from github

$ androidjs update

Build from source

Download from github androidjs-builder

$ git clone https://github.com/android-js/androidjs-builder.git

Build source

$ cd androidjs-builder
$ npm install
$ npm run build

Install global command

$ npm install -g ./