I have got stuck installing cordova. Have been following these steps in order to prepare the environment for converting a html+jqm app into android application. Please help me progress.
- Download and Install node.js
- Run the command npm install -g phonegap (in case of phonegap installation) or run the command npm install -g cordova (in case of Cordova installation).
- As the installation gets completed you can notice this:
pm\cordova -> C:\Users\username\AppData\Roaming\
Notice the above line you can see the path were the file is mentioned. Copy that path. In my case it is C:\Users\username\AppData\Roaming\
pm\cordova so use cd C:\Users\username\AppData\Roaming\
pm\ and type cordova. There it is.
Since the -g key value isn't working you have set the Environment Variables path:
Press Win + Pause|Break or right click on Computer and choose Properties.
Click Advanced system settings on the left.
Click Environment Variables under the Advanced tab.
Select the PATH variable and click Edit.
Copy the path mentioned above to the value field and press OK.
I have also installed phonegap, although it is not clear to me whether these two, ie. cordova and phonegap complement each other or replace.
npm install -g phonegap
What to do next?
This topic is now closed. New replies are no longer allowed.