How to install android targets (SDKs)?

前端 未结 2 477
走了就别回头了
走了就别回头了 2021-02-08 12:36

I am new to cordova developments. Before I getting started with cordova i installed Android SDK from the command line. And JDK and Apache ant also already installed. According t

2条回答
  •  野性不改
    2021-02-08 12:55

    Try installing a target with sdkmanager on the command line.
    e.g.

    sdkmanager "platforms;android-26"
    

    and then trying cordova requirements again.
    Hopefully you should then get the message:

    Android target: installed android-26
    

提交回复
热议问题