科尔多瓦请安装Android的目标19 [英] Cordova Please Install Android target 19
问题描述
我使用的科尔多瓦-3.3.0,并试图创建一个项目为Android我收到此以下错误,当 -
I am using Cordova-3.3.0, and when trying to create a project for Android I am getting this following error -
错误:请安装Android的目标19(在Android最新的SDK)
Error: Please install Android target 19 (the Android newest SDK).
我随着Android的18和17,并安装了最新的Android即使我用科尔多瓦-3.2.0,我得到了相同的结果。
I have the latest android installed along with the Android 18 and 17. And even if I use Cordova-3.2.0 I get the same result
Android的目标18未找到
Android target 18 not found
请任何人都可以提出可能是什么问题?
Please can anyone suggest what might be the problem?
我使用的一起科尔多瓦如下 - 蚂蚁版本1.9.2 的Java 1.7.0_45
I am using the following along with cordova - ant version 1.9.2 java 1.7.0_45
推荐答案
你有没有正确设置的Android SDK工具在你的路径?
Have you correctly set android SDK tools in your Path ?
有关科尔多瓦命令行工具来工作,你需要包括在PATH环境SDK的工具和平台工具的目录。在Mac上,您可以用文本编辑器来创建或修改〜/ .bash_profile中的文件,添加一行如下面,具体情况取决于SDK安装:
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:
您必须安装SDK,包括工具和平台工具目录路径,之后您需要(在你的案件19)安装Android的正确版本。
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).
这篇关于科尔多瓦请安装Android的目标19的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!