WordPress LMS Theme for Academy and Education Institutes › Forums › App Support › There is an error when I tried to add platform ios and Android.
Hi, when I tried to add platform ios and Android, there was an error come out, how to fix it?
$ ionic platform add ios
[ERROR] Unable to find command: platform add ios
This is not the right command for adding the platform:
For android: ionic Cordova platform add android
For ios: ionic Cordova platform add ios
After platform added, I run emulator, an error come out, please see following.
ionic cordova emulate android:
An error occurred while running subprocess cordova.
Here is my ionic info. I have installed Jdk8
Here is the jdk8: https://we.tl/t-AXC7Pgm1sR
install and then check this error will be resolved.