Cordova Please Install Android target 19

前端 未结 7 1327
无人共我
无人共我 2020-12-21 00:48

I am using Cordova-3.3.0, and when trying to create a project for Android I am getting this following error -

Error: Please install Android target 19

7条回答
  •  失恋的感觉
    2020-12-21 01:13

    Have you correctly set android SDK tools in your Path ?

    For Cordova command-line tools to work, you need to include the SDK's tools and platform-tools directories in your PATH environment. On Mac, you can use a text editor to create or modify the ~/.bash_profile file, adding a line such as the following, depending on where the SDK installs:

    You have to install the SDK and include tools and platform-tools directories to your path, after you need to install correct versions of Android (19 in your case).

提交回复
热议问题