WordPress LMS Theme for Academy and Education Institutes Forums App Support There is an error when I tried to add platform ios and Android.

There is an error when I tried to add platform ios and Android.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #58631

    ringoysl
    Participant

    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

    #58641

    Harry
    Keymaster

    Hello

    This is not the right command for adding the platform:

    For android: ionic Cordova platform add android
    For ios: ionic Cordova platform add ios

    #58645

    ringoysl
    Participant

    Thanks.
    After platform added, I run emulator, an error come out, please see following.
    ionic cordova emulate android:

    An error occurred while running  subprocess cordova.

    #58647

    ringoysl
    Participant

    Here is my ionic info. I have installed Jdk8

    #58753

    ringoysl
    Participant

    Fixed Issues.

    #58757

    Harry
    Keymaster

    Hello

    Here is the jdk8: https://we.tl/t-AXC7Pgm1sR

    install and then check this error will be resolved.

     

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.