首页 > 代码库 > "Error: ANDROID_HOME is not set and "android" command not in your PATH. You must fulfill at least one of these conditions.".

"Error: ANDROID_HOME is not set and "android" command not in your PATH. You must fulfill at least one of these conditions.".

设置环境变量

set ANDROID_HOME=C:\\android-sdk-windows

set PATH=%PATH%;%ANDROID_HOME%\tools;%ANDROID_HOME%\platform-tools

 

http://spring.io/guides/gs/android/

"Error: ANDROID_HOME is not set and "android" command not in your PATH. You must fulfill at least one of these conditions.".