Build Android APK easily with Cordova CLI

4

Index

Stats

9,047 visits, 19,105 views

Tools

Translations

This tutorial hasn't been translated.

License

This tutorial is licensed under CC BY 4.0. Please refer to the license text if you wish to reuse, share or remix the content contained within this tutorial.

Published on 25 Nov, 2017. Last updated 19 Feb, 2019

Part 1: preliminaries operations to prepare your PC, all you need is patience!!

JAVA SEDK

Download and install JavaSEDK from here

version 9 only 64bit

or download and install

version 8 (both 32 and 64 bit)

Add a window system variable for Java executables files

we need to assign the java/bin path (where keytool.exe and jarsigner.exe files are located) to a new system variable, if you don't know how to do just follow this Quick Procedure

NODE.JS

Download and install node.js (this is the platform on which Cordova CLI work)

CORDOVA

press Win button and type cmd then press enter;

on command prompt window opened type npm install -g cordova then press enter.

Wait until finish..

When Cordova is succesfully installed, we have to take a coffee due to prepare install the huge Android Studio IDE.

NB install AndroidStudio IDE is not mandatory, but i hot suggest to install it, because even though it will take many time and will consume some GB of internet data, he install all sdk android, gradle, configures automatically paths and windows system variables for you, all things that doing manually at the end would be much more complicated..

So, go here and Download Android Studio IDE

when you finish, launch it and whis window popup, click on the bottom tab on "Configure -> SDK Manager"

i suggest you to select all Android versions from 4.0 (this cover pratically 100% of all android devices around the world!!), then agree and install it (i think this is the worst step of the tutorial, but it is fundamental, you still have a little more patience..)

After you have done all, i hot suggest to you to reboot your PC

  • 0 Comments

Want to leave a comment? Login or Register an account!