在构建应用程序的PhoneGap 3.0 CLI问题的android目标号码 [英] Phonegap 3.0 CLI issue android target number in build app
问题描述
我运行MAC PhoneGap的3.0 CLI使我的android的WebApp。结果
得到Android的目标18安装。
I am running MAC Phonegap 3.0 CLI to make my android webapp.
Got Android target 18 installed.
$ phonegap local build android
于是我得到了错误:
And so I got error :
[error] Please install Android target 17 (the Android 4.2 SDK). Make sure you have the latest Android tools installed as well. Run `android` from your command-line to install/update any missing SDKs or tools.
问结果
是否有一个参数告诉PhoneGap的使用目标18?结果
或者是太早的PhoneGap 3.0吗?
QUESTION
Is there a param to tell Phonegap to use target 18 ?
Or is it too soon for Phonegap 3.0 ?
下面是我的Android SDK管理器:
Here is my Android SDK Manager:
推荐答案
您可以创建一个project.properties来告诉PhoneGap的你想如下使用的Android版本:
You can create a project.properties to tells "phonegap" which version of android you would like to use as follow:
目标=机器人 -
您可以在这里多看看:
http://docs.phonegap.com/en/2.1.0 /guide_command-line_index.md.html
You can find out more here: http://docs.phonegap.com/en/2.1.0/guide_command-line_index.md.html
这篇关于在构建应用程序的PhoneGap 3.0 CLI问题的android目标号码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!