PhoneGap的总让我安装Android SDK 19,但我已经安装了它 [英] Phonegap always asks me to install android sdk 19 but i have already installed it

查看:132
本文介绍了PhoneGap的总让我安装Android SDK 19,但我已经安装了它的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是究竟是什么我做的:

This is what exactly i do :

$ phonegap create myapp
$ cd myapp
$ phonegap run android

但它失败。

我已经检查了一切。 我的环境是好的,安装了最新版本。 当我键入​​

I have checked everything. my environments are ok, installed the latest version. when i type

$ android

在我的CMD它表明我,已经安装在每个最新的更新,但不能使其工作:

on my CMD it shows me that every latest updates are already installed but can not make it work :

$ phonegap run android

返回:

                         ^
Error: Please install Android target 19 (the Android newest 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.
    at C:\Users\yeayea\.cordova\lib\android\cordova\3.3.0\bin\lib\check_reqs.js:
80:29

请帮否则我会挂喽! :(

please help otherwise i will hang myself! :(

推荐答案

我有同样的问题,我想我已经API 19安装,但我没有。

I had the same problem and I thought I had API 19 installed but I didn't.

在CMD输入机器人

向下滚动到Android 4.2.2(API 19)

Scroll down to Android 4.2.2 (API 19)

检查所有并进行安装。

即使你已经拥有20 API安装和所有其他软件包和工具,安装后,你需要这个。

Even if you already have API 20 installed and all the other packages and tools installed, you need this.

这篇关于PhoneGap的总让我安装Android SDK 19,但我已经安装了它的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆