Installing PhoneGap/Cordova on Linux
Step 1
Install JDk
Open terminal and type following commands
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
Step 2
Download the appropriate Android SDK package from here. Extract the downloaded files.now open /etc/bash.bashrc file add the following linesexport ANDROID_HOME=/path/Android/Sdk
export PATH=$PATH:$ANDROID_HOME/binand install Android build tools
Step 3
Install Apache Ant by typing this command on terminalsudo apt-get install ant
Step 4
Install npm Package Manager sudo apt-get install npm
Step 5
Install PhoneGap and Cordovasudo npm install -g phonegap sudo npm install -g cordova
Step 6
create android virtual device from Android studio/Eclipse and Phonegap development environment is all set to start with PhoneGap

0 comments: