我尝试安装的PhoneGap和我收到以下错误:
I try to install Phonegap and am getting the following error:
错误:ANDROID_HOME未设置和机器人。命令不在PATH必须满足这些条件中的至少一个
"Error: ANDROID_HOME is not set and "android" command not in your PATH. You must fulfill at least one of these conditions.".
我该怎么办,以保证机器人的设置是否正确与科尔多瓦用?
What do I do to ensure android is set up correctly for use with Cordova?
对于Windows:
设置ANDROID_HOME = C:\\ Android的SDK-窗口
set ANDROID_HOME=C:\\android-sdk-windows
设置PATH =%PATH%;%ANDROID_HOME%\工具;%ANDROID_HOME%\平台工具
set PATH=%PATH%;%ANDROID_HOME%\tools;%ANDROID_HOME%\platform-tools
此安装指南两者。