错误:ANDROID_HOME未设置,并且android命令不在您的路径中您必须至少满足以下条件之一 [英] 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命令不在您的路径中您必须至少满足以下条件之一的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我尝试安装Phonegap并收到以下错误:
错误:ANDROID_HOME未设置, 。
错误(截图)
>
解决方案
对于Windows:
设置ANDROID_HOME = C:\ 安装位置 \android-sdk
set PATH =%PATH%;%ANDROID_HOME%\tools;%ANDROID_HOME%\platform-tools
摘自此安装指南。
I try to install Phonegap and am getting the following error:
"Error: ANDROID_HOME is not set and "android" command not in your PATH. You must fulfill at least one of these conditions.".
Error (screenshot)
What do I do to ensure android is set up correctly for use with Cordova?
解决方案
For Windows:
set ANDROID_HOME=C:\ installation location \android-sdk
set PATH=%PATH%;%ANDROID_HOME%\tools;%ANDROID_HOME%\platform-tools
Taken from this installation guide.
这篇关于错误:ANDROID_HOME未设置,并且android命令不在您的路径中您必须至少满足以下条件之一的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文