To downgrade cordova version first you have to do
This is done in MAC
Yellow background------->commands
1)view available versions
2)Unbuild the available cordova
eisvishnu:~ Ebiz$ sudo npm remove -g cordova
2)And finally Install Cordova
This is done in MAC
Yellow background------->commands
1)view available versions
eisvishnu:~ Ebiz$ npm view cordova versions
2)Unbuild the available cordova
eisvishnu:~ Ebiz$ sudo npm remove -g cordova
2)And finally Install Cordova
eisvishnu:~ Ebiz$ sudo npm install -g cordova@3.4.1-0.1.0
Start of the Phonegap:
install npm
https://nodejs.org/
install cordova
eisvishnu:~ Ebiz$ sudo npm install -g cordova@3.4.1-0.1.0
create app
eisvishnu:~ Ebiz$ cordova create "appname--->testapp " "id--> com.ebiz.testapp" TESTAPP
Go to App Path
eisvishnu:~ Ebiz$ cd "app name----->testapp"
Add Platform
eisvishnu:~ Ebiz$ cordova platform add android
eisvishnu:~ Ebiz$ cordova platform add ios
Build the App
eisvishnu:~ Ebiz$ cordova build android
eisvishnu:~ Ebiz$ cordova build ios
Now Add Plugins
https://cordova.apache.org/docs/en/4.0.0/guide_cli_index.md.html[While adding Please see the version]
And finally Build the app
eisvishnu:~ Ebiz$ cordova build android
eisvishnu:~ Ebiz$ cordova build ios
No comments:
Post a Comment