Steps to build an android hybrid application with node, npm, cordova are as follows

1. sudo apt-get install nodejs npm
2. npm -g install cordova ionic
// For Android
3. sudo add-apt-repository ppa:webupd8team/java
4. sudo apt-get update
5. sudo apt-get install java-common oracle-java8-installer
6. sudo apt install ubuntu-make
7. sudo umake android
8. nano ~/.bash_profile
export ANDROID_HOME=/Development/android-sdk/
export PATH=${PATH}:/Development/android-sdk/platform-tools:/Development/android-sdk/tools
Save the file
9. source ~/.bash_profile
10. Open android studio and install necessary SDK, accept the license.

Once these steps are completed, use cordova to build the app

Will be creating another post explaining those processes

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.