Skip to main content

Posts

Showing posts with the label Android

Installing Cordova on Ubuntu 16.04 without Android Studio

Apache Cordova is a platform to build mobile applications using JavaScript, HTML5 and CSS. When I was trying to install cordova for creating an android application on my Ubuntu 16.04 I was facing lot of versioning and dependency problems. So in this post I will be discussing about all those issues and the solution that worked for me. All the steps are via command line and so no android studio . I don't want to install GB's of files to just use sdk. Steps: Install latest version of node and npm Install Cordova Install android SDK (Command line) Setting environment variables Creating android plaform Creating and running first app Installing latest version of nodejs By default ubuntu 16.04 has a stable version of nodejs added in its own repository. So to install latest version from Ubuntu itself you can simply use apt commad as follows. $ sudo apt update $ sudo apt install nodejs But when I was using this version (4.2.6 is the latest stable version available wh