错误:ANDROID_HOME 未设置且“android"未设置命令不在您的 PATH 中.您必须至少满足这些条件之一. [英] Error: ANDROID_HOME is not set and "android" command not in your PATH. You must fulfill at least one of these conditions.
本文介绍了错误:ANDROID_HOME 未设置且“android"未设置命令不在您的 PATH 中.您必须至少满足这些条件之一.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试安装 PhoneGap,但出现以下错误:
I'm trying to install PhoneGap and I'm getting the following error:
错误:ANDROID_HOME 未设置且android"未设置命令不在您的 PATH 中.您必须至少满足这些条件之一.
Error: ANDROID_HOME is not set and "android" command not in your PATH. You must fulfill at least one of these conditions.
错误(截图)
如何确保正确设置 Android 以与 Cordova 配合使用?
What do I do to ensure Android is set up correctly for use with Cordova?
推荐答案
对于 Windows:
For Windows:
set ANDROID_HOME=C: *installation location* android-sdk
set PATH=%PATH%;%ANDROID_HOME% ools;%ANDROID_HOME%platform-tools
取自这个安装指南.
这篇关于错误:ANDROID_HOME 未设置且“android"未设置命令不在您的 PATH 中.您必须至少满足这些条件之一.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文