In Windows

=> Download and Install Node JS from below link

=> Set environment variable at Control Panel -> System -> Advanced system settings -> Environment Variables

Add PathC:\Users\{YOUR USERNAME HERE}\AppData\Roaming\npm, append the following right after: ;C:\Program Files\nodejs

=> Open Command Prompt and check node install or not using below command

node –version

=> Then install cordova using below command

npm install -g cordova

=> Use below command for check version of cordova

cordova –version

=> Open project path in command prompt and add platform in project using below command

for android:

cordova platform add android

for ios:

cordova platform add ios

=> Now run in android studio using below step

Open Android Studio

Choose File -> New -> Import Project

Navigate to The CordovaProject’s Directory/platform

Select the Folder Android and Press Ok

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)