2 Notes
+ Errors (Dec. 20, 2015, 9:51 p.m.)

When using `phonegap` command, I got error (‘cannot find bplist-parser’), for solving it I did: sudo npm update -g ---------------------------------------------------------------------------------------------

+ Installation (Jan. 13, 2016, 1:57 p.m.) 1-sudo apt-get install nodejs npm git ant lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6 And then: sudo npm install -g phonegap cordova jquery-mobile sudo npm update -g 2-The NodeJS is installed & named as nodejs. PhoneGap expect the executable to be named node. To fix this inconsistency, create a symlink named node that points to nodejs as follows. sudo ln -s /usr/bin/nodejs /usr/bin/node 3-Type `phonegap` on the command line and check whether PhoneGap command is detected. (You might get error about `cannot find bplist-parser`; refer to errors for solving the error.) 4-Copy `android-sdk`: (you already have it when using `Kivy`): sudo cp -r ~/Programs/Android/Development/android-sdk-linux/ /usr/local/ 5-Edit the file `~/.bashrc` and paste these lines to the end of it: export PATH=$PATH:/home/mohsen/Programs/Android/Development/android-sdk-linux/ export PATH=$PATH:/home/mohsen/Programs/Android/Development/android-sdk-linux/tools export PATH=$PATH:/home/mohsen/Programs/Android/Development/android-sdk-linux/platform-tools export PATH=$PATH:/home/mohsen/Programs/Android/Development/android-sdk-linux/build-tools 6-source ~/.bashrc 7-android 8-