Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to add android and ios platform in ionic cli 3.3.0

I update ionic and trying to add android and ios platform but i could not add it. it shows me following message in console.

js20@js20:~/Desktop/project$ ionic platform add android
The platform command has been renamed. To find out more, run:

ionic cordova platform --help

My ionic version

js20@js20:~/Desktop/project$ ionic -v
3.3.0
like image 932
Harish Mahajan Avatar asked Jun 02 '17 04:06

Harish Mahajan


People also ask

What is command to add android platform?

we can simply use following commands ionic cordova platform add android or ionic cordova platform add ios. to run ionic cordova run android --device ionic cordova run ios ionic cordova run ios --prod --release. to build ionic cordova build android ionic cordova build ios ionic cordova build ios --prod --release.


1 Answers

we can simply use following commands

ionic cordova platform add android
or
ionic cordova platform add ios

to run

ionic cordova run android --device
ionic cordova run ios
ionic cordova run ios --prod --release

to build

ionic cordova build android
ionic cordova build ios
ionic cordova build ios --prod --release
like image 139
Harish Mahajan Avatar answered Oct 17 '22 19:10

Harish Mahajan